mod_slice Module

Writes D-1 slice, can do so in various formats, depending on slice_type


Uses

  • module~~mod_slice~~UsesGraph module~mod_slice mod_slice module~mod_basic_types mod_basic_types module~mod_slice->module~mod_basic_types module~mod_comm_lib mod_comm_lib module~mod_slice->module~mod_comm_lib module~mod_mpi_wrapper mod_mpi_wrapper module~mod_slice->module~mod_mpi_wrapper mpi mpi module~mod_mpi_wrapper->mpi

Used by

  • module~~mod_slice~~UsedByGraph module~mod_slice mod_slice proc~find_particle_ipe find_particle_ipe proc~find_particle_ipe->module~mod_slice proc~put_collapse put_collapse proc~put_collapse->module~mod_slice proc~read_par_files read_par_files proc~read_par_files->module~mod_slice proc~saveamrfile saveamrfile proc~saveamrfile->module~mod_slice

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: nslicemax = 1000

Maximum number of slices

integer, public :: nslices

Number of slices to output

integer, public, allocatable :: sfc_sub(:,:)

igrid and ipe of blocks on the slice. Row 0 stores leaf/parent counts.

character(len=std_len), public :: slice_type

choose data type of slice: vtu, vtuCC, dat, or csv

double precision, public :: slicecoord(nslicemax)

Slice coordinates, see @ref slices.md

integer, public :: slicedir(nslicemax)

The slice direction for each slice

integer, private :: itag

tag for MPI message


Functions

public function roundoff_minmax(val, minval, maxval)

Arguments

Type IntentOptional Attributes Name
double precision, intent(in) :: val
double precision, intent(in) :: minval
double precision, intent(in) :: maxval

Return Value doubleprecision


Subroutines

public subroutine alloc_subnode(jgrid, dir, nwexpand)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: jgrid
integer, intent(in) :: dir
integer, intent(in) :: nwexpand

public subroutine dealloc_subnode(jgrid)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: jgrid

public subroutine fill_subnode(igrid, active, jgrid, dir, xslice, normconv)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid
logical, intent(in) :: active
integer, intent(inout) :: jgrid
integer, intent(in) :: dir
double precision, intent(in) :: xslice
double precision, intent(out), dimension(0:nw+nwauxio) :: normconv

public subroutine fill_subnode_info(igrid, jgrid, dir)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid
integer, intent(in) :: jgrid
integer, intent(in) :: dir

public subroutine get_igslice(dir, xphys, igslice)

Block indices, per level, of the blocks a slice passes through.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dir
double precision, intent(in) :: xphys

slice position, a physical coordinate

integer, intent(out), dimension(nlevelshi) :: igslice

public subroutine put_slice(dir, xslice)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dir
double precision, intent(in) :: xslice

public recursive subroutine quicksort_integer(arr, left, right)

Arguments

Type IntentOptional Attributes Name
integer, intent(inout) :: arr(:)
integer, intent(in) :: left
integer, intent(in) :: right

public subroutine select_slice(dir, xslice, writeonly, file_handle, normconv)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dir
double precision, intent(in) :: xslice
logical, intent(in) :: writeonly
integer, intent(in) :: file_handle
double precision, intent(out), dimension(0:nw+nwauxio) :: normconv

public subroutine write_slice()

Arguments

None