Storage Module



Variables

Type Visibility Attributes Name Initial
integer, public :: NVARS
integer, public :: NGRADVARS
logical, public :: hasMPIranks
logical, public :: hasBoundaries
logical, public :: isOldStats
logical, public :: hasExtraGradients = .false.
logical, public :: hasUt_NS = .false.
logical, public :: hasMu_NS = .false.
logical, public :: hasWallY = .false.
logical, public :: hasMu_sgs = .false.
character(len=LINE_LENGTH), public :: boundaryFileName
character(len=LINE_LENGTH), public :: partitionFileName
character(len=LINE_LENGTH), public :: flowEq
integer, public, parameter :: NSTAT = 9

Derived Types

type, public ::  Element_t

Components

Type Visibility Attributes Name Initial
integer, public :: eID
integer, public :: Nmesh(NDIM)
integer, public :: mpi_rank = 0
real(kind=RP), public, pointer :: x(:,:,:,:)
integer, public :: Nsol(NDIM)
real(kind=RP), public, pointer :: Q(:,:,:,:)
real(kind=RP), public, pointer :: QDot(:,:,:,:)
real(kind=RP), public, pointer :: U_x(:,:,:,:)
real(kind=RP), public, pointer :: U_y(:,:,:,:)
real(kind=RP), public, pointer :: U_z(:,:,:,:)
real(kind=RP), public, pointer :: Q_x(:,:,:,:)
real(kind=RP), public, pointer :: Q_y(:,:,:,:)
real(kind=RP), public, pointer :: Q_z(:,:,:,:)
real(kind=RP), public, pointer :: mu_NS(:,:,:,:)
real(kind=RP), public, pointer :: ut_NS(:,:,:,:)
real(kind=RP), public, pointer :: wallY(:,:,:,:)
real(kind=RP), public, pointer :: mu_sgs(:,:,:,:)
real(kind=RP), public, pointer :: stats(:,:,:,:)
real(kind=RP), public :: sensor
integer, public :: Nout(NDIM)
real(kind=RP), public, pointer :: xOut(:,:,:,:)
real(kind=RP), public, pointer :: Qout(:,:,:,:)
real(kind=RP), public, pointer :: QDot_out(:,:,:,:)
real(kind=RP), public, pointer :: U_xout(:,:,:,:)
real(kind=RP), public, pointer :: U_yout(:,:,:,:)
real(kind=RP), public, pointer :: U_zout(:,:,:,:)
real(kind=RP), public, pointer :: mu_NSout(:,:,:,:)
real(kind=RP), public, pointer :: ut_NSout(:,:,:,:)
real(kind=RP), public, pointer :: wallYout(:,:,:,:)
real(kind=RP), public, pointer :: mu_sgsout(:,:,:,:)
real(kind=RP), public, pointer :: statsout(:,:,:,:)
real(kind=RP), public, allocatable :: outputVars(:,:,:,:)

type, public ::  Boundary_t

Components

Type Visibility Attributes Name Initial
character(len=LINE_LENGTH), public :: Name
integer, public :: no_of_faces
integer, public, allocatable :: elements(:)
integer, public, allocatable :: elementSides(:)
logical, public, allocatable :: cornerDomain(:)
logical, public, allocatable :: edgeDomain(:)

type, public ::  Mesh_t

Components

Type Visibility Attributes Name Initial
integer, public :: no_of_elements
integer, public :: nodeType
real(kind=RP), public :: time
type(Element_t), public, allocatable :: elements(:)
type(Boundary_t), public, allocatable :: boundaries(:)
character(len=LINE_LENGTH), public :: meshName
character(len=LINE_LENGTH), public :: solutionName
real(kind=RP), public :: refs(NO_OF_SAVED_REFS)
logical, public :: hasGradients
logical, public :: hasSensor
logical, public :: isSurface
logical, public :: hasTimeDeriv
logical, public :: isStatistics
logical, public :: is2D

Type-Bound Procedures

procedure, public :: ReadMesh => Mesh_ReadMesh
procedure, public :: ReadSolution => Mesh_ReadSolution