From 06be3f0b8589ccdb8a2c7f389e5bac63fd922477 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 10 Nov 2017 19:20:38 +0100
Subject: [PATCH] pp

---
 Common/GmshAPI.h   | 5 ++---
 Geo/GModelIO_GEO.h | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Common/GmshAPI.h b/Common/GmshAPI.h
index 2e471a094d..7df62a6910 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 037517ab2c..bc3dee1da9 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.);
-- 
GitLab