Skip to content

Commit 8d7f881

Browse files
committed
Code formatting.
1 parent 9bb27e8 commit 8d7f881

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

Common/include/parallelization/omp_structure.hpp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,16 +188,14 @@ void omp_finalize();
188188
* thread, with all threads and memory views synchronized both beforehand and afterwards.
189189
*/
190190

191-
#define BEGIN_SU2_OMP_SAFE_GLOBAL_ACCESS \
192-
SU2_OMP_BARRIER \
193-
if (omp_in_parallel()) \
194-
AD::StartNoSharedReading(); \
191+
#define BEGIN_SU2_OMP_SAFE_GLOBAL_ACCESS \
192+
SU2_OMP_BARRIER \
193+
if (omp_in_parallel()) AD::StartNoSharedReading(); \
195194
SU2_OMP_MASTER
196195

197-
#define END_SU2_OMP_SAFE_GLOBAL_ACCESS \
198-
END_SU2_OMP_MASTER \
199-
if (omp_in_parallel()) \
200-
AD::EndNoSharedReading(); \
196+
#define END_SU2_OMP_SAFE_GLOBAL_ACCESS \
197+
END_SU2_OMP_MASTER \
198+
if (omp_in_parallel()) AD::EndNoSharedReading(); \
201199
SU2_OMP_BARRIER
202200

203201
#define SU2_OMP_SAFE_GLOBAL_ACCESS(...) BEGIN_SU2_OMP_SAFE_GLOBAL_ACCESS{__VA_ARGS__} END_SU2_OMP_SAFE_GLOBAL_ACCESS

0 commit comments

Comments
 (0)