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

Oops! fixed vector/tensor _getValue for GModel-based datasets

parent f461928f
No related branches found
No related tags found
No related merge requests found
...@@ -369,7 +369,7 @@ bool OctreePost::_getValue(void *in, int nbComp, double P[3], int timestep, ...@@ -369,7 +369,7 @@ bool OctreePost::_getValue(void *in, int nbComp, double P[3], int timestep,
} }
} }
for(int comp = 0; comp < nbComp; comp++){ for(int comp = 0; comp < nbComp; comp++){
double val = e->interpolate(nodeval, U[0], U[1], U[2], nbComp); double val = e->interpolate(&nodeval[comp], U[0], U[1], U[2], nbComp);
if(timestep < 0) if(timestep < 0)
values[nbComp * step + comp] = val; values[nbComp * step + comp] = val;
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment