diff options
Diffstat (limited to 'intern/elbeem')
-rw-r--r-- | intern/elbeem/intern/solver_init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/elbeem/intern/solver_init.cpp b/intern/elbeem/intern/solver_init.cpp index fcb9cbf937c..31372f12282 100644 --- a/intern/elbeem/intern/solver_init.cpp +++ b/intern/elbeem/intern/solver_init.cpp @@ -799,6 +799,7 @@ bool LbmFsgrSolver::initializeSolverMemory() mLevel[i].avgOmegaCnt = 0.0; } +#if PARALLEL == 1 /* // DG: this would be the correct sanity check, not the "hack below" */ // if(( mSizey / mNumOMPThreads) * mNumOMPThreads != mSizey) { @@ -807,6 +808,7 @@ bool LbmFsgrSolver::initializeSolverMemory() if( mSizey < mNumOMPThreads ) { setNumOMPThreads(mSizey); } +#endif // init sizes mLevel[mMaxRefine].lSizex = mSizex; |