getCellWidths Module Function

pure module function getCellWidths(this, dualGrid, extendedBoundaryCells) result(dx)

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)

Arguments

Type IntentOptional Attributes Name
class(Geometry), intent(in) :: this
logical, intent(in), optional :: dualGrid
logical, intent(in), optional :: extendedBoundaryCells

Return Value real(kind=rk), allocatable, dimension(:)