netgen/libsrc/meshing/meshfunc.hpp

48 lines
1.3 KiB
C++
Raw Normal View History

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 */
/**************************************************************************/
#include <mydefs.hpp>
#include "meshing3.hpp"
#include "meshtype.hpp"
2009-01-13 04:40:13 +05:00
namespace netgen
{
2009-01-13 04:40:13 +05:00
/*
Functions for mesh-generations strategies
*/
class Mesh;
// class CSGeometry;
/// Build tet-mesh
DLL_HEADER MESHING3_RESULT MeshVolume (const 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
DLL_HEADER MESHING3_RESULT OptimizeVolume (const MeshingParameters & mp, Mesh& mesh3d);
2009-01-13 04:40:13 +05:00
// const CSGeometry * geometry = NULL);
DLL_HEADER void RemoveIllegalElements (Mesh & mesh3d, int domain = 0);
DLL_HEADER void ConformToFreeSegments (Mesh & mesh3d, int domain);
2009-01-13 04:40:13 +05:00
enum MESHING_STEP {
MESHCONST_ANALYSE = 1,
MESHCONST_MESHEDGES = 2,
MESHCONST_MESHSURFACE = 3,
MESHCONST_OPTSURFACE = 4,
MESHCONST_MESHVOLUME = 5,
MESHCONST_OPTVOLUME = 6
};
} // namespace netgen
2009-01-13 04:40:13 +05:00
#endif