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

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. 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 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:

◆ 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 104 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 666 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 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_3d

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

Definition at line 22 of file mod_bc_data.t.