diff --git a/Common/gmsh.cpp b/Common/gmsh.cpp index db5b92dbe68f4583089c3a7b9080f2a3b8a6bfec..658754da041ed6877c0a742742b5c3b3b8e0f887 100644 --- a/Common/gmsh.cpp +++ b/Common/gmsh.cpp @@ -653,9 +653,9 @@ int gmshModelOccAddVertex(int &tag, double x, double y, double z, double meshSiz return !GModel::current()->getOCCInternals()->addVertex(tag, x, y, z, meshSize); } -int gmshModelGeoSynchronize() +int gmshModelOccSynchronize() { createOcc(); - GModel::current()->getOccInternals()->synchronize(GModel::current()); + GModel::current()->getOCCInternals()->synchronize(GModel::current()); return 0; } diff --git a/Common/gmsh.h b/Common/gmsh.h index 5b1d083d6ba03c28476e4b167acb463299727aeb..559efa663ea848cdea378938c8360459942a872a 100644 --- a/Common/gmsh.h +++ b/Common/gmsh.h @@ -140,6 +140,7 @@ GMSH_API gmshModelGeoSynchronize(); // gmshModelOcc GMSH_API gmshModelOccAddVertex(int &tag, double x, double y, double z, double meshSize); +GMSH_API gmshModelOccSynchronize(); // gmshSolver