Geometry.ExtrudeReturnLateralEntities missing for c++ api?
I am trying to follow the aneurysm example for python in c++. I get an error trying to put a c++ equivalent
++ -Wall -g boundary_layer_test.cc -o boundary_layer_test -I/include -L/lib ./lib/libgmsh.so.4.11.1 -Wl,-rpath,../lib/x64
boundary_layer_test.cc:31:29: warning: character constant too long for its type
31 | gmsh::option::setNumber('Geometry.ExtrudeReturnLateralEntities', 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
boundary_layer_test.cc: In function ‘int main(int, char**)’:
boundary_layer_test.cc:31:29: error: invalid initialization of reference of type ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’} from expression of type ‘int’
In file included from boundary_layer_test.cc:11:
/include/gmsh.h:113:49: note: in passing argument 1 of ‘void gmsh::option::setNumber(const string&, double)’
113 | GMSH_API void setNumber(const std::string & name,
| ~~~~~~~~~~~~~~~~~~~~^~~~
make: *** [makefile:5: explant] Error 1
is it renamed or something?
Also why do extrude and revolve undo any sort of structure in a 2d mesh. I can have quad mesh in 2d that turns back into triangles. This is no a simple unit square so I know it is not the geometry.