Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
FUNCTION tet_valid(msh,ic)USE class_psblasUSE class_connectivityUSE class_meshUSE class_vectorUSE class_vertexUSE tools_mesh_optimize,ONLY:right_handedIMPLICIT NONE!LOGICAL::tet_validTYPE(mesh),INTENT(IN)::msh! the mesh structureINTEGER,INTENT(IN)::ic! the cell ID number!REAL(psb_dpk_)::vtx1(3),vtx2(3),vtx3(3),vtx4(3)INTEGER::iv1,iv2,iv3,iv4INTEGER,POINTER::iv2c(:)=>NULL()INTEGER::valid_flag,ierr! Get vertex indicesCALL msh%v2c%get_ith_conn(iv2c,ic)iv1=iv2c(1)iv2=iv2c(2)iv3=iv2c(3)iv4=iv2c(4)vtx1=msh%verts(iv1)%position_()vtx2=msh%verts(iv2)%position_()vtx3=msh%verts(iv3)%position_()vtx4=msh%verts(iv4)%position_()valid_flag=right_handed(vtx1,vtx2,vtx3,vtx4)IF(valid_flag==1)THENtet_valid=.TRUE.ELSEtet_valid=.FALSE.ENDIFEND FUNCTION tet_valid