MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines | Variables
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)
 

Variables

integer, parameter nslicemax =1000
 Maximum number of slices. More...
 
double precision, dimension(nslicemaxslicecoord
 Slice coordinates, see Slice output. More...
 
integer slicenext
 the file number of slices More...
 
integer nslices
 Number of slices to output. More...
 
integer, dimension(nslicemaxslicedir
 The slice direction for each slice. More...
 
character(len=std_len) slice_type
 choose data type of slice: vtu, vtuCC, dat, or csv More...
 

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 993 of file mod_slice.t.

◆ dealloc_subnode()

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

Definition at line 1041 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 855 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 1057 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 1108 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:

◆ 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 1228 of file mod_slice.t.

◆ 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 693 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 8 of file mod_slice.t.

◆ nslices

integer mod_slice::nslices

Number of slices to output.

Definition at line 17 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(nslicemax) mod_slice::slicecoord

Slice coordinates, see Slice output.

Definition at line 11 of file mod_slice.t.

◆ slicedir

integer, dimension(nslicemax) mod_slice::slicedir

The slice direction for each slice.

Definition at line 20 of file mod_slice.t.

◆ slicenext

integer mod_slice::slicenext

the file number of slices

Definition at line 14 of file mod_slice.t.