File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments