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

*** empty log message ***

parent bd4ffba6
No related branches found
No related tags found
No related merge requests found
/* $Id: Views.cpp,v 1.8 2000-11-27 14:23:18 geuzaine Exp $ */
/* $Id: Views.cpp,v 1.9 2000-11-27 14:27:34 geuzaine Exp $ */
#include "Gmsh.h"
#include "Views.h"
......@@ -339,6 +339,8 @@ void Stat_VectorSimplex(int nbnod, double *coord, int N, double *V){
if(l0 > ActualView->Max) ActualView->Max = l0 ;
}
ActualView->ScalarOnly = 0;
switch(nbnod){
case 1 : NbPoints++; break;
case 2 : NbLines++; break;
......
/* $Id: Views.h,v 1.7 2000-11-27 10:58:18 geuzaine Exp $ */
/* $Id: Views.h,v 1.8 2000-11-27 14:23:18 geuzaine Exp $ */
#ifndef _VIEWS_H_
#define _VIEWS_H_
......@@ -78,9 +78,9 @@ void FreeView(Post_View *v);
void Read_View(FILE *file, char *filename);
void CopyViewOptions(Post_View *src, Post_View *dest);
void Stat_ScalarSimplex(int dim, double *coord, int N, double *v);
void Stat_VectorSimplex(int dim, double *coord, int N, double *v);
void Stat_TensorSimplex(int dim, double *coord, int N, double *v);
void Stat_ScalarSimplex(int nbnod, double *coord, int N, double *v);
void Stat_VectorSimplex(int nbnod, double *coord, int N, double *v);
void Stat_TensorSimplex(int nbnod, double *coord, int N, double *v);
int BGMWithView (Post_View *ErrView);
int CreateBGM(Post_View *ErrView, int OptiMethod, double Degree,
......
/* $Id: CbPost.cpp,v 1.7 2000-11-27 10:58:59 geuzaine Exp $ */
/* $Id: CbPost.cpp,v 1.8 2000-11-27 14:23:21 geuzaine Exp $ */
#include "Gmsh.h"
#include "GmshUI.h"
......@@ -128,7 +128,19 @@ void DuplicateViewCb (Widget w, XtPointer client_data, XtPointer call_data){
}
}
v2->Time = v1->Time;
v2->Time = v1->Time;
v2->NbSP = v1->NbSP; v2->SP = v1->SP;
v2->NbVP = v1->NbVP; v2->VP = v1->VP;
v2->NbTP = v1->NbTP; v2->TP = v1->TP;
v2->NbSL = v1->NbSL; v2->SL = v1->SL;
v2->NbVL = v1->NbVL; v2->VL = v1->VL;
v2->NbTL = v1->NbTL; v2->TL = v1->TL;
v2->NbST = v1->NbST; v2->ST = v1->ST;
v2->NbVT = v1->NbVT; v2->VT = v1->VT;
v2->NbTT = v1->NbTT; v2->TT = v1->TT;
v2->NbSS = v1->NbSS; v2->SS = v1->SS;
v2->NbVS = v1->NbVS; v2->VS = v1->VS;
v2->NbTS = v1->NbTS; v2->TS = v1->TS;
v2->ScalarOnly = v1->ScalarOnly;
v2->Min = v1->Min;
v2->Max = v1->Max;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment