Line
Link Here
|
0 |
-- a/intern/elbeem/intern/solver_main.cpp |
0 |
++ b/intern/elbeem/intern/solver_main.cpp |
Lines 381-387
LbmFsgrSolver::mainLoop(const int lev)
Link Here
|
381 |
GRID_REGION_INIT(); |
381 |
GRID_REGION_INIT(); |
382 |
#if PARALLEL==1 |
382 |
#if PARALLEL==1 |
383 |
const int gDebugLevel = ::gDebugLevel; |
383 |
const int gDebugLevel = ::gDebugLevel; |
384 |
#pragma omp parallel default(none) num_threads(mNumOMPThreads) \ |
384 |
#pragma omp parallel default(none) firstprivate(gDebugLevel,iend,lev,cutConst) num_threads(mNumOMPThreads) \ |
385 |
reduction(+: \ |
385 |
reduction(+: \ |
386 |
calcCurrentMass,calcCurrentVolume, \ |
386 |
calcCurrentMass,calcCurrentVolume, \ |
387 |
calcCellsFilled,calcCellsEmptied, \ |
387 |
calcCellsFilled,calcCellsEmptied, \ |
Lines 1126-1132
LbmFsgrSolver::preinitGrids()
Link Here
|
1126 |
GRID_REGION_INIT(); |
1126 |
GRID_REGION_INIT(); |
1127 |
#if PARALLEL==1 |
1127 |
#if PARALLEL==1 |
1128 |
const int gDebugLevel = ::gDebugLevel; |
1128 |
const int gDebugLevel = ::gDebugLevel; |
1129 |
#pragma omp parallel default(none) num_threads(mNumOMPThreads) \ |
1129 |
#pragma omp parallel default(none) firstprivate(gDebugLevel,iend,lev) num_threads(mNumOMPThreads) \ |
1130 |
reduction(+: \ |
1130 |
reduction(+: \ |
1131 |
calcCurrentMass,calcCurrentVolume, \ |
1131 |
calcCurrentMass,calcCurrentVolume, \ |
1132 |
calcCellsFilled,calcCellsEmptied, \ |
1132 |
calcCellsFilled,calcCellsEmptied, \ |
Lines 1164-1170
LbmFsgrSolver::standingFluidPreinit()
Link Here
|
1164 |
GRID_REGION_INIT(); |
1164 |
GRID_REGION_INIT(); |
1165 |
#if PARALLEL==1 |
1165 |
#if PARALLEL==1 |
1166 |
const int gDebugLevel = ::gDebugLevel; |
1166 |
const int gDebugLevel = ::gDebugLevel; |
1167 |
#pragma omp parallel default(none) num_threads(mNumOMPThreads) \ |
1167 |
#pragma omp parallel default(none) firstprivate(gDebugLevel,iend,lev) num_threads(mNumOMPThreads) \ |
1168 |
reduction(+: \ |
1168 |
reduction(+: \ |
1169 |
calcCurrentMass,calcCurrentVolume, \ |
1169 |
calcCurrentMass,calcCurrentVolume, \ |
1170 |
calcCellsFilled,calcCellsEmptied, \ |
1170 |
calcCellsFilled,calcCellsEmptied, \ |