grid_bound Subroutine

private subroutine grid_bound(self, center, radius)

The bounding sphere: the origin, radius the largest semi-axis.

Type Bound

LatLonGrid

Arguments

Type IntentOptional Attributes Name
class(LatLonGrid), intent(in) :: self
real(kind=wp), intent(out) :: center(3)

the bounding sphere, frame coordinates (scene units)

real(kind=wp), intent(out) :: radius

the bounding sphere, frame coordinates (scene units)


Source Code

    subroutine grid_bound(self, center, radius)
        class(LatLonGrid), intent(in) :: self
        real(wp), intent(out) :: center(3), radius          !! the bounding sphere, frame coordinates (scene units)
        center = 0.0_wp
        radius = maxval(self%radii_)
    end subroutine grid_bound