#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 |
◆ InitElementFinder()
Initialize the element finder instance at the given level of refinement.
- Parameters
-
[in] | lev | the level of refinement |
[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 | ) |
|
Update the element finder, needed when the simulation frame has moved relative to the lab frame.
- Parameters
-
[in] | lev | the level of refinement |
◆ 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/latest/Source/AcceleratorLattice/AcceleratorLattice.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/AcceleratorLattice/AcceleratorLattice.cpp