Skip to content
Snippets Groups Projects
Commit b8fa3637 authored by Emilie Marchandise's avatar Emilie Marchandise
Browse files

No commit message

No commit message
parent d8fedbbb
Branches
Tags
No related merge requests found
...@@ -1183,3 +1183,4 @@ message("") ...@@ -1183,3 +1183,4 @@ message("")
mark_as_advanced(BISON FLEX GMP_LIB GMSH_EXTRA_VERSION HDF5_LIB MAKEINFO mark_as_advanced(BISON FLEX GMP_LIB GMSH_EXTRA_VERSION HDF5_LIB MAKEINFO
MED_LIB OCC_INC SZ_LIB TAUCS_LIB ACIS_LIB TEXI2PDF) MED_LIB OCC_INC SZ_LIB TAUCS_LIB ACIS_LIB TEXI2PDF)
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
%include std_string.i %include std_string.i
%include std_vector.i %include std_vector.i
%include std_list.i %include std_list.i
%include cpointer.i
%{ %{
#include "GmshConfig.h" #include "GmshConfig.h"
...@@ -72,6 +73,8 @@ ...@@ -72,6 +73,8 @@
GmshInitialize(); GmshInitialize();
%} %}
%pointer_functions(double,doublep)
%pointer_functions(int,intp)
namespace std { namespace std {
%template(IntVector) vector<int>; %template(IntVector) vector<int>;
%template(DoubleVector) vector<double, std::allocator<double> >; %template(DoubleVector) vector<double, std::allocator<double> >;
......
...@@ -266,7 +266,7 @@ std::vector<int> GModel::getEdgesByStringTag(const std::string tag) ...@@ -266,7 +266,7 @@ std::vector<int> GModel::getEdgesByStringTag(const std::string tag)
nums.push_back(ge->tag()); nums.push_back(ge->tag());
} }
printf("edges size = %d \n", nums.size()); return nums;
} }
void GModel::remove(GRegion *r) void GModel::remove(GRegion *r)
......
...@@ -28,7 +28,7 @@ Plane Surface(10) = {5}; ...@@ -28,7 +28,7 @@ Plane Surface(10) = {5};
//Compound Surface(100)={10}; //Compound Surface(100)={10};
Physical Surface(100)={10}; Physical Surface(100)={10};
//Physical Line(200)={10}; Physical Line(200)={1,2,3,4};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment