Skip to content
Snippets Groups Projects
Commit 983ee8f5 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dgpy !

parent 179d3fff
No related branches found
No related tags found
No related merge requests found
...@@ -1129,5 +1129,5 @@ if(ENABLE_SWIG_EXPERIMENTAL) ...@@ -1129,5 +1129,5 @@ if(ENABLE_SWIG_EXPERIMENTAL)
SET_SOURCE_FILES_PROPERTIES(Geo/GModel.i PROPERTIES CPLUSPLUS ON) SET_SOURCE_FILES_PROPERTIES(Geo/GModel.i PROPERTIES CPLUSPLUS ON)
#SET_SOURCE_FILES_PROPERTIES(Geo/GModel.i SWIG_FLAGS "-includeall -importall") #SET_SOURCE_FILES_PROPERTIES(Geo/GModel.i SWIG_FLAGS "-includeall -importall")
SWIG_ADD_MODULE(gmshPython python Geo/GModel.i ${GMSH_SRC}) SWIG_ADD_MODULE(gmshPython python Geo/GModel.i ${GMSH_SRC})
SWIG_LINK_LIBRARIES(gmshPython ${PYTHON_LIBRARIES} ${EXTERNAL_LIBRARIES}) SWIG_LINK_LIBRARIES(gmshPython ${PYTHON_LIBRARIES} ${EXTERNAL_LIBRARIES} ${LINK_LIBRARIES})
endif(ENABLE_SWIG_EXPERIMENTAL) endif(ENABLE_SWIG_EXPERIMENTAL)
...@@ -12,11 +12,6 @@ ...@@ -12,11 +12,6 @@
#include <dlfcn.h> #include <dlfcn.h>
#endif #endif
struct functionReplaceCache {
dataCacheMap *map;
std::vector <dataCacheDouble*> toReplace;
std::vector <dataCacheDouble*> toCompute;
};
// function // function
......
...@@ -14,7 +14,7 @@ class dgDataCacheMap; ...@@ -14,7 +14,7 @@ class dgDataCacheMap;
class function; class function;
class functionConstant; class functionConstant;
class functionReplace; class functionReplace;
struct functionReplaceCache; class functionReplaceCache;
class MElement; class MElement;
class binding; class binding;
...@@ -110,6 +110,13 @@ class functionSolution : public function { ...@@ -110,6 +110,13 @@ class functionSolution : public function {
} }
}; };
class functionReplaceCache {
public:
dataCacheMap *map;
std::vector <dataCacheDouble*> toReplace;
std::vector <dataCacheDouble*> toCompute;
};
class functionReplace { class functionReplace {
friend class dataCacheMap; friend class dataCacheMap;
friend class dataCacheDouble; friend class dataCacheDouble;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment