Skip to content

Commit 261690e

Browse files
committed
psc: don't add conducting BC to CUDA mfields
1 parent 34002aa commit 261690e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/include/psc.hxx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ struct Psc
149149
}
150150
}
151151

152+
#ifndef USE_CUDA
152153
for (int d = 0; d < 3; d++) {
153154
using psc::bnd::LoHi;
154155
using psc::bnd::field::ConductingWall;
@@ -160,6 +161,7 @@ struct Psc
160161
add_field_bc(new ConductingWall<Dim, MfieldsState>{d, LoHi::Hi});
161162
}
162163
}
164+
#endif
163165

164166
int rank;
165167
MPI_Comm_rank(MPI_COMM_WORLD, &rank);

0 commit comments

Comments
 (0)