/usr/share/netgen/libsrc/meshing/meshtool.hpp is in netgen-headers 4.9.13.dfsg-8build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | #ifndef FILE_MESHTOOL
#define FILE_MESHTOOL
///
extern void MeshQuality2d (const Mesh & mesh);
///
extern void MeshQuality3d (const Mesh & mesh,
Array<int> * inclass = NULL);
///
extern void SaveEdges (const Mesh & mesh,
const char * geomfile,
double h,
char * filename);
///
extern void SaveSurfaceMesh (const Mesh & mesh,
double h,
char * filename);
/*
///
extern void Save2DMesh (
const Mesh & mesh2d,
const Array<class SplineSegment*> * splines,
ostream & outfile);
*/
class Surface;
///
extern void SaveVolumeMesh (
const Array<Point3d> & points,
const Array<Element> & elements,
const Array<Element> & volelements,
const Array<Surface*> & surfaces,
char * filename);
///
void SaveVolumeMesh (const Mesh & mesh,
const class CSGeometry & geometry,
char * filename);
///
extern int CheckCode ();
///
extern double CalcTetBadness (const Point3d & p1,
const Point3d & p2,
const Point3d & p3,
const Point3d & p4,
double h);
///
extern double CalcTetBadnessGrad (const Point3d & p1,
const Point3d & p2,
const Point3d & p3,
const Point3d & p4,
double h, int pi,
Vec<3> & grad);
/** Calculates volume of an element.
The volume of the tetrahedron el is computed
*/
// extern double CalcVolume (const Array<Point3d> & points,
// const Element & el);
/** The total volume of all elements is computed.
This function calculates the volume of the mesh */
extern double CalcVolume (const Array<Point3d> & points,
const Array<Element> & elements);
///
extern int CheckSurfaceMesh (const Mesh & mesh);
///
extern int CheckSurfaceMesh2 (const Mesh & mesh);
///
extern int CheckMesh3D (const Mesh & mesh);
///
extern void RemoveProblem (Mesh & mesh, int domainnr);
#endif
|