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

iView was wrong

parent d9180668
No related branches found
No related tags found
No related merge requests found
// $Id: Integrate.cpp,v 1.27 2008-05-12 20:24:05 geuzaine Exp $ // $Id: Integrate.cpp,v 1.28 2008-07-01 11:50:01 geuzaine Exp $
// //
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -77,13 +77,12 @@ void GMSH_IntegratePlugin::catchErrorMessage(char *errorMessage) const ...@@ -77,13 +77,12 @@ void GMSH_IntegratePlugin::catchErrorMessage(char *errorMessage) const
PView *GMSH_IntegratePlugin::execute(PView * v) PView *GMSH_IntegratePlugin::execute(PView * v)
{ {
int iView = (int)IntegrateOptions_Number[1].def; int iView = (int)IntegrateOptions_Number[0].def;
PView *v1 = getView(iView, v); PView *v1 = getView(iView, v);
if(!v1) return v; if(!v1) return v;
PViewData *data1 = v1->getData(); PViewData *data1 = v1->getData();
PView *v2 = new PView(true); PView *v2 = new PView(true);
PViewDataList *data2 = getDataList(v2); PViewDataList *data2 = getDataList(v2);
...@@ -113,6 +112,7 @@ PView *GMSH_IntegratePlugin::execute(PView * v) ...@@ -113,6 +112,7 @@ PView *GMSH_IntegratePlugin::execute(PView * v)
data1->getValue(step, ent, ele, nod, comp, val[numComp * nod + comp]); data1->getValue(step, ent, ele, nod, comp, val[numComp * nod + comp]);
} }
elementFactory factory; elementFactory factory;
printf("dim=%d numEdges=%d\n", dim, numEdges);
element *element = factory.create(numNodes, dim, x, y, z); element *element = factory.create(numNodes, dim, x, y, z);
if(!element) continue; if(!element) continue;
if(scalar) if(scalar)
......
$Id: VERSIONS,v 1.412 2008-06-28 17:06:55 geuzaine Exp $ $Id: VERSIONS,v 1.413 2008-07-01 11:50:01 geuzaine Exp $
2.2.3 (): enhanced clipping interface. 2.2.3 (): enhanced clipping interface; fixed small bugs (Integrate
plugin).
2.2.2 (Jun 20, 2008): added geometrical transformations on volumes; 2.2.2 (Jun 20, 2008): added geometrical transformations on volumes;
fixed bug in high order mesh generation. fixed bug in high order mesh generation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment