From 38e100c75e6d71f3320788dfce54dc1823c76725 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 5 Apr 2017 22:12:14 +0200 Subject: [PATCH] pp --- Plugin/CutSphere.cpp | 4 ++-- Plugin/Plugin.h | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Plugin/CutSphere.cpp b/Plugin/CutSphere.cpp index 9328c78e51..1ce5f943a3 100644 --- a/Plugin/CutSphere.cpp +++ b/Plugin/CutSphere.cpp @@ -65,7 +65,7 @@ double GMSH_CutSpherePlugin::callback(int num, int action, double value, double double GMSH_CutSpherePlugin::callbackX(int num, int action, double value) { return callback(num, action, value, &CutSphereOptions_Number[0].def, - CTX::instance()->lc / 100., - 2 * CTX::instance()->lc, + CTX::instance()->lc / 100., - 2 * CTX::instance()->lc, 2 * CTX::instance()->lc); } @@ -79,7 +79,7 @@ double GMSH_CutSpherePlugin::callbackY(int num, int action, double value) double GMSH_CutSpherePlugin::callbackZ(int num, int action, double value) { return callback(num, action, value, &CutSphereOptions_Number[2].def, - CTX::instance()->lc / 100., -2 * CTX::instance()->lc, + CTX::instance()->lc / 100., -2 * CTX::instance()->lc, 2 * CTX::instance()->lc); } diff --git a/Plugin/Plugin.h b/Plugin/Plugin.h index a42346f744..befcb65c15 100644 --- a/Plugin/Plugin.h +++ b/Plugin/Plugin.h @@ -28,10 +28,10 @@ class GMSH_Plugin public : // 4 kinds of plugins typedef enum { - GMSH_CAD_PLUGIN, - GMSH_MESH_PLUGIN, - GMSH_POST_PLUGIN, - GMSH_SOLVER_PLUGIN + GMSH_CAD_PLUGIN, + GMSH_MESH_PLUGIN, + GMSH_POST_PLUGIN, + GMSH_SOLVER_PLUGIN } GMSH_PLUGIN_TYPE; // a dialog box for the user interface @@ -118,7 +118,7 @@ class GMSH_SolverPlugin : public GMSH_Plugin virtual void receiveNewPhysicalGroup(int dim, int id) = 0; // load the solver input file related to the gmsh geo file virtual void readSolverFile(const char *) = 0; - // save the solver file + // save the solver file virtual void writeSolverFile(const char *) const = 0; // enhance graphics for a giver geo point virtual bool GL_enhancePoint(Vertex *v) { return false; } -- GitLab