Calculate the real bounding box around the fluid domain
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(inout) | :: | tree |
Mesh |
subroutine tem_setEffBoundingBox_fromTree( tree )
! -------------------------------------------------------------------- !
!> Mesh
type(treelmesh_type), intent(inout) :: tree
! -------------------------------------------------------------------- !
real(kind=rk) :: boundingBox(3,2)
! -------------------------------------------------------------------- !
boundingBox(:,:) = tem_GetRealBoundingCube( tree )
! Set the effective origin and length in the global tree part
tree%global%effOrigin(:) = boundingBox(:,1)
tree%global%effLength(:) = boundingBox(:,2) - boundingBox(:,1)
end subroutine tem_setEffBoundingBox_fromTree