51 procedure(calculatestates),
DEFERRED :: calculatestates
58 PURE SUBROUTINE calculatestates(this,Mesh,Physics,rvar,rstates)
70 CLASS(reconstruction_base),
INTENT(INOUT) :: this
95 CLASS(reconstruction_base),
INTENT(INOUT) :: this
96 CLASS(mesh_base),
INTENT(IN) :: Mesh
97 CLASS(physics_base),
INTENT(IN) :: Physics
98 TYPE(Dict_TYP),
POINTER :: config,IO
100 CHARACTER(LEN=32) :: rname
103 CHARACTER(LEN=32) :: infostr
106 INTENT(IN) :: config,rtype,rname
108 CALL this%InitLogging(rtype,rname)
111 IF (.NOT.mesh%Initialized().OR..NOT.physics%Initialized()) &
112 CALL this%Error(
"InitFluxes",
"mesh and/or physics module uninitialized")
115 CALL getattr(config,
"order", order,
linear)
117 CALL getattr(config,
"variables", variables, conservative)
118 SELECT CASE(variables)
120 this%primcons = .true.
122 this%primcons = .false.
126 CALL this%Info(
" RECONSTR-> order: " // trim(this%GetName()))
128 WRITE (infostr,
'(A)')
"primitive" 130 WRITE (infostr,
'(A)')
"conservative" 132 CALL this%Info(
" variables: " // trim(infostr))
150 CLASS(reconstruction_base),
INTENT(INOUT) :: this
152 IF (.NOT.this%Initialized()) &
153 CALL this%Error(
"CloseReconstruction",
"not initialized")
subroutine initreconstruction(this, Mesh, Physics, config, IO, rtype, rname)
Constructor of base reconstruction module.
subroutine finalize(this)
Destructor of common class.
subroutine finalize_base(this)
integer, parameter, public linear
type(logging_base), save this
derived class for compound of mesh arrays
base module for reconstruction process
integer, parameter, public constant
pure logical function primrecon(this)
named integer constants for flavour of state vectors
Dictionary for generic data types.