Return the size of a given treeID in the mesh by taking into account the size of the bounding cube given in the global info of the tree
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | tree |
Mesh to locate point in |
||
integer(kind=long_k), | intent(in) | :: | treeID |
input elements |
size of element
pure function tem_ElemSize( tree, treeID ) result(dx)
! -------------------------------------------------------------------- !
!> Mesh to locate point in
type(treelmesh_type), intent(in) :: tree
!> input elements
integer(kind=long_k), intent(in) :: treeID
!> size of element
real(kind=rk) :: dx
! -------------------------------------------------------------------- !
integer :: level
! -------------------------------------------------------------------- !
level = tem_levelOf(TreeID)
dx = tem_elemSizeLevel( tree, level )
end function tem_ElemSize