tem_ElemSize Function

public pure function tem_ElemSize(tree, treeID) result(dx)

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

Arguments

Type IntentOptional Attributes Name
type(treelmesh_type), intent(in) :: tree

Mesh to locate point in

integer(kind=long_k), intent(in) :: treeID

input elements

Return Value real(kind=rk)

size of element


Calls

proc~~tem_elemsize~~CallsGraph proc~tem_elemsize tem_ElemSize proc~tem_elemsizelevel tem_ElemSizeLevel proc~tem_elemsize->proc~tem_elemsizelevel proc~tem_levelof tem_LevelOf proc~tem_elemsize->proc~tem_levelof

Called by

proc~~tem_elemsize~~CalledByGraph proc~tem_elemsize tem_ElemSize proc~deriveelemvol deriveElemVol proc~deriveelemvol->proc~tem_elemsize proc~derivevolfrac deriveVolFrac proc~derivevolfrac->proc~tem_elemsize proc~tem_calc_vrtxof_qval tem_calc_vrtxOf_qVal proc~tem_calc_vrtxof_qval->proc~tem_elemsize proc~tem_converttreeidtocube tem_convertTreeIDtoCube proc~tem_converttreeidtocube->proc~tem_elemsize proc~tem_reduction_spatial_append tem_reduction_spatial_append proc~tem_reduction_spatial_append->proc~tem_elemsize proc~tem_shape_findelembybclabels tem_shape_findElemByBCLabels proc~tem_shape_findelembybclabels->proc~tem_elemsize proc~tem_tidinfo tem_tIDinfo proc~tem_tidinfo->proc~tem_elemsize proc~hvs_ascii_dump_elem_data hvs_ascii_dump_elem_data proc~hvs_ascii_dump_elem_data->proc~tem_reduction_spatial_append proc~hvs_ascii_dump_point_data hvs_ascii_dump_point_data proc~hvs_ascii_dump_point_data->proc~tem_reduction_spatial_append proc~identify_elements identify_elements proc~identify_elements->proc~tem_tidinfo proc~identify_elements->proc~identify_elements proc~identify_local_element identify_local_element proc~identify_local_element->proc~tem_tidinfo proc~tem_calc_vrtx_coord tem_calc_vrtx_coord proc~tem_calc_vrtx_coord->proc~tem_calc_vrtxof_qval proc~tem_cano_initsubtree tem_cano_initSubTree proc~tem_cano_initsubtree->proc~tem_converttreeidtocube proc~tem_convergence_check_element tem_convergence_check_element proc~tem_convergence_check_element->proc~tem_reduction_spatial_append proc~tem_convergence_check_point tem_convergence_check_point proc~tem_convergence_check_point->proc~tem_reduction_spatial_append proc~tem_shape2subtree tem_shape2subTree proc~tem_shape2subtree->proc~tem_shape_findelembybclabels proc~tem_shape_subtreefromgeominters tem_shape_subTreeFromGeomInters proc~tem_shape2subtree->proc~tem_shape_subtreefromgeominters proc~tem_shape_subtreefromgeominters->proc~tem_converttreeidtocube proc~tem_shape_subtreefromgeominters->proc~tem_cano_initsubtree proc~build_levelelements build_levelElements proc~build_levelelements->proc~identify_elements proc~create_allparentneighbors create_allParentNeighbors proc~create_allparentneighbors->proc~identify_elements proc~hvs_output_init hvs_output_init proc~hvs_output_init->proc~tem_calc_vrtx_coord proc~hvs_output_write hvs_output_write proc~hvs_output_write->proc~hvs_ascii_dump_elem_data proc~hvs_output_write->proc~hvs_ascii_dump_point_data proc~identify_additionalneigh identify_additionalNeigh proc~identify_additionalneigh->proc~identify_elements proc~identify_halo identify_halo proc~identify_halo->proc~identify_local_element proc~identify_stencilneigh identify_stencilNeigh proc~identify_stencilneigh->proc~identify_elements proc~single_process_element single_process_element proc~single_process_element->proc~identify_local_element proc~tem_convergence_check tem_convergence_check proc~tem_convergence_check->proc~tem_convergence_check_element proc~tem_convergence_check->proc~tem_convergence_check_point proc~tem_create_subtree_of tem_create_subTree_of proc~tem_create_subtree_of->proc~tem_shape2subtree

Source Code

  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