Skip to content

Commit 75da770

Browse files
authored
Convert _OPENMP to AMREX_USE_OMP (#170)
There is currently a mix of `_OPENMP` and `AMREX_USE_OMP` in this repo. Should we convert all to `AMREX_USE_OMP`?
1 parent 756c76a commit 75da770

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

EBGodunov/hydro_ebgodunov_extrap_vel_to_faces.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ EBGodunov::ExtrapVelToFaces ( MultiFab const& vel,
4747
w_mac.setVal(hydro_covered_val););
4848

4949
const int ncomp = AMREX_SPACEDIM;
50-
#ifdef _OPENMP
50+
#ifdef AMREX_USE_OMP
5151
#pragma omp parallel if (Gpu::notInLaunchRegion())
5252
#endif
5353
{

EBMOL/hydro_ebmol_extrap_vel_to_faces.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ EBMOL::ExtrapVelToFaces ( const MultiFab& a_vel,
3636
auto const& ccent = fact.getCentroid();
3737
#endif
3838

39-
#ifdef _OPENMP
39+
#ifdef AMREX_USE_OMP
4040
#pragma omp parallel if (Gpu::notInLaunchRegion())
4141
#endif
4242
{

Godunov/hydro_godunov_extrap_vel_to_faces_2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Godunov::ExtrapVelToFaces ( MultiFab const& a_vel,
2828
Box const& domain = geom.Domain();
2929
const Real* dx = geom.CellSize();
3030
const int ncomp = AMREX_SPACEDIM;
31-
#ifdef _OPENMP
31+
#ifdef AMREX_USE_OMP
3232
#pragma omp parallel if (Gpu::notInLaunchRegion())
3333
#endif
3434
{

Godunov/hydro_godunov_extrap_vel_to_faces_3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Godunov::ExtrapVelToFaces ( MultiFab const& a_vel,
3131
const Real* dx = geom.CellSize();
3232

3333
const int ncomp = AMREX_SPACEDIM;
34-
#ifdef _OPENMP
34+
#ifdef AMREX_USE_OMP
3535
#pragma omp parallel if (Gpu::notInLaunchRegion())
3636
#endif
3737
{

MOL/hydro_mol_extrap_vel_to_faces.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ MOL::ExtrapVelToFaces ( const MultiFab& a_vel,
2626
{
2727
BL_PROFILE("MOL::ExtrapVelToFaces");
2828

29-
#ifdef _OPENMP
29+
#ifdef AMREX_USE_OMP
3030
#pragma omp parallel if (Gpu::notInLaunchRegion())
3131
#endif
3232
{

0 commit comments

Comments
 (0)