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
3997ebac
Commit
3997ebac
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
64058a87
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
TODO
+1
-33
1 addition, 33 deletions
TODO
with
1 addition
and
33 deletions
TODO
+
1
−
33
View file @
3997ebac
$Id: TODO,v 1.5
5
2004-07-02
02:40:43
geuzaine Exp $
$Id: TODO,v 1.5
6
2004-07-02
16:34:00
geuzaine Exp $
add an interactive way to choose the orientation of surfaces in
surface loops and lines in line loops
...
...
@@ -7,38 +7,6 @@ surface loops and lines in line loops
gauche", and all surface loops whould be oriented with exterior
normals...)
********************************************************************
We could modify "Extrude Surface" to *always* create a new
volume. This would make it consistent with "Extrude Point" and
"Extrude Line", which always create new curves and surfaces,
respectively. (with multi-layered exruded meshes, we could do exactly
s we do with Extrude Line: if number==0, use the volume number...)
I'm not sure if we should do it or not... This would introduce
some incompatibilities in old geo files:
- users could do a "Delete Volume" after the extrusion to fix the
old files (aa[] = Extrude Surface{..};; Delete{Volume aa[1];}
- ...if the new volume creation didn't bork the automatic
numbering. For this, we could use the following hack:
// FIXME: this is a really ugly hack for backward compatibility, so
// that we don't screw up the old .geo files too much. (Before
// version 1.54, we didn't always create new volumes during "Extrude
// Surface". Now we do, but with "CTX.geom.old_newreg==1", this
// bumps the NEWREG() counter, and thus changes the whole automatic
// numbering sequence.) So we locally force old_newreg to 0: in most
// cases, since we define points, curves, etc., before defining
// volumes, the NEWVOLUME() call below will return a fairly low
// number, that will not interfere with the other numbers...
int tmp = CTX.geom.old_newreg;
CTX.geom.old_newreg = 0;
Volume *v = Create_Volume(NEWVOLUME(), 0);
CTX.geom.old_newreg = tmp;
********************************************************************
add ternary operator and <,>,<=,>=,== tests in MathEval
...
...
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