#include <LaserProfiles.H>
◆ fill_amplitude()
Fill Electric Field Amplitude for each particle of the antenna.
Xp, Yp and amplitude must be arrays with the same length
- Parameters
-
[in] | np | number of antenna particles |
[in] | Xp | X coordinate of the particles of the antenna |
[in] | Yp | Y coordinate of the particles of the antenna |
[in] | t | time (seconds) |
[out] | amplitude | of the electric field (V/m) |
Implements WarpXLaserProfiles::ILaserProfile.
◆ init()
Initialize Laser Profile
Reads the section of the inputfile relative to the laser beam (e.g. laser_name.profile_t_peak, laser_name.profile_duration...) and the "my_constants" section. It also receives some common laser profile parameters. It uses these data to initialize the member variables of the laser profile class.
- Parameters
-
Implements WarpXLaserProfiles::ILaserProfile.
◆ update()
void WarpXLaserProfiles::GaussianLaserProfile::update |
( |
amrex::Real |
t | ) |
|
|
inlinefinalvirtual |
Update Laser Profile
Some laser profiles might need to perform an "update" operation per time step.
- Parameters
-
[in] | t | Current physical time in the simulation (seconds) |
Implements WarpXLaserProfiles::ILaserProfile.
◆ beta
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::beta = 0 |
◆ duration
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::duration = std::numeric_limits<amrex::Real>::quiet_NaN() |
◆ focal_distance
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::focal_distance = std::numeric_limits<amrex::Real>::quiet_NaN() |
◆ m_common_params
struct { ... } WarpXLaserProfiles::GaussianLaserProfile::m_params |
◆ phi0
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::phi0 = 0 |
◆ phi2
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::phi2 = 0 |
◆ stc_direction
amrex::Vector<amrex::Real> WarpXLaserProfiles::GaussianLaserProfile::stc_direction |
◆ t_peak
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::t_peak = std::numeric_limits<amrex::Real>::quiet_NaN() |
◆ theta_stc
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::theta_stc |
Direction of the spatio-temporal couplings.
◆ waist
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::waist = std::numeric_limits<amrex::Real>::quiet_NaN() |
◆ zeta
amrex::Real WarpXLaserProfiles::GaussianLaserProfile::zeta = 0 |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Laser/LaserProfiles.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp