Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
38e100c7
Commit
38e100c7
authored
7 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
pp
parent
0cc87016
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Plugin/CutSphere.cpp
+2
-2
2 additions, 2 deletions
Plugin/CutSphere.cpp
Plugin/Plugin.h
+5
-5
5 additions, 5 deletions
Plugin/Plugin.h
with
7 additions
and
7 deletions
Plugin/CutSphere.cpp
+
2
−
2
View file @
38e100c7
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
Plugin/Plugin.h
+
5
−
5
View file @
38e100c7
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment