MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_slice Module Reference

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

Functions/Subroutines

subroutine write_slice
subroutine put_slice (dir, xslice)
subroutine select_slice (dir, xslice, writeonly, file_handle, normconv)
subroutine fill_subnode (igrid, active, jgrid, dir, xslice, normconv)
subroutine alloc_subnode (jgrid, dir, nwexpand)
subroutine dealloc_subnode (jgrid)
subroutine fill_subnode_info (igrid, jgrid, dir)
subroutine get_igslice (dir, x, igslice)
double precision function roundoff_minmax (val, minval, maxval)
recursive subroutine quicksort_integer (arr, left, right)
character(len=13) function slice_label (xslice)
 Signed slice coordinate for the file names, such as +0.500000D+00.

Variables

double precision, dimension(1000) slicecoord
 Slice coordinates, see Slice output.
integer, parameter nslicemax =1000
 Maximum number of slices.
integer nslices
 Number of slices to output.
integer, dimension(nslicemax) slicedir
 The slice direction for each slice.
character(len=std_len) slice_type
 choose data type of slice: vtu, vtuCC, dat, or csv
integer, dimension(:,:), allocatable sfc_sub
 igrid and ipe of the leaf blocks on the slice, with the first (1,1:2) stores the nleafs and nparents

Detailed Description

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

Function/Subroutine Documentation

◆ alloc_subnode()

subroutine mod_slice::alloc_subnode ( integer, intent(in) jgrid,
integer, intent(in) dir,
integer, intent(in) nwexpand )

Definition at line 1164 of file mod_slice.t.

◆ dealloc_subnode()

subroutine mod_slice::dealloc_subnode ( integer, intent(in) jgrid)

Definition at line 1212 of file mod_slice.t.

◆ fill_subnode()

subroutine mod_slice::fill_subnode ( integer, intent(in) igrid,
logical, intent(in) active,
integer, intent(inout) jgrid,
integer, intent(in) dir,
double precision, intent(in) xslice,
double precision, dimension(0:nw+nwauxio), intent(out) normconv )

Definition at line 1026 of file mod_slice.t.

Here is the call graph for this function:

◆ fill_subnode_info()

subroutine mod_slice::fill_subnode_info ( integer, intent(in) igrid,
integer, intent(in) jgrid,
integer, intent(in) dir )

Definition at line 1228 of file mod_slice.t.

◆ get_igslice()

subroutine mod_slice::get_igslice ( integer, intent(in) dir,
double precision, intent(in) x,
integer, dimension(nlevelshi), intent(out) igslice )

Definition at line 1279 of file mod_slice.t.

◆ put_slice()

subroutine mod_slice::put_slice ( integer, intent(in) dir,
double precision, intent(in) xslice )

Definition at line 44 of file mod_slice.t.

Here is the call graph for this function:

◆ quicksort_integer()

recursive subroutine mod_slice::quicksort_integer ( integer, dimension(:), intent(inout) arr,
integer, intent(in) left,
integer, intent(in) right )

Definition at line 1420 of file mod_slice.t.

Here is the call graph for this function:

◆ roundoff_minmax()

double precision function mod_slice::roundoff_minmax ( double precision, intent(in) val,
double precision, intent(in) minval,
double precision, intent(in) maxval )

Definition at line 1399 of file mod_slice.t.

Here is the call graph for this function:

◆ select_slice()

subroutine mod_slice::select_slice ( integer, intent(in) dir,
double precision, intent(in) xslice,
logical, intent(in) writeonly,
integer, intent(in) file_handle,
double precision, dimension(0:nw+nwauxio), intent(out) normconv )

Definition at line 853 of file mod_slice.t.

Here is the call graph for this function:

◆ slice_label()

character(len=13) function mod_slice::slice_label ( double precision, intent(in) xslice)

Signed slice coordinate for the file names, such as +0.500000D+00.

Definition at line 1462 of file mod_slice.t.

Here is the call graph for this function:

◆ write_slice()

subroutine mod_slice::write_slice

Definition at line 30 of file mod_slice.t.

Here is the call graph for this function:

Variable Documentation

◆ nslicemax

integer, parameter mod_slice::nslicemax =1000

Maximum number of slices.

Definition at line 11 of file mod_slice.t.

◆ nslices

integer mod_slice::nslices

Number of slices to output.

Definition at line 14 of file mod_slice.t.

◆ sfc_sub

integer, dimension(:,:), allocatable mod_slice::sfc_sub

igrid and ipe of the leaf blocks on the slice, with the first (1,1:2) stores the nleafs and nparents

Definition at line 26 of file mod_slice.t.

◆ slice_type

character(len=std_len) mod_slice::slice_type

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

Definition at line 23 of file mod_slice.t.

◆ slicecoord

double precision, dimension(1000) mod_slice::slicecoord

Slice coordinates, see Slice output.

Definition at line 8 of file mod_slice.t.

◆ slicedir

integer, dimension(nslicemax) mod_slice::slicedir

The slice direction for each slice.

Definition at line 17 of file mod_slice.t.