diff options
author | 2020-01-10 08:02:18 -0800 | |
---|---|---|
committer | 2020-01-10 08:02:18 -0800 | |
commit | 8df823565b860150ee619f7b431aa513b03a7297 (patch) | |
tree | beacf7b61404f8468d6429b40ca64ec0f57303bc /Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp | |
parent | 60ec41dee3ac7630d4589abf227a3cf4503c7a7d (diff) | |
parent | 1d1e34bac4cb1d0ca6cde0e10811d58d76671026 (diff) | |
download | WarpX-8df823565b860150ee619f7b431aa513b03a7297.tar.gz WarpX-8df823565b860150ee619f7b431aa513b03a7297.tar.zst WarpX-8df823565b860150ee619f7b431aa513b03a7297.zip |
Merge pull request #532 from lucafedeli88/add_harmonic_beam
Inject a laser from an E(x,y,t) file
Diffstat (limited to 'Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp')
-rw-r--r-- | Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp index 3c9d7379a..d34bc6aba 100644 --- a/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp +++ b/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp @@ -37,7 +37,7 @@ FieldFunctionLaserProfile::init ( void FieldFunctionLaserProfile::fill_amplitude ( const int np, Real const * AMREX_RESTRICT const Xp, Real const * AMREX_RESTRICT const Yp, - Real t, Real * AMREX_RESTRICT const amplitude) + Real t, Real * AMREX_RESTRICT const amplitude) const { for (int i = 0; i < np; ++i) { amplitude[i] = m_parser.eval(Xp[i], Yp[i], t); |