Contains module procedures associated with the geometry class
Getter for cellWidths, if dualGrid is true returns dual grid values based off of cellWidths. If extendedBoundaryCells is true will extend dual grid cells at boundaries to the boundaries themselves if not periodic (defaults to true)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry), | intent(in) | :: | this | |||
logical, | intent(in), | optional | :: | dualGrid | ||
logical, | intent(in), | optional | :: | extendedBoundaryCells |
Getter for jacobianLeft, if dualGrid is true returns dual grid values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry), | intent(in) | :: | this | |||
logical, | intent(in), | optional | :: | dualGrid |
Getter for jacobianRight, if dualGrid is true returns dual grid values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry), | intent(in) | :: | this | |||
logical, | intent(in), | optional | :: | dualGrid | ||
logical, | intent(in), | optional | :: | extendedBoundaryCells |
Getter for jacobianCentre, if dualGrid is true returns dual grid values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry), | intent(in) | :: | this | |||
logical, | intent(in), | optional | :: | dualGrid | ||
logical, | intent(in), | optional | :: | extendedBoundaryCells |
Getter for linInterp, if dualGrid is true returns dual grid values (0.5 everywhere)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry), | intent(in) | :: | this | |||
logical, | intent(in), | optional | :: | dualGrid |
Getter for periodicGrid
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry), | intent(in) | :: | this |
Geometry initialization routine
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:) | :: | cellWidths |
Spatial cell widths |
|
real(kind=rk), | intent(in), | dimension(:) | :: | jLeft |
Left face jacobian values |
|
real(kind=rk), | intent(in), | dimension(:) | :: | jRight |
Right face jacobian values |
|
logical, | intent(in), | optional | :: | periodicGrid |
Set to true if the grid is periodic |