#include <LatticeElementFinder.H>
◆ AllocateIndices()
void LatticeElementFinder::AllocateIndices |
( |
AcceleratorLattice const & |
accelerator_lattice | ) |
|
Allocate the index lookup tables for each element type.
- Parameters
-
[in] | accelerator_lattice | a reference to the accelerator lattice at the refinement level |
◆ GetFinderDeviceInstance()
Get the device level instance associated with this instance.
- Parameters
-
[in] | a_pti | specifies the grid where the finder is defined |
[in] | a_offset | particle index offset needed to access particle info |
[in] | accelerator_lattice | a reference to the accelerator lattice at the refinement level |
◆ InitElementFinder()
Initialize the element finder at the level and grid.
- Parameters
-
[in] | lev | the refinement level |
[in] | a_mfi | specifies the grid where the finder is defined |
[in] | accelerator_lattice | a reference to the accelerator lattice at the refinement level |
◆ setup_lattice_indices()
Fill in the index lookup tables This loops over the grid (in z) and finds the lattice element closest to each grid point.
- Parameters
-
[in] | zs | list of the starts of the lattice elements |
[in] | ze | list of the ends of the lattice elements |
[in] | indices | the index lookup table to be filled in |
◆ UpdateIndices()
Update the index lookup tables for each element type, filling in the values.
- Parameters
-
[in] | lev | the refinement level |
[in] | a_mfi | specifies the grid where the finder is defined |
[in] | accelerator_lattice | a reference to the accelerator lattice at the refinement level |
◆ d_plasmalens_indices
◆ d_quad_indices
◆ m_dz
amrex::Real LatticeElementFinder::m_dz |
◆ m_gamma_boost
amrex::ParticleReal LatticeElementFinder::m_gamma_boost |
◆ m_nz
int LatticeElementFinder::m_nz |
◆ m_time
amrex::Real LatticeElementFinder::m_time |
◆ m_uz_boost
amrex::ParticleReal LatticeElementFinder::m_uz_boost |
◆ m_zmin
amrex::Real LatticeElementFinder::m_zmin |
The documentation for this struct was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/AcceleratorLattice/LatticeElementFinder.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/latest/Source/AcceleratorLattice/LatticeElementFinder.cpp