JaggedArrayGenerator for extending the fixed stencil capabilities of StencilGenerator1D to allow for an additional multiplicative dependence on fluid variables in the passed variable container or modelbound data. Allows associating different variables to each column.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
type(StencilGenerator1D), | private | :: | fixedStencilGen |
Fixed component generator |
|||
type(StringArray), | private, | allocatable, dimension(:) | :: | varContColVarNames |
Names of variable container variables associated with each of the stencil columns. Max one variable ber column |
||
type(StringArray), | private, | allocatable, dimension(:) | :: | mbColVarNames |
Names of modelbound variables associated with each of the stencil columns. Max one variable ber column |
||
integer(kind=ik), | private, | allocatable, dimension(:) | :: | varContVarIndices |
Indices of variable container variables associated with each of the stencil columns. Max one variable ber column |
||
type(RealArray), | private, | allocatable, dimension(:) | :: | fixedStencilVals |
Fixed stencil values calculated using parent StencilGenerator1D |
||
type(RealArray), | private, | allocatable, dimension(:) | :: | columnValueBuffers |
Buffer for the variable component of the column vectors |
Getter for userDefined
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(in) | :: | this |
Set userDefined to .true.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Set userDefined to .false.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Use in place version of stencil calculation to return values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(JaggedArrayGenerator), | intent(inout) | :: | this | |||
type(VariableContainer), | intent(in) | :: | varCont | |||
class(ModelboundData), | intent(in), | optional | :: | mbData | ||
class(ModelSurrogate), | intent(in), | optional | :: | hostModel |
1D fluid variable stencil value generator initialization routine
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FluidStencilGen1D), | intent(inout) | :: | this | |||
type(Stencil1D), | intent(in) | :: | stencilObj | |||
type(RealArray), | intent(in), | dimension(:) | :: | columnVecs | ||
type(StringArray), | intent(in), | dimension(:) | :: | varContColVarNames | ||
type(StringArray), | intent(in), | dimension(:) | :: | mbColVarNames | ||
logical, | intent(in), | optional | :: | periodicDim | ||
integer(kind=ik), | intent(in), | optional, | dimension(2) | :: | coordInterval |
Calculate variable fluid 1D stencil values in place (does not depend on hostModel)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FluidStencilGen1D), | intent(inout) | :: | this | |||
type(VariableContainer), | intent(in) | :: | varCont | |||
type(RealArray), | intent(inout), | allocatable, dimension(:) | :: | res | ||
class(ModelboundData), | intent(in), | optional | :: | mbData | ||
class(ModelSurrogate), | intent(in), | optional | :: | hostModel |