Module to set boundary conditions from user data
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | protected, | allocatable | :: | bc_data_ix(:,:) |
Integer array for indexing lookup tables per variable per direction |
||
| logical, | protected | :: | bc_data_time_varying | = | .false. |
Whether boundary condition data is time varying |
|
| logical, | protected | :: | bc_phy_first_row | = | .false. | ||
| character(len=std_len), | protected | :: | boundary_data_file_name |
data file name |
|||
| logical, | protected | :: | boundary_data_primitive | = | .false. | ||
| logical, | protected | :: | interp_phy_first_row | = | .true. | ||
| type(LT_t), | private | :: | lt_1d(max_boundary_conds) | ||||
| type(LT2_t), | private | :: | lt_2d(max_boundary_conds) | ||||
| type(LT3_t), | private | :: | lt_3d(max_boundary_conds) | ||||
| integer, | private, | parameter | :: | max_boundary_conds | = | 10 |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| double precision, | public | :: | dx(3) | ||||
| integer, | public | :: | n_points(3) | ||||
| integer, | public | :: | n_variables | ||||
| character(len=40), | public, | allocatable | :: | names(:) | |||
| double precision, | public | :: | origin(3) | ||||
| double precision, | public, | allocatable | :: | values(:,:,:,:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_bc | |||
| double precision, | intent(in) | :: | x1 | |||
| double precision, | intent(in) | :: | qt |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_bc | |||
| double precision, | intent(in) | :: | x1 | |||
| double precision, | intent(in) | :: | x2 | |||
| double precision, | intent(in) | :: | qt |
Set boundary conditions according to user data
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| double precision, | intent(in) | :: | qt | |||
| integer, | intent(in) | :: | ixImin1 | |||
| integer, | intent(in) | :: | ixImin2 | |||
| integer, | intent(in) | :: | ixImin3 | |||
| integer, | intent(in) | :: | ixImax1 | |||
| integer, | intent(in) | :: | ixImax2 | |||
| integer, | intent(in) | :: | ixImax3 | |||
| integer, | intent(in) | :: | ixOmin1 | |||
| integer, | intent(in) | :: | ixOmin2 | |||
| integer, | intent(in) | :: | ixOmin3 | |||
| integer, | intent(in) | :: | ixOmax1 | |||
| integer, | intent(in) | :: | ixOmax2 | |||
| integer, | intent(in) | :: | ixOmax3 | |||
| integer, | intent(in) | :: | iB | |||
| double precision, | intent(inout) | :: | w(ixImin1:ixImax1,ixImin2:ixImax2,ixImin3:ixImax3,1:nw) | |||
| double precision, | intent(in) | :: | x(ixImin1:ixImax1,ixImin2:ixImax2,ixImin3:ixImax3,1:ndim) |
Read this module"s parameters from a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | files(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | fname | |||
| type(bc_data_t), | intent(out) | :: | bc |