Skip to content
Snippets Groups Projects
Commit 1c4e2138 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cleanup

parent 6e8f9848
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,9 @@ ...@@ -8,8 +8,9 @@
#include <vector> #include <vector>
#include <set> #include <set>
#include "GFaceCompound.h" #include <list>
class GEdge;
class GFace; class GFace;
class MVertex; class MVertex;
class GFaceCompound; class GFaceCompound;
...@@ -20,19 +21,19 @@ class meshGFace { ...@@ -20,19 +21,19 @@ class meshGFace {
int twoPassesMesh; int twoPassesMesh;
bool onlyInitialMesh; bool onlyInitialMesh;
public : public :
meshGFace (bool r = true, int t = 0) : repairSelfIntersecting1dMesh(r), twoPassesMesh(t) meshGFace(bool r = true, int t = 0)
,onlyInitialMesh(false) : repairSelfIntersecting1dMesh(r), twoPassesMesh(t), onlyInitialMesh(false)
{ {
} }
void operator () (GFace *); void operator()(GFace *);
void setOnlyInitial() {onlyInitialMesh = true;} void setOnlyInitial(){ onlyInitialMesh = true; }
}; };
// Destroy the mesh of the face // Destroy the mesh of the face
class deMeshGFace { class deMeshGFace {
public : public :
deMeshGFace (){} deMeshGFace(){}
void operator () (GFace *); void operator()(GFace *);
}; };
// Orient the mesh of a face to match the orientation of the // Orient the mesh of a face to match the orientation of the
...@@ -42,8 +43,8 @@ class deMeshGFace { ...@@ -42,8 +43,8 @@ class deMeshGFace {
// 2) some volume algorithms need to change the surface mesh // 2) some volume algorithms need to change the surface mesh
// orientation // orientation
class orientMeshGFace { class orientMeshGFace {
public : public :
void operator () (GFace *); void operator()(GFace *);
}; };
void fourthPoint(double *p1, double *p2, double *p3, double *p4); void fourthPoint(double *p1, double *p2, double *p3, double *p4);
......
...@@ -14,7 +14,7 @@ project(api_demos CXX) ...@@ -14,7 +14,7 @@ project(api_demos CXX)
add_subdirectory(../.. "${CMAKE_CURRENT_BINARY_DIR}/gmsh") add_subdirectory(../.. "${CMAKE_CURRENT_BINARY_DIR}/gmsh")
include_directories(../../Common ../../Numeric ../../Geo ../../Mesh include_directories(../../Common ../../Numeric ../../Geo ../../Mesh
../../Solver ../../Post ../../Plugin ../../Graphics ../../Solver ../../Post ../../Plugin ../../Graphics ../../contrib/ANN/include
../../contrib/DiscreteIntegration ${GMSH_EXTERNAL_INCLUDE_DIRS} ../../contrib/DiscreteIntegration ${GMSH_EXTERNAL_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}/gmsh/Common) ${CMAKE_CURRENT_BINARY_DIR}/gmsh/Common)
...@@ -50,3 +50,6 @@ target_link_libraries(mainPost shared) ...@@ -50,3 +50,6 @@ target_link_libraries(mainPost shared)
add_executable(mainSimple mainSimple.cpp) add_executable(mainSimple mainSimple.cpp)
target_link_libraries(mainSimple shared) target_link_libraries(mainSimple shared)
add_executable(mainMoving mainMoving.cpp)
target_link_libraries(mainMoving shared)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment