Skip to content

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

NameTypeAttributesDescription
mpihtype(mpih_object)MPI handler.
adamtype(adam_object)ADAM.
fieldtype(field_object)pointerThe field.
gridtype(grid_object)pointerThe grid.
amrtype(amr_object)AMR marker handler.
ibtype(ib_object)Immersed Boundary (IB) handler.
flailtype(flail_object)Linear algebra methods handler.
iotype(patch_io_object)IO handler.
ictype(patch_ic_object)Initial Conditions (IC) handler.
bctype(patch_bc_object)Boundary Conditions (BC) handler.
timetype(patch_time_object)Time handler.
ngcinteger(kind=I4P)pointerNumber of ghost cells.
niinteger(kind=I4P)pointerNumber of cells in i direction.
njinteger(kind=I4P)pointerNumber of cells in j direction.
nkinteger(kind=I4P)pointerNumber of cells in k direction.
nbinteger(kind=I4P)pointerTotal blocks number for MPI.
blocks_numberinteger(kind=I4P)pointerActual blocks number.
nvinteger(kind=I4P)pointerNumber of conservative/primitive variables.
qreal(kind=R8P)allocatablePotential field cell centered variable.
rreal(kind=R8P)allocatableRho function.
q_namecharacter(len=3)Potential field name.

Type-Bound Procedures

NameAttributesDescription
allocate_commonpass(self)Allocate common data.
initialize_commonpass(self)Initialize the equation common data.

Subroutines

allocate_common

Allocate common data.

fortran
subroutine allocate_common(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(patch_common_object)inoutThe equation.

Call graph

initialize_common

Initialize the equation common data.

fortran
subroutine initialize_common(self, field, filename, memory_avail, do_mpi_init, verbose)

Arguments

NameTypeIntentAttributesDescription
selfclass(patch_common_object)inouttargetThe equation.
fieldtype(field_object)inoutThe field.
filenamecharacter(len=*)inInput file name.
memory_availreal(kind=R8P)invalueMemory available for single MPI process.
do_mpi_initlogicalinoptionalFlag to activate MPI init call.
verboselogicalinoptionalTrigger verbose output.

Call graph