constructor Submodule

Implementation of the constructor and destructor of TYPE bssn

FT 23.10.2020

Updated to support mesh refinement

FT 26.03.2021



Uses

  • module~~constructor~~UsesGraph module~constructor constructor module~bssn_formulation bssn_formulation module~constructor->module~bssn_formulation mesh_refinement mesh_refinement module~bssn_formulation->mesh_refinement module~id_base id_base module~bssn_formulation->module~id_base module~sph_particles sph_particles module~bssn_formulation->module~sph_particles module~standard_tpo_formulation standard_tpo_formulation module~bssn_formulation->module~standard_tpo_formulation module~utility utility module~bssn_formulation->module~utility timing timing module~bssn_formulation->timing module~id_base->module~utility module~id_base->timing module~sph_particles->module~id_base module~sph_particles->module~utility module~sph_particles->timing module~standard_tpo_formulation->mesh_refinement module~standard_tpo_formulation->module~id_base module~standard_tpo_formulation->module~sph_particles module~standard_tpo_formulation->module~utility module~standard_tpo_formulation->timing constants constants module~utility->constants matrix matrix module~utility->matrix

Contents


Module Procedures

module procedure construct_bssn module function construct_bssn(id, dx, dy, dz) result(bssnid)

This constructor of TYPE bssn calls the SUBROUTINES that rely on an idbase object, and allocates memory. It constructs the grid using the number of grid points along each axis.

Read more…

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(inout) :: id

idbase object to use to construct the bssn object

double precision, optional :: dx

Mesh spacings

Read more…
double precision, optional :: dy

Mesh spacings

Read more…
double precision, optional :: dz

Mesh spacings

Read more…

Return Value type(bssn)

bssn object to be constructed

module procedure destruct_bssn module subroutine destruct_bssn(this)

Procedure used in the destructor of the EXTENDED TYPE bssn

Read more…

Arguments

Type IntentOptional Attributes Name
class(bssn), intent(inout) :: this

bssn object to which this PROCEDURE is bound

module procedure destructor module subroutine destructor(this)

Destructor of EXTENDED TYPE bssn

Read more…

Arguments

Type IntentOptional Attributes Name
type(bssn), intent(inout) :: this

bssn object to which this PROCEDURE is bound, to be destructed