mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix vector-plot for 1D elements
This commit is contained in:
parent
b85fe2898e
commit
c79f589531
@ -1191,7 +1191,7 @@ namespace netgen
|
||||
vsol->solclass->GetSegmentValue (i, pref[j], &mvalues[0]);
|
||||
// values[j] = ExtractValue (sol, scalcomp, &mvalues[0]);
|
||||
for (int k = 0; k < min(ncomp, 3); k++)
|
||||
points[j](k) += scaledeform * mvalues[0];
|
||||
points[j](k) += scaledeform * mvalues[k];
|
||||
// points[j](0) += scaledeform * mvalues[0];
|
||||
// points[j](1) += scaledeform * mvalues[1];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user