aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/ElementaryProcess')
-rw-r--r--Source/Particles/ElementaryProcess/QEDSchwingerProcess.H5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H b/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H
index c3582563b..6867544b8 100644
--- a/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H
+++ b/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H
@@ -78,7 +78,10 @@ struct SchwingerTransformFunc
const amrex::Real total_weight) const noexcept
{
for (int n = 0; n < N; ++n){
-#if (AMREX_SPACEDIM == 3)
+#if (AMREX_SPACEDIM == 1)
+ amrex::ignore_unused(dst1, dst2, i_dst1, i_dst2, N, total_weight);
+ amrex::Abort("SchwingerTransformFunc not implemented in 1D");
+#elif (AMREX_SPACEDIM == 3)
dst1.m_rdata[m_weight_index][i_dst1+n] = total_weight/N;
dst2.m_rdata[m_weight_index][i_dst2+n] = total_weight/N;
#elif (AMREX_SPACEDIM == 2)