Skip to main content

GetBoundingBox

Returns the bounding box of the domain.

Interface

INTERFACE
MODULE FUNCTION obj_GetBoundingBox(obj, dim) RESULT(ans)
CLASS(AbstractDomain_), INTENT(IN) :: obj
INTEGER(I4B), OPTIONAL, INTENT(IN) :: dim
!! dimension of the mesh
!! if dim is not present then nodeCoord in domain is
!! used for computing the bounding box
TYPE(BoundingBox_) :: ans
END FUNCTION obj_GetBoundingBox
END INTERFACE
dim

Default value of dim is same as the obj%nsd. If the dim is present then we get the bounding box of the mesh of dim dimesion.