Linear extrapolation object
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
| real(kind=rk), | private | :: | linExterp |
Linear extrapolation coefficient used |
|||
| integer(kind=ik), | public, | dimension(2) | :: | exterpCoords |
Coordinates used for extrapolation. Should be the indices of the data closest and second closest to the boundary, respectively. |
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 |
Check if this processor has the boundary corresponding with this extrapolation and set active
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(inout) | :: | this | |||
| type(Partition), | intent(in) | :: | partObj | |||
| type(Grid), | intent(in) | :: | gridObj | |||
| integer(kind=ik), | intent(in) | :: | numProc |
Setter for leftBoundary
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(inout) | :: | this | |||
| logical, | intent(in) | :: | leftBoundary |
Setter for staggeredVars
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(inout) | :: | this | |||
| logical, | intent(in) | :: | stagVars |
Setter for haloWidth
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(inout) | :: | this | |||
| integer(kind=ik), | intent(in) | :: | haloWidth |
Getter for active
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(in) | :: | this |
Getter for leftBoundary
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(in) | :: | this |
Getter for staggeredVars
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(in) | :: | this |
Getter for haloWidth
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Extrapolation), | intent(in) | :: | this |
Initialization routine for LinExtrapolation object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(LinExtrapolation), | intent(inout) | :: | this | |||
| type(Partition), | intent(in) | :: | partObj | |||
| type(Grid), | intent(in) | :: | gridObj | |||
| integer(kind=ik), | intent(in) | :: | numProc | |||
| integer(kind=ik), | intent(in) | :: | haloWidth | |||
| type(Geometry), | intent(in) | :: | geometryObj | |||
| logical, | intent(in) | :: | leftBoundary | |||
| logical, | intent(in) | :: | staggeredVars |
Linear extrapolation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(LinExtrapolation), | intent(in) | :: | this | |||
| real(kind=rk), | intent(in), | dimension(:) | :: | input |