mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40: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 hasit = false;
|
||||
#ifdef max;
|
||||
#ifdef max
|
||||
#undef max;
|
||||
#endif
|
||||
minv = numeric_limits<double>::max();
|
||||
@ -4175,8 +4175,8 @@ namespace netgen
|
||||
vals[ii] = ExtractValue(sol, scalcomp, &mvalues[ii*sol->components]);
|
||||
else
|
||||
for (int ii = 0; ii < nlp; ii++)
|
||||
valsc[ii] = complex<double> (mvalues[ii*sol->components],
|
||||
mvalues[ii*sol->components+1]);
|
||||
valsc[ii] = complex<double> (mvalues[ii*sol->components + scalcomp-1],
|
||||
mvalues[ii*sol->components + scalcomp]);
|
||||
}
|
||||
|
||||
if(ok)
|
||||
|
Loading…
Reference in New Issue
Block a user