Appearance
adam_patch_common_object
ADAM, PATCH Poisson solver with Adpative mesh Refinement for HPC computing class definition, CPU backend.
Source: src/app/patch/common/adam_patch_common_object.F90
Dependencies
Contents
Derived Types
patch_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. | |
flail | type(flail_object) | Linear algebra methods handler. | |
io | type(patch_io_object) | IO handler. | |
ic | type(patch_ic_object) | Initial Conditions (IC) handler. | |
bc | type(patch_bc_object) | Boundary Conditions (BC) handler. | |
time | type(patch_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. |
q | real(kind=R8P) | allocatable | Potential field cell centered variable. |
r | real(kind=R8P) | allocatable | Rho function. |
q_name | character(len=3) | Potential field name. |
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(patch_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(patch_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