diff --git a/src/laser/Laser.H b/src/laser/Laser.H index 8d51cf2d31..2a357ff1cb 100644 --- a/src/laser/Laser.H +++ b/src/laser/Laser.H @@ -16,19 +16,9 @@ class Laser { public: + Laser (std::string name); -/* - amrex::Real getA0 () {return m_a0}; - amrex::Real getK0 () {return m_k0}; - amrex::Real getW0 () {return m_w0}; - amrex::Real getL0 () {return m_l0}; - amrex::Real getTau () {return m_tau}; - amrex::Real getLambda () {return m_lambda0}; - amrex::Real getFoc () {return m_focal_distance}; - amrex::Real getX0 () {return m_position_mean[0]}; - amrex::Real getY0 () {return m_position_mean[1]}; - amrex::Real getZ0 () {return m_position_mean[2]}; -*/ + std::string m_name {""}; amrex::Real m_a0 {0.}; /**< Laser peak normalized amplitude */ amrex::Real m_w0 {0.}; /**< Laser waist */ diff --git a/src/laser/MultiLaser.H b/src/laser/MultiLaser.H index 12e108e361..e79aef62a1 100644 --- a/src/laser/MultiLaser.H +++ b/src/laser/MultiLaser.H @@ -181,16 +181,6 @@ public: private: -/* - amrex::Gpu::DeviceVector getA0s (); - amrex::Gpu::DeviceVector getK0s (); - amrex::Gpu::DeviceVector getW0s (); - amrex::Gpu::DeviceVector getX0s (); - amrex::Gpu::DeviceVector getY0s (); - amrex::Gpu::DeviceVector getZ0s (); - amrex::Gpu::DeviceVector getL0s (); - amrex::Gpu::DeviceVector getZfocs (); -*/ /** Laser central wavelength. * he central wavelength influences the solver. As long as all the lasers are on the same grid * (part of MultiLaser), this must be a property of MultiLaser. */ diff --git a/src/laser/MultiLaser.cpp b/src/laser/MultiLaser.cpp index 8afde13647..c219739f04 100644 --- a/src/laser/MultiLaser.cpp +++ b/src/laser/MultiLaser.cpp @@ -761,70 +761,3 @@ MultiLaser::InitLaserSlice (const amrex::Geometry& geom, const int islice) } } } -/* -amrex::Gpu::DeviceVector -MultiLaser::getA0s () -{ - amrex::Gpu::DeviceVector a0s(m_nlasers); - for (int i=0; i -MultiLaser::getK0s () -{ - amrex::Gpu::DeviceVector k0s(m_nlasers); - for (int i=0; i -MultiLaser::getW0s () -{ - amrex::Gpu::DeviceVector w0s(m_nlasers); - for (int i=0; i -MultiLaser::getX0s () -{ - amrex::Gpu::DeviceVector x0s(m_nlasers); - for (int i=0; i -MultiLaser::getY0s () -{ - amrex::Gpu::DeviceVector y0s(m_nlasers); - for (int i=0; i -MultiLaser::getX0s () -{ - amrex::Gpu::DeviceVector x0s(m_nlasers); - for (int i=0; i getX0s (); - amrex::Gpu::DeviceVector getY0s (); - amrex::Gpu::DeviceVector getZ0s (); - amrex::Gpu::DeviceVector getL0s (); - amrex::Gpu::DeviceVector getZfocs (); -*/