Skip to content

Commit 0ecfef0

Browse files
committed
Formatting
1 parent b34930c commit 0ecfef0

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

Src/LinearSolvers/MLMG/AMReX_MLCellABecLap.H

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,18 @@ public:
4747
#ifdef AMREX_USE_OMP
4848
#pragma omp parallel if(Gpu::notInLaunchRegion())
4949
#endif
50-
for (MFIter mfi(*m_overset_mask[amrlev][0], TilingIfNotGPU());mfi.isValid();++mfi){
51-
Array4<int const> const& amsk = a_mask.const_array(mfi);
52-
Array4<int> const& omsk = m_overset_mask[amrlev][0]->array(mfi);
53-
Box const& bx = mfi.tilebox();
54-
AMREX_HOST_DEVICE_PARALLEL_FOR_3D(bx,i,j,k,
55-
{
56-
omsk(i,j,k) = 1-amsk(i,j,k);
57-
});
58-
}
50+
for (MFIter mfi(*m_overset_mask[amrlev][0], TilingIfNotGPU());mfi.isValid();++mfi)
51+
{
52+
Array4<int const> const& amsk = a_mask.const_array(mfi);
53+
Array4<int> const& omsk = m_overset_mask[amrlev][0]->array(mfi);
54+
Box const& bx = mfi.tilebox();
55+
AMREX_HOST_DEVICE_PARALLEL_FOR_3D(bx,i,j,k,
56+
{
57+
omsk(i,j,k) = 1-amsk(i,j,k);
58+
});
59+
}
5960

60-
}
61+
}
6162

6263

6364
[[nodiscard]] bool needsUpdate () const override {

0 commit comments

Comments
 (0)