WarpX
Loading...
Searching...
No Matches
Drift Struct Reference

#include <Drift.H>

Inheritance diagram for Drift:
LatticeElementBase

Public Member Functions

 Drift ()
void AddElement (amrex::ParmParse &pp_element, amrex::ParticleReal &z_location)
 Read in an element and add it to the lists.
Public Member Functions inherited from LatticeElementBase
 LatticeElementBase (std::string const &element_name)
 LatticeElementBase constructor This gets the input z extent of the element and check for its correctness.
void AddElementBase (amrex::ParmParse &pp_element, amrex::ParticleReal &z_location)
 Read in an element base data and add it to the lists.
void WriteToDeviceBase ()
 Write the base element information to the device.

Additional Inherited Members

Public Attributes inherited from LatticeElementBase
std::string m_element_name
int nelements = 0
std::vector< amrex::ParticleRealh_zs
std::vector< amrex::ParticleRealh_ze
amrex::Gpu::DeviceVector< amrex::ParticleReald_zs
amrex::Gpu::DeviceVector< amrex::ParticleReald_ze

Constructor & Destructor Documentation

◆ Drift()

Drift::Drift ( )

Member Function Documentation

◆ AddElement()

void Drift::AddElement ( amrex::ParmParse & pp_element,
amrex::ParticleReal & z_location )

Read in an element and add it to the lists.

Parameters
[in]pp_elementThe ParmParse instance to read in the data
[in,out]z_locationThe current z location in the lattice

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