2009-01-13 04:40:13 +05:00
|
|
|
#ifndef FILE_MESHFUNC
|
|
|
|
#define FILE_MESHFUNC
|
|
|
|
|
|
|
|
/**************************************************************************/
|
2011-01-11 01:18:01 +05:00
|
|
|
/* File: meshfunc.hpp */
|
|
|
|
/* Author: Johannes Gerstmayr, Joachim Schoeberl */
|
2009-01-13 04:40:13 +05:00
|
|
|
/* Date: 26. Jan. 98 */
|
|
|
|
/**************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Functions for mesh-generations strategies
|
|
|
|
*/
|
|
|
|
|
|
|
|
class Mesh;
|
|
|
|
// class CSGeometry;
|
|
|
|
|
|
|
|
/// Build tet-mesh
|
2011-01-11 01:18:01 +05:00
|
|
|
MESHING3_RESULT MeshVolume (MeshingParameters & mp, Mesh& mesh3d);
|
2009-01-13 04:40:13 +05:00
|
|
|
|
|
|
|
/// Build mixed-element mesh
|
2011-01-11 01:18:01 +05:00
|
|
|
// MESHING3_RESULT MeshMixedVolume (MeshingParameters & mp, Mesh& mesh3d);
|
2009-01-13 04:40:13 +05:00
|
|
|
|
|
|
|
/// Optimize tet-mesh
|
2011-01-11 01:18:01 +05:00
|
|
|
MESHING3_RESULT OptimizeVolume (MeshingParameters & mp, Mesh& mesh3d);
|
2009-01-13 04:40:13 +05:00
|
|
|
// const CSGeometry * geometry = NULL);
|
|
|
|
|
|
|
|
void RemoveIllegalElements (Mesh & mesh3d);
|
|
|
|
|
|
|
|
|
|
|
|
enum MESHING_STEP {
|
|
|
|
MESHCONST_ANALYSE = 1,
|
|
|
|
MESHCONST_MESHEDGES = 2,
|
|
|
|
MESHCONST_MESHSURFACE = 3,
|
|
|
|
MESHCONST_OPTSURFACE = 4,
|
|
|
|
MESHCONST_MESHVOLUME = 5,
|
|
|
|
MESHCONST_OPTVOLUME = 6
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|