diff --git a/Common/GmshAPI.h b/Common/GmshAPI.h index 2e471a094d2325820936b2120ab62b13cf82d532..7df62a691027fcfb86361db93d54d737e4a4ea58 100644 --- a/Common/GmshAPI.h +++ b/Common/GmshAPI.h @@ -49,7 +49,7 @@ GMSH_API gmshModelDestroy(); GMSH_API gmshModelMesh(int dim); GMSH_API gmshModelGetElementaryTags(int dim, std::vector<int> &tags); GMSH_API gmshModelGetPhysicalTags(int dim, std::vector<int> &tags); -GMSH_API gmshModelSetPhysicalGroup(int dim, int tag, const std::vector<int> &tags); +GMSH_API gmshModelAddPhysicalGroup(int dim, int tag, const std::vector<int> &tags); GMSH_API gmshModelGetPhysicalGroup(int dim, int tag, std::vector<int> &tags); GMSH_API gmshModelSetPhysicalName(int dim, int tag, const std::string &name); GMSH_API gmshModelGetPhysicalName(int dim, int tag, std::string &name); @@ -77,7 +77,7 @@ GMSH_API gmshModelAddEmbeddedVertex(int tag, int inDim, int inTag); // GmshModelGeo GMSH_API gmshModelGeoAddVertex(int &tag, double x, double y, double z, double lc); GMSH_API gmshModelGeoAddLine(int &tag, int startTag, int endTag); -GMSH_API gmshModelGeoAddCircleArc(int &tag, int startTag, int centerTag, int EndTag, +GMSH_API gmshModelGeoAddCircleArc(int &tag, int startTag, int centerTag, int endTag, double nx=0., double ny=0., double nz=0.); GMSH_API gmshModelGeoAddEllipseArc(int &tag, int startTag, int centerTag, int majorTag, int endTag, double nx=0., double ny=0., double nz=0.); @@ -88,7 +88,6 @@ GMSH_API gmshModelGeoAddNurbs(int &tag, const std::vector<int> &vertexTags, const std::vector<double> &knots); GMSH_API gmshModelGeoAddLineLoop(int &tag, const std::vector<int> &edgeTags); GMSH_API gmshModelGeoAddPlaneSurface(int &tag, const std::vector<int> &wireTags); -GMSH_API gmshModelGeoAddDiscreteSurface(int &tag); GMSH_API gmshModelGeoAddSurfaceFilling(int &tag, const std::vector<int> &wireTags, int sphereCenterTag=-1); GMSH_API gmshModelGeoAddSurfaceLoop(int &tag, const std::vector<int> &faceTags); diff --git a/Geo/GModelIO_GEO.h b/Geo/GModelIO_GEO.h index 037517ab2cbfd76419d26f18dded0775ff6005e0..bc3dee1da956d3477114275cee0cb4224bdafeab 100644 --- a/Geo/GModelIO_GEO.h +++ b/Geo/GModelIO_GEO.h @@ -53,7 +53,7 @@ class GEO_Internals{ bool addVertex(int &tag, double x, double y, gmshSurface *s, double lc); bool addLine(int &tag, int startTag, int endTag); bool addLine(int &tag, const std::vector<int> &vertexTags); - bool addCircleArc(int &tag, int startTag, int centerTag, int EndTag, + bool addCircleArc(int &tag, int startTag, int centerTag, int endTag, double nx=0., double ny=0., double nz=0.); bool addEllipseArc(int &tag, int startTag, int centerTag, int majorTag, int endTag, double nx=0., double ny=0., double nz=0.);