ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
elecstate::TDTrapezoidProfile Class Reference

Carrier cosine with linear-rise, plateau, and linear-fall envelope. More...

#include <td_field_profiles.h>

Inheritance diagram for elecstate::TDTrapezoidProfile:
Collaboration diagram for elecstate::TDTrapezoidProfile:

Public Member Functions

 TDTrapezoidProfile (double omega, double phase, double rise_end_step, double plateau_end_step, double fall_end_step, double amplitude)
 Construct a trapezoidal-envelope field profile.
double electric_field (const TDFieldSample &sample) const override
 Evaluate the electric field at one sampling point.
Public Member Functions inherited from elecstate::TDFieldProfile
virtual ~TDFieldProfile ()=default
 Destroy the polymorphic field profile.

Private Attributes

double omega_
double phase_
double rise_end_step_
double plateau_end_step_
double fall_end_step_
double amplitude_

Detailed Description

Carrier cosine with linear-rise, plateau, and linear-fall envelope.

Constructor & Destructor Documentation

◆ TDTrapezoidProfile()

elecstate::TDTrapezoidProfile::TDTrapezoidProfile ( double omega,
double phase,
double rise_end_step,
double plateau_end_step,
double fall_end_step,
double amplitude )

Construct a trapezoidal-envelope field profile.

Parameters
omegaAngular frequency in internal units.
phaseCarrier phase in radians.
rise_end_stepEnd of the linear rise in electronic-step units.
plateau_end_stepEnd of the plateau in electronic-step units.
fall_end_stepEnd of the linear fall in electronic-step units.
amplitudePeak field amplitude in internal units.

Member Function Documentation

◆ electric_field()

double elecstate::TDTrapezoidProfile::electric_field ( const TDFieldSample & sample) const
overridevirtual

Evaluate the electric field at one sampling point.

Parameters
sampleElectronic-step and Simpson-node sampling information.
Returns
Scalar field value in Hartree atomic units.

Implements elecstate::TDFieldProfile.

Here is the call graph for this function:

Member Data Documentation

◆ amplitude_

double elecstate::TDTrapezoidProfile::amplitude_
private

◆ fall_end_step_

double elecstate::TDTrapezoidProfile::fall_end_step_
private

◆ omega_

double elecstate::TDTrapezoidProfile::omega_
private

◆ phase_

double elecstate::TDTrapezoidProfile::phase_
private

◆ plateau_end_step_

double elecstate::TDTrapezoidProfile::plateau_end_step_
private

◆ rise_end_step_

double elecstate::TDTrapezoidProfile::rise_end_step_
private

The documentation for this class was generated from the following files: