| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(stat_type), | intent(inout) | :: | self | |||
| real(kind=rk), | intent(in) | :: | loc(:,:) |
subroutine update(self, loc)
class(stat_type), intent(inout) :: self
real(rk), intent(in) :: loc(:, :)
self%loc_min = minval(loc, dim=2)
self%loc_max = maxval(loc, dim=2)
end subroutine update