extrapolation_abstract_procedures Submodule

Contains module procedures associated with the abstract extrapolation class



Module Functions

pure module function hasBoundary(this) result(active)

Getter for active

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(in) :: this

Return Value logical

pure module function isLeftBoundary(this) result(leftBoundary)

Getter for leftBoundary

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(in) :: this

Return Value logical

pure module function usesStaggeredVars(this) result(staggeredVars)

Getter for staggeredVars

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(in) :: this

Return Value logical

pure module function getHaloWidth(this) result(haloWidth)

Getter for haloWidth

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(in) :: this

Return Value integer(kind=ik)


Module Subroutines

module subroutine setOnBoundary(this, partObj, gridObj, numProc)

Check if this processor has the boundary corresponding with this extrapolation and set active

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(inout) :: this
type(Partition), intent(in) :: partObj
type(Grid), intent(in) :: gridObj
integer(kind=ik), intent(in) :: numProc

module subroutine setLeftBoundary(this, leftBoundary)

Setter for leftBoundary

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(inout) :: this
logical, intent(in) :: leftBoundary

module subroutine setStaggeredVars(this, stagVars)

Setter for staggeredVars

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(inout) :: this
logical, intent(in) :: stagVars

module subroutine setHaloWidth(this, haloWidth)

Setter for haloWidth

Arguments

Type IntentOptional Attributes Name
class(Extrapolation), intent(inout) :: this
integer(kind=ik), intent(in) :: haloWidth