MPI-AMRVAC 3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
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 ()
 
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.
 

Variables

type(lt_t), dimension(max_boundary_conds) lt_1d
 
type(lt3_t), dimension(max_boundary_conds), public lt_3d
 
logical, public, protected bc_data_time_varying = .false.
 Whether boundary condition data is time varying.
 
integer, dimension(:, :), allocatable, public, protected bc_data_ix
 Integer array for indexing lookup tables per variable per direction.
 
character(len=std_len), public, protected boundary_data_file_name
 data file name
 
logical, public, protected interp_phy_first_row =.true.
 
logical, public, protected interp_phy_first_row_same =.false.
 
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 132 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 120 of file mod_bc_data.t.

◆ bc_data_init()

subroutine, public mod_bc_data::bc_data_init

Definition at line 45 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 145 of file mod_bc_data.t.

Here is the call graph for this function:

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 29 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 35 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 32 of file mod_bc_data.t.

◆ boundary_data_primitive

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

Definition at line 36 of file mod_bc_data.t.

◆ interp_phy_first_row

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

Definition at line 33 of file mod_bc_data.t.

◆ interp_phy_first_row_same

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

Definition at line 34 of file mod_bc_data.t.

◆ lt_1d

type(lt_t), dimension(max_boundary_conds) mod_bc_data::lt_1d

Definition at line 20 of file mod_bc_data.t.

◆ lt_3d

type(lt3_t), dimension(max_boundary_conds), public mod_bc_data::lt_3d

Definition at line 22 of file mod_bc_data.t.