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
1a07647e
Commit
1a07647e
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
change sign of levelset so that the iso-volume is more natural
parent
2ff59464
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Plugin/CutMap.cpp
+5
-5
5 additions, 5 deletions
Plugin/CutMap.cpp
doc/texinfo/opt_plugin.texi
+2
-2
2 additions, 2 deletions
doc/texinfo/opt_plugin.texi
doc/texinfo/opt_view.texi
+1
-1
1 addition, 1 deletion
doc/texinfo/opt_view.texi
with
8 additions
and
8 deletions
Plugin/CutMap.cpp
+
5
−
5
View file @
1a07647e
// $Id: CutMap.cpp,v 1.4
8
2005-0
1
-0
8 20:15:18
geuzaine Exp $
// $Id: CutMap.cpp,v 1.4
9
2005-0
3
-0
9 08:07:04
geuzaine Exp $
//
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -122,8 +122,8 @@ void GMSH_CutMapPlugin::getInfos(char *author, char *copyright,
"corresponding time step in `dView'. If `dView'
\n
"
"< 0, the plugin uses `iView' as the value source.
\n
"
"If `ExtractVolume' is nonzero, the plugin
\n
"
"extracts the isovolume with values
small
er (if
\n
"
"`ExtractVolume' > 0) or
great
er (if `ExtractVolume'
\n
"
"extracts the isovolume with values
great
er (if
\n
"
"`ExtractVolume' > 0) or
small
er (if `ExtractVolume'
\n
"
"< 0) than the isosurface `A'.
\n
"
"
\n
"
"Plugin(CutMap) creates as many views as there
\n
"
...
...
@@ -147,10 +147,10 @@ void GMSH_CutMapPlugin::catchErrorMessage(char *errorMessage) const
double
GMSH_CutMapPlugin
::
levelset
(
double
x
,
double
y
,
double
z
,
double
val
)
const
{
// we must look into the map for
A -
Map(x,y,z)
// we must look into the map for Map(x,y,z)
- A
// this is the case when the map is the same as the view,
// the result is the extraction of isovalue A
return
CutMapOptions_Number
[
0
].
def
-
val
;
return
val
-
CutMapOptions_Number
[
0
].
def
;
}
Post_View
*
GMSH_CutMapPlugin
::
execute
(
Post_View
*
v
)
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/opt_plugin.texi
+
2
−
2
View file @
1a07647e
...
...
@@ -104,8 +104,8 @@ plugin uses, for each time step in `iView', the
corresponding time step in `dView'. If `dView'
< 0, the plugin uses `iView' as the value source.
If `ExtractVolume' is nonzero, the plugin
extracts the isovolume with values
small
er (if
`ExtractVolume' > 0) or
great
er (if `ExtractVolume'
extracts the isovolume with values
great
er (if
`ExtractVolume' > 0) or
small
er (if `ExtractVolume'
< 0) than the isosurface `A'.
Plugin(CutMap) creates as many views as there
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/opt_view.texi
+
1
−
1
View file @
1a07647e
...
...
@@ -80,7 +80,7 @@ Default value: @code{1}@*
Saved in: @code{General.OptionsFileName}
@item View.Boundary
Draw the `N minus b'-dimensional boundary of the
simplex (N=simplex
dimension, b=option value)@*
Draw the `N minus b'-dimensional boundary of the
element (N=element
dimension, b=option value)@*
Default value: @code{0}@*
Saved in: @code{General.OptionsFileName}
...
...
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