mus_source_elems_type Derived Type

type, private :: mus_source_elems_type

Contains source elements position in state array and idx to access data variable refered in config file. This type is defined for each level


Components

Type Visibility Attributes Name Initial
integer, public :: nElems

Number of source elements on this level. nFluids + nGhosts

integer, public, allocatable :: posInTotal(:)

Position of elements in state array to apply source terms. Position in state array is same as position in total list Size: nElems

integer, public, allocatable :: idx(:)

Index to access point data type to retrieve values from variable refered for source variable

type(mus_absorbLayer_dynAvg_type), public :: dynAvg

source field value obtained from ST_fun data variable. Filled only for elements where source is active i.e. elements in posInTotal. size: nElems*nComponents \todo KM: might be not neccessary Contains time average values of density and velocity for dynamic absorblayer. \todo KM: 02042021 Introduce method_data c_ptr and point to dynAvg for absorbLayer and change intent(inout) to intent(in) in proc_addSrcToAuxField.

type(mus_HRRCorrectionTerm_type), public :: HRR_Corr