diff options
author | 2019-09-10 15:30:42 -0700 | |
---|---|---|
committer | 2019-09-10 15:30:42 -0700 | |
commit | 92ca33e8f280f91b46be678e4a227ab7da7b758d (patch) | |
tree | 004250b0d1d9f30b9f493404a1f73a65087db296 /Source | |
parent | 43fa427116b82ab66c49730af9b552f6e5fda5e0 (diff) | |
download | WarpX-92ca33e8f280f91b46be678e4a227ab7da7b758d.tar.gz WarpX-92ca33e8f280f91b46be678e4a227ab7da7b758d.tar.zst WarpX-92ca33e8f280f91b46be678e4a227ab7da7b758d.zip |
make function declaration and definition consistent on restrict
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Laser/LaserParticleContainer.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Laser/LaserParticleContainer.H b/Source/Laser/LaserParticleContainer.H index cd9156961..a73e9cf15 100644 --- a/Source/Laser/LaserParticleContainer.H +++ b/Source/Laser/LaserParticleContainer.H @@ -53,8 +53,8 @@ public: amrex::Real * const amplitude); void calculate_laser_plane_coordinates (const int np, const int thread_num, - amrex::Real * const pplane_Xp, - amrex::Real * const pplane_Yp); + amrex::Real * const AMREX_RESTRICT pplane_Xp, + amrex::Real * const AMREX_RESTRICT pplane_Yp); void update_laser_particle (const int np, amrex::Real * const puxp, amrex::Real * const puyp, |