#include <AcceleratorLattice.H>
◆ AcceleratorLattice()
| AcceleratorLattice::AcceleratorLattice |
( |
| ) |
|
◆ GetFinderDeviceInstance()
Return an instance of a lattice finder associated with the grid and that can be used on the device (such as a GPU)
- Parameters
-
| [in] | a_pti | the grid where the finder is needed |
| [in] | a_offset | the particle offset since the finded needs information about the particles as well |
| [in] | dts | vector containing the timestep sizes at all refinement levels |
◆ InitElementFinder()
Initialize the element finder instance at the given level of refinement.
- Parameters
-
| [in] | lev | the level of refinement |
| [in] | gamma_boost | the Lorentz factor of the boosted frame |
| [in] | time | the current time at all refinement levels |
| [in] | ba | the box array at the level of refinement |
| [in] | dm | the distribution map at the level of refinement |
◆ ReadLattice()
| void AcceleratorLattice::ReadLattice |
( |
std::string const & | root_name, |
|
|
amrex::ParticleReal & | z_location ) |
Read in the MAD like lattice description.
- Parameters
-
| [in] | root_name | base name for the input variables |
| [in] | z_location | starting z location for the lattice |
◆ UpdateElementFinder()
| void AcceleratorLattice::UpdateElementFinder |
( |
int | lev, |
|
|
const amrex::Vector< amrex::Real > & | time ) |
Update the element finder, needed when the simulation frame has moved relative to the lab frame.
- Parameters
-
| [in] | lev | the level of refinement |
| [in] | time | the current time at all refinement levels |
◆ h_drift
| Drift AcceleratorLattice::h_drift |
◆ h_plasmalens
◆ h_quad
◆ m_element_finder
◆ m_lattice_defined
| bool AcceleratorLattice::m_lattice_defined = false |
◆ m_level
| int AcceleratorLattice::m_level |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6270/Source/AcceleratorLattice/AcceleratorLattice.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6270/Source/AcceleratorLattice/AcceleratorLattice.cpp