mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 22:50:33 +05:00
periodic visualization of vector components
This commit is contained in:
parent
10a246055c
commit
088bda222f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user