Appearance
adam_chase_common_object
ADAM, CHASE (CFD-HPC enabled-Adaptive mesh-Simulation code for-Euler equations) class definition, common CPU backend.
Source: src/app/chase/common/adam_chase_common_object.F90
Dependencies
Contents
Derived Types
chase_common_object
Maxwell equations system class definition, common data to all backends.
Inheritance
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
mpih | type(mpih_object) | MPI handler. | |
adam | type(adam_object) | ADAM. | |
field | type(field_object) | pointer | The field. |
grid | type(grid_object) | pointer | The grid. |
amr | type(amr_object) | AMR marker handler. | |
ib | type(ib_object) | Immersed Boundary (IB) handler. | |
slices | type(slices_object) | Slices handler. | |
rk | type(rk_object) | RK integrator. | |
weno | type(weno_object) | WENO reconstructor. | |
io | type(chase_io_object) | IO handler. | |
physics | type(chase_physics_object) | Fluids physiscs handler. | |
ic | type(chase_ic_object) | Initial Conditions (IC) handler. | |
bc | type(chase_bc_object) | Boundary Conditions (BC) handler. | |
time | type(chase_time_object) | Time handler. | |
ngc | integer(kind=I4P) | pointer | Number of ghost cells. |
ni | integer(kind=I4P) | pointer | Number of cells in i direction. |
nj | integer(kind=I4P) | pointer | Number of cells in j direction. |
nk | integer(kind=I4P) | pointer | Number of cells in k direction. |
nb | integer(kind=I4P) | pointer | Total blocks number for MPI. |
blocks_number | integer(kind=I4P) | pointer | Actual blocks number. |
nv | integer(kind=I4P) | pointer | Number of conservative/primitive variables. |
nv_aux | integer(kind=I4P) | pointer | Number of auxiliary variables. |
q | real(kind=R8P) | allocatable | Cell centered variables. |
q_aux | real(kind=R8P) | allocatable | Auxiliary cell centered variables. |
q_name | character(len=2) | allocatable | Conservative fields names (r,ru,rv,rw,rE). |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
allocate_common | pass(self) | Allocate common data. |
initialize_common | pass(self) | Initialize the equation common data. |
Subroutines
allocate_common
Allocate common data.
fortran
subroutine allocate_common(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(chase_common_object) | inout | The equation. |
Call graph
initialize_common
Initialize the equation common data.
fortran
subroutine initialize_common(self, field, filename, memory_avail, do_mpi_init, verbose)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(chase_common_object) | inout | target | The equation. |
field | type(field_object) | inout | The field. | |
filename | character(len=*) | in | Input file name. | |
memory_avail | real(kind=R8P) | in | value | Memory available for single MPI process. |
do_mpi_init | logical | in | optional | Flag to activate MPI init call. |
verbose | logical | in | optional | Trigger verbose output. |
Call graph