interp_stencil_gen_procedures Submodule

Contains module procedures associated with the interpolation stencil value generator class


Uses


Module Subroutines

module subroutine initInterpValGen(this, partitionObj, geometryObj, procRank, staggeredGridMode)

Central differentiation stencil value generator initialization routine

Arguments

Type IntentOptional Attributes Name
class(InterpStencilGenerator), intent(inout) :: this
type(Partition), intent(in) :: partitionObj

Partition object used to determine local number of rows

type(Geometry), intent(in) :: geometryObj

Geometry object used to get interpolation/extrapolation coefficients

integer(kind=ik), intent(in) :: procRank

Current processor rank

logical, intent(in), optional :: staggeredGridMode

If true will interpolate from staggered to regular grid.

module subroutine calcInterpVals(this, varCont, res, mbData, hostModel)

Calculate interpolation stencil values in place (does not depend on varCont)

Arguments

Type IntentOptional Attributes Name
class(InterpStencilGenerator), 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