Skip to content

Commit

Permalink
add call to other directive condition
Browse files Browse the repository at this point in the history
  • Loading branch information
roryslange committed Dec 8, 2024
1 parent b2b012e commit a7b92fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CalculateEnergy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ SystemPotential CalculateEnergy::BoxForce(SystemPotential potential,
reduction(+:tempREn, tempLJEn, aForcex[:atomCount], aForcey[:atomCount], \
aForcez[:atomCount], mForcex[:molCount], mForcey[:molCount], mForcez[:molCount])
#else
#pragma omp parallel for default(none) shared(boxAxes, cellStartIndex, \
#pragma omp parallel for collapse(3) schedule(dynamic) default(none) shared(boxAxes, cellStartIndex, \
cellVector, coords, mapParticleToCell, neighborList) \
reduction(+:tempREn, tempLJEn, aForcex[:atomCount], aForcey[:atomCount], \
aForcez[:atomCount], mForcex[:molCount], mForcey[:molCount], mForcez[:molCount])
Expand Down

0 comments on commit a7b92fb

Please sign in to comment.