To print main statistics of the mesh
Parameters
Th : a mesh structure
Example
Th=GetMeshOpt('disk4-1-50.msh',2); PrintMesh(Th);
See also: GetMeshOpt.
The following code
Th=GetMeshOpt('disk4-1-50.msh',2); PrintMesh(Th);
Produces the following output
--------------- Mesh: disk4-1-50.msh dim=2, d=2, format=freefem nq=3576, nme=6950, nbe=200 hmax=0.055886, hmin=0.022214 ---------------
The following code
Th=GetMeshOpt('box.1',2,'format','triangle'); PrintMesh(Th);
Produces the following output
--------------- Mesh: box.1 dim=2, d=2, format=triangle nq=12, nme=12, nbe=12 hmax=1.500000, hmin=1.000000 ---------------
The following code
Th=GetMeshOpt('magnetism.msh',2, 'format','gmsh'); PrintMesh(Th);
Produces the following output
--------------- Mesh: magnetism.msh dim=2, d=2, format=gmsh nq=1924, nme=3720, nbe=126 hmax=0.068956, hmin=0.022419 ---------------
The following code
Th=GetMeshOpt('sphere8-4.msh',3, 'format','gmsh'); PrintMesh(Th);
Produces the following output
--------------- Mesh: sphere8-4.msh dim=3, d=3, format=gmsh nq=1769, nme=7214, nbe=2022 hmax=0.322268, hmin=0.067119 ---------------
Package: ovisumesh