Skip to content

Commit f397b5e

Browse files
committed
Atomics not needed.
1 parent dac909a commit f397b5e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

SU2_CFD/src/solvers/CNSSolver.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,6 @@ void CNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_container,
926926
/*--- Automatic switch off when y+ < "limit" according to Nichols & Nelson (2004) ---*/
927927

928928
if (Y_Plus_Start < config->GetwallModel_MinYPlus()) {
929-
SU2_OMP_ATOMIC
930929
smallYPlusCounter++;
931930
continue;
932931
}
@@ -1000,7 +999,6 @@ void CNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_container,
1000999

10011000
counter++;
10021001
if (counter > max_iter) {
1003-
SU2_OMP_ATOMIC
10041002
notConvergedCounter++;
10051003
// use some safe values for convergence
10061004
Y_Plus = 30.0;

0 commit comments

Comments
 (0)