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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
703dfe62
Commit
703dfe62
authored
22 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
Note on Combine view + save bug
parent
8462c1fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Common/Views.cpp
+2
-2
2 additions, 2 deletions
Common/Views.cpp
TODO
+20
-1
20 additions, 1 deletion
TODO
with
22 additions
and
3 deletions
Common/Views.cpp
+
2
−
2
View file @
703dfe62
// $Id: Views.cpp,v 1.8
5
2003-0
1-23 20:19:17
geuzaine Exp $
// $Id: Views.cpp,v 1.8
6
2003-0
2-05 02:05:21
geuzaine Exp $
//
// Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -1270,7 +1270,7 @@ void MergeViews(int all){
merge
(
v
->
SY
,
vm
->
SY
);
vm
->
NbSY
+=
v
->
NbSY
;
merge
(
v
->
VY
,
vm
->
VY
);
vm
->
NbVY
+=
v
->
NbVY
;
merge
(
v
->
TY
,
vm
->
TY
);
vm
->
NbTY
+=
v
->
NbTY
;
/* this more complicted: have to change the indices
/* this more complic
a
ted: have to change the indices
merge(v->T2D,vm->T2D);
merge(v->T2C,vm->T2C); v->NbT2 += vm->NbT2;
merge(v->T3D,vm->T3D);
...
...
This diff is collapsed.
Click to expand it.
TODO
+
20
−
1
View file @
703dfe62
$Id: TODO,v 1.8 2003-01-29 17:36:55 geuzaine Exp $
$Id: TODO,v 1.9 2003-02-05 02:05:21 geuzaine Exp $
=================================================================================
* Combine view + save view with != nb of time steps
gmsh tutorial/view*.pos
View->Combine->All
save merged view as ascii view
The resulting view is corrupted. This is due to the fact that
ascii/binary views do not support different number of time steps per
element type (here, we have e.g. 5 time steps for ST and only 1 for
SS), and the merge routine just adds everything instead of just the
values up to MIN(NbTimeStep for all merged views).
-> need to make merge() more intelligent. First pass on NbTimeStep,
then List_Add() only up to common TimeStep value.
=================================================================================
* Two-field plots <nicolas.moes@ec-nantes.fr>
...
...
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