#include <LatticeElementFinder.H>
|
| void | InitElementFinder (int lev, amrex::Real gamma_boost, const amrex::Vector< amrex::Real > &time, amrex::MFIter const &a_mfi, AcceleratorLattice const &accelerator_lattice) |
| | Initialize the element finder at the level and grid.
|
| |
| void | AllocateIndices (AcceleratorLattice const &accelerator_lattice) |
| | Allocate the index lookup tables for each element type.
|
| |
| void | UpdateIndices (int lev, amrex::MFIter const &a_mfi, AcceleratorLattice const &accelerator_lattice, const amrex::Vector< amrex::Real > &time) |
| | Update the index lookup tables for each element type, filling in the values.
|
| |
| LatticeElementFinderDevice | GetFinderDeviceInstance (WarpXParIter const &a_pti, int a_offset, AcceleratorLattice const &accelerator_lattice, const amrex::Vector< amrex::Real > &dts) const |
| | Get the device level instance associated with this instance.
|
| |
| void | setup_lattice_indices (amrex::Gpu::DeviceVector< amrex::ParticleReal > const &zs, amrex::Gpu::DeviceVector< amrex::ParticleReal > const &ze, amrex::Gpu::DeviceVector< int > &indices) const |
| | Fill in the index lookup tables This loops over the grid (in z) and finds the lattice element closest to each grid point.
|
| |
◆ 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 |
| [in] | dts | vector containing the timestep sizes at all refinement levels |
◆ InitElementFinder()
Initialize the element finder at the level and grid.
- Parameters
-
| [in] | lev | the refinement level |
| [in] | gamma_boost | the Lorentz factor of the boosted frame |
| [in] | time | the current time on all refinement levels |
| [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 |
| [in] | time | the current time on all refinement levels |
◆ 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/6102/Source/AcceleratorLattice/LatticeElementFinder.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/6102/Source/AcceleratorLattice/LatticeElementFinder.cpp