periodic visualization of vector components

This commit is contained in:
Joachim Schoeberl 2014-01-27 12:31:03 +00:00
parent 10a246055c
commit 088bda222f

View File

@ -2397,7 +2397,7 @@ namespace netgen
// bool considerElem; // bool considerElem;
bool hasit = false; bool hasit = false;
#ifdef max; #ifdef max
#undef max; #undef max;
#endif #endif
minv = numeric_limits<double>::max(); minv = numeric_limits<double>::max();
@ -4175,8 +4175,8 @@ namespace netgen
vals[ii] = ExtractValue(sol, scalcomp, &mvalues[ii*sol->components]); vals[ii] = ExtractValue(sol, scalcomp, &mvalues[ii*sol->components]);
else else
for (int ii = 0; ii < nlp; ii++) for (int ii = 0; ii < nlp; ii++)
valsc[ii] = complex<double> (mvalues[ii*sol->components], valsc[ii] = complex<double> (mvalues[ii*sol->components + scalcomp-1],
mvalues[ii*sol->components+1]); mvalues[ii*sol->components + scalcomp]);
} }
if(ok) if(ok)