Skip to content

Commit

Permalink
change the definition of clight in gaussian init
Browse files Browse the repository at this point in the history
  • Loading branch information
huixingjian committed Oct 2, 2024
1 parent b218ca3 commit 2fadc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/laser/MultiLaser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ MultiLaser::InitLaserSlice (const int islice, const int comp)
const amrex::Real zeta = laser.m_zeta;
const amrex::Real beta = laser.m_beta;
const amrex::Real phi2 = laser.m_phi2;
const amrex::Real clight = PhysConstSI::c;
const amrex::Real clight = get_phys_const().c;
const amrex::Real theta_xy = laser.m_chirp_theta_xy;
amrex::ParallelFor(
bx,
Expand Down

0 comments on commit 2fadc4b

Please sign in to comment.