Skip to content
Snippets Groups Projects
Commit 703dfe62 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Note on Combine view + save bug
parent 8462c1fd
No related branches found
No related tags found
No related merge requests found
// $Id: Views.cpp,v 1.85 2003-01-23 20:19:17 geuzaine Exp $
// $Id: Views.cpp,v 1.86 2003-02-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 complicated: have to change the indices
merge(v->T2D,vm->T2D);
merge(v->T2C,vm->T2C); v->NbT2 += vm->NbT2;
merge(v->T3D,vm->T3D);
......
$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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment