Choral
Functions/Subroutines
mesh_tools Module Reference

TOOLS TO GET mesh INFORMATIONS More...

Functions/Subroutines

real(rp) function, public maxedgelength (m)
 Returns the mesh size. More...
 
real(rp) function, public minedgelength (m)
 Returns the minimal edge length of the mesh. More...
 
integer function, dimension(4, 6), public mesh_analyse (m, verb)
 Analyse the cells in the mesh for every dimension. More...
 
integer function count_3dcell_edges (m)
 Counts the edges of the cells of dimension 3. More...
 
integer function count_2dcell_edges (m)
 count the edges of all 2D-cells More...
 
integer function count_3dcell_faces (m)
 count the faces of all 3D-cells More...
 

Detailed Description

TOOLS TO GET mesh INFORMATIONS

Author
Charles Pierre

Function/Subroutine Documentation

◆ count_2dcell_edges()

integer function mesh_tools::count_2dcell_edges ( type(mesh), intent(in)  m)
private

count the edges of all 2D-cells

Definition at line 385 of file mesh_tools.f90.

Here is the call graph for this function:

◆ count_3dcell_edges()

integer function mesh_tools::count_3dcell_edges ( type(mesh), intent(in)  m)
private

Counts the edges of the cells of dimension 3.

Definition at line 298 of file mesh_tools.f90.

Here is the call graph for this function:

◆ count_3dcell_faces()

integer function mesh_tools::count_3dcell_faces ( type(mesh), intent(in)  m)
private

count the faces of all 3D-cells

Definition at line 507 of file mesh_tools.f90.

Here is the call graph for this function:

◆ maxedgelength()

real(rp) function, public mesh_tools::maxedgelength ( type(mesh), intent(in)  m)

Returns the mesh size.

= the maximal edge length

Definition at line 34 of file mesh_tools.f90.

Here is the call graph for this function:

◆ mesh_analyse()

integer function, dimension(4,6), public mesh_tools::mesh_analyse ( type(mesh), intent(in)  m,
integer, intent(in)  verb 
)

Analyse the cells in the mesh for every dimension.

  • mesh_desc(dim+1,1) = number of cels with dimension dim
  • mesh_desc(dim+1,2) = number of vertexes of thiese cells
  • mesh_desc(dim+1,3) = number of nodes of thiese cells
  • mesh_desc(dim+1,6) = Euler characteristic of the cells with dimension dim

if dim =2

  • mesh_desc(dim+1,4) = number of edges of 2D cells

if dim =3

  • mesh_desc(dim+1,4) = number of edges of 3D cells
  • mesh_desc(dim+1,5) = number of faces of 3D cells

Definition at line 200 of file mesh_tools.f90.

Here is the call graph for this function:

◆ minedgelength()

real(rp) function, public mesh_tools::minedgelength ( type(mesh), intent(in)  m)

Returns the minimal edge length of the mesh.

Definition at line 110 of file mesh_tools.f90.

Here is the call graph for this function: