aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp')
-rw-r--r--Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
index dd59bd225..d36386591 100644
--- a/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
+++ b/Source/Laser/LaserProfilesImpl/LaserProfileFromTXYEFile.cpp
@@ -425,6 +425,11 @@ WarpXLaserProfiles::FromTXYEFileLaserProfile::internal_fill_amplitude_uniform(
p_E_data[idx(idx_t_right, idx_x_right)],
t, Xp[i])*tmp_e_max;
amrex::ignore_unused(Yp);
+#else
+ // TODO: implement WARPX_DIM_1D_Z
+ amrex::ignore_unused(x_0, x_1, tmp_e_max, p_E_data, tmp_idx_first_time,
+ t_left, t_right, Xp, Yp, t, idx_x_left);
+ amrex::Abort("WarpXLaserProfiles::FromTXYEFileLaserProfile Not implemented for the current geometry");
#endif
}
);
@@ -522,6 +527,11 @@ WarpXLaserProfiles::FromTXYEFileLaserProfile::internal_fill_amplitude_nonuniform
p_E_data[idx(idx_t_right, idx_x_left)],
p_E_data[idx(idx_t_right, idx_x_right)],
t, Xp[ip])*tmp_e_max;
+#else
+ // TODO: implement WARPX_DIM_1D_Z
+ amrex::ignore_unused(idx_x_left, idx_t_left, idx_t_right, tmp_e_max,
+ p_E_data, tmp_idx_first_time, t_left, t_right, t);
+ amrex::Abort("WarpXLaserProfiles::FromTXYEFileLaserProfile Not implemented for the current geometry");
#endif
}
);