Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSinn committed Dec 20, 2023
1 parent bd6e9a0 commit be92612
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/laser/MultiLaser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ MultiLaser::GetEnvelopeFromFile (const amrex::Geometry& gm) {
amrex::Real zmin_laser = offset[0] + position[0]*spacing[0];
amrex::Real ymin_laser = offset[1] + position[1]*spacing[1];
amrex::Real xmin_laser = offset[2] + position[2]*spacing[2];
AMREX_ALWAYS_ASSERT(position[0] == 0 && position[1] == 0 && position[2] == 0);


for (int k = kmin; k <= domain.bigEnd(2); ++k) {
for (int j = jmin; j <= domain.bigEnd(1); ++j) {
Expand Down

0 comments on commit be92612

Please sign in to comment.