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
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Romin Tomasetti
gmsh
Commits
59da05dc
Commit
59da05dc
authored
5 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
Update t1.cpp
parent
d04703d5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tutorial/c++/t1.cpp
+3
-3
3 additions, 3 deletions
tutorial/c++/t1.cpp
with
3 additions
and
3 deletions
tutorial/c++/t1.cpp
+
3
−
3
View file @
59da05dc
...
...
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
// connected curves, a sign being associated with each curve (depending on the
// orientation of the curve to form a loop). The API function to create curve
// loops takes a vector of integers as first argument, and the curve loop tag
// (which must
n
e unique amongst curve loops) as the second (optional)
// (which must
b
e unique amongst curve loops) as the second (optional)
// argument:
gmsh
::
model
::
geo
::
addCurveLoop
({
4
,
1
,
-
2
,
3
},
1
);
...
...
@@ -89,7 +89,7 @@ int main(int argc, char **argv)
// for an example of a surface with a hole):
gmsh
::
model
::
geo
::
addPlaneSurface
({
1
},
1
);
// At this level, Gmsh knows everything to display the rectangular surface
6
// At this level, Gmsh knows everything to display the rectangular surface
1
// and to mesh it. An optional step is needed if we want to group elementary
// geometrical entities into more meaningful groups, e.g. to define some
// mathematical ("domain", "boundary"), functional ("left wing", "fuselage")
...
...
@@ -132,7 +132,7 @@ int main(int argc, char **argv)
//
// gmsh::option::setNumber("Mesh.SaveAll", 1);
//
W
e could run the graphical user interface with:
//
To visualize the model w
e could run the graphical user interface with:
// gmsh::fltk::run();
// Note that starting with Gmsh 3.0, models can be built using other geometry
...
...
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