Skip to content

Commit 9aca2a6

Browse files
authored
Fix compilation of RZ version on GPU (#3418)
1 parent 71ca756 commit 9aca2a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Source/Particles/Collision/BinaryCollision/NuclearFusion/NuclearFusionFunc.H

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ public:
197197
}
198198

199199
#if (defined WARPX_DIM_RZ)
200-
/* This momentum rotation is analogous to the one in ElasticCollisionPerez.H. */
201-
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(WarpX::n_rz_azimuthal_modes==1,
202-
"RZ mode `warpx.n_rz_azimuthal_modes` must be 1 when using the binary nuclear fusion module.");
203200
amrex::ParticleReal * const AMREX_RESTRICT theta1 = soa_1.m_rdata[PIdx::theta];
204201
amrex::ParticleReal * const AMREX_RESTRICT theta2 = soa_2.m_rdata[PIdx::theta];
205202
#endif

0 commit comments

Comments
 (0)