Skip to content
Snippets Groups Projects
Commit 38e100c7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent 0cc87016
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
......@@ -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; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment