MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Data Types | Functions/Subroutines
mod_init_datafromfile Module Reference

Module to set (or derive) initial conditions from user data We read in a vtk file that provides values on grid. More...

Functions/Subroutines

subroutine, public read_data_init ()
 
elemental double precision function, public read_data_get_3d (ivar, x1, x2, x3)
 
elemental double precision function, public read_data_get_2d (ivar, x1, x2)
 
elemental double precision function, public read_data_get_1d (ivar, x1)
 
subroutine, public read_data_set (ixIL, ixOL, x, val, nval)
 Set values according to user data. More...
 
subroutine read_vtk_structured_points (fname, bc)
 

Detailed Description

Module to set (or derive) initial conditions from user data We read in a vtk file that provides values on grid.

Function/Subroutine Documentation

◆ read_data_get_1d()

elemental double precision function, public mod_init_datafromfile::read_data_get_1d ( integer, intent(in)  ivar,
double precision, intent(in)  x1 
)

Definition at line 83 of file mod_init_datafromfile.t.

Here is the call graph for this function:

◆ read_data_get_2d()

elemental double precision function, public mod_init_datafromfile::read_data_get_2d ( integer, intent(in)  ivar,
double precision, intent(in)  x1,
double precision, intent(in)  x2 
)

Definition at line 75 of file mod_init_datafromfile.t.

Here is the call graph for this function:

◆ read_data_get_3d()

elemental double precision function, public mod_init_datafromfile::read_data_get_3d ( integer, intent(in)  ivar,
double precision, intent(in)  x1,
double precision, intent(in)  x2,
double precision, intent(in)  x3 
)

Definition at line 67 of file mod_init_datafromfile.t.

Here is the call graph for this function:

◆ read_data_init()

subroutine, public mod_init_datafromfile::read_data_init

Definition at line 32 of file mod_init_datafromfile.t.

Here is the call graph for this function:

◆ read_data_set()

subroutine, public mod_init_datafromfile::read_data_set ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
double precision, dimension(ixi^s,1:nval), intent(out)  val,
integer, intent(in)  nval 
)

Set values according to user data.

Definition at line 92 of file mod_init_datafromfile.t.

Here is the call graph for this function:

◆ read_vtk_structured_points()

subroutine mod_init_datafromfile::read_vtk_structured_points ( character(len=*), intent(in)  fname,
type(read_data_values), intent(out)  bc 
)

Definition at line 121 of file mod_init_datafromfile.t.