Building elbeem without openmp failed

This commit is contained in:
Campbell Barton 2014-02-06 02:26:08 +11:00
parent 4b3865be4e
commit 6bb090f4bb

@ -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;