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
7a7a6eac
Commit
7a7a6eac
authored
22 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
use existingd views
parent
e1025c72
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
benchmarks/misc/low_memory_animation.geo
+6
-6
6 additions, 6 deletions
benchmarks/misc/low_memory_animation.geo
with
6 additions
and
6 deletions
benchmarks/misc/low_memory_animation.geo
+
6
−
6
View file @
7a7a6eac
...
...
@@ -13,21 +13,21 @@ View.ColorTable = {Red,Green,Blue};
// Let's load the views one by one:
For
i
In
{
0
:
1000
}
// we have 1001 views
For
i
In
{
1
:
4
}
If
(
!
i
)
If
(
i
==
1
)
// we force the bounding box to be the one of the first view:
MergeWithBoundingBox
"view
0
.pos"
;
MergeWithBoundingBox
"
../../tutorial/
view
1
.pos"
;
EndIf
If
(
i
)
If
(
i
>
1
)
// we merge the other views using the same bounding box as the
// first one:
Merge
Sprintf
(
"view%g.pos"
,
i
);
Merge
Sprintf
(
"
../../tutorial/
view%g.pos"
,
i
);
EndIf
Draw
;
Print
Sprintf
(
"out%g.
jpeg
"
,
i
);
Print
Sprintf
(
"out%g.
gif
"
,
i
);
// and we delete the view:
Delete
View
[
0
];
...
...
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