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

fix wrapper

parent a7e34a01
No related branches found
No related tags found
No related merge requests found
...@@ -53,8 +53,9 @@ extern int GModel::indexMeshVertices(bool all, int singlePartition); ...@@ -53,8 +53,9 @@ extern int GModel::indexMeshVertices(bool all, int singlePartition);
extern int GmshInitialize(int argc, char **argv); extern int GmshInitialize(int argc, char **argv);
extern int GmshFinalize(); extern int GmshFinalize();
extern Vertex *Create_Vertex(int Num, double X, double Y, double Z, double lc, double u); extern Vertex *Create_Vertex(int Num, double X, double Y, double Z, double lc, double u);
extern void add_physical(std::string type, List_T *list, std::string fileName); extern void add_physical(std::string type, List_T *list, std::string fileName,
const std::string &name, int forceTag, bool append,
const std::string &mode);
//use the Vector object defined in Java language to wrap the std vector. //use the Vector object defined in Java language to wrap the std vector.
%include "std_vector.i" %include "std_vector.i"
namespace std { namespace std {
...@@ -128,4 +129,3 @@ namespace std { ...@@ -128,4 +129,3 @@ namespace std {
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment