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

Module to set boundary conditions from user data. More...

Functions/Subroutines

subroutine, public bc_data_init ()
 
subroutine bc_read_params (files)
 Read this module"s parameters from a file. More...
 
elemental double precision function, public bc_data_get_3d (n_bc, x1, x2, qt)
 
elemental double precision function, public bc_data_get_2d (n_bc, x1, qt)
 
subroutine, public bc_data_set (qt, ixIL, ixOL, iB, w, x)
 Set boundary conditions according to user data. More...
 
subroutine read_vtk_structured_points (fname, bc)
 

Variables

logical, public, protected bc_data_time_varying = .false.
 Whether boundary condition data is time varying. More...
 
integer, dimension(:, :), allocatable, public, protected bc_data_ix
 Integer array for indexing lookup tables per variable per direction. More...
 
character(len=std_len), public, protected boundary_data_file_name
 data file name More...
 
logical, public, protected interp_phy_first_row =.true.
 
logical, public, protected bc_phy_first_row =.false.
 
logical, public, protected boundary_data_primitive =.false.
 

Detailed Description

Module to set boundary conditions from user data.

Function/Subroutine Documentation

◆ bc_data_get_2d()

elemental double precision function, public mod_bc_data::bc_data_get_2d ( integer, intent(in)  n_bc,
double precision, intent(in)  x1,
double precision, intent(in)  qt 
)

Definition at line 130 of file mod_bc_data.t.

◆ bc_data_get_3d()

elemental double precision function, public mod_bc_data::bc_data_get_3d ( integer, intent(in)  n_bc,
double precision, intent(in)  x1,
double precision, intent(in)  x2,
double precision, intent(in)  qt 
)

Definition at line 118 of file mod_bc_data.t.

◆ bc_data_init()

subroutine, public mod_bc_data::bc_data_init

Definition at line 43 of file mod_bc_data.t.

Here is the call graph for this function:

◆ bc_data_set()

subroutine, public mod_bc_data::bc_data_set ( double precision, intent(in)  qt,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  iB,
double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x 
)

Set boundary conditions according to user data.

Definition at line 143 of file mod_bc_data.t.

Here is the call graph for this function:

◆ bc_read_params()

subroutine mod_bc_data::bc_read_params ( character(len=*), dimension(:), intent(in)  files)

Read this module"s parameters from a file.

Definition at line 102 of file mod_bc_data.t.

◆ read_vtk_structured_points()

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

Definition at line 479 of file mod_bc_data.t.

Variable Documentation

◆ bc_data_ix

integer, dimension(:, :), allocatable, public, protected mod_bc_data::bc_data_ix

Integer array for indexing lookup tables per variable per direction.

Definition at line 28 of file mod_bc_data.t.

◆ bc_data_time_varying

logical, public, protected mod_bc_data::bc_data_time_varying = .false.

Whether boundary condition data is time varying.

Definition at line 25 of file mod_bc_data.t.

◆ bc_phy_first_row

logical, public, protected mod_bc_data::bc_phy_first_row =.false.

Definition at line 33 of file mod_bc_data.t.

◆ boundary_data_file_name

character(len=std_len), public, protected mod_bc_data::boundary_data_file_name

data file name

Definition at line 31 of file mod_bc_data.t.

◆ boundary_data_primitive

logical, public, protected mod_bc_data::boundary_data_primitive =.false.

Definition at line 34 of file mod_bc_data.t.

◆ interp_phy_first_row

logical, public, protected mod_bc_data::interp_phy_first_row =.true.

Definition at line 32 of file mod_bc_data.t.