
Houses logarithmic Extrapolation object
Logarithmic extrapolation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(LogExtrapolation), | intent(in) | :: | this | |||
| real(kind=rk), | intent(in), | dimension(:) | :: | input |
Initialization routine for LogExtrapolation object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(LogExtrapolation), | 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 | |||
| logical, | intent(in) | :: | interpolate |
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 | :: | logExterp |
Logarithmic extrapolation coefficient used |
|||
| real(kind=rk), | private | :: | linInterp |
Linear interpolation coefficient used when interpolationg |
|||
| 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. |
||
| logical, | private | :: | interpolate |
Interpolates the second closest value to the boundary using the extrapolation coordinates instead of using the value Associated with the second coordinate |
| procedure, public :: isDefined => isDefinedObject | |
| procedure, public :: makeDefined => makeDefinedObject | |
| procedure, public :: makeUndefined => makeUndefinedObject | |
| procedure, public :: setOnBoundary | |
| procedure, public :: setLeftBoundary | |
| procedure, public :: setStaggeredVars | |
| procedure, public :: setHaloWidth | |
| procedure, public :: hasBoundary | |
| procedure, public :: isLeftBoundary | |
| procedure, public :: usesStaggeredVars | |
| procedure, public :: getHaloWidth | |
| procedure, public :: init => initLogExtrap | |
| procedure, public :: extrapolate => extrapolateLog |