#include <Marker.H>
|
| | Marker (std::string name) |
| |
| void | operator() (ImpactXParticleContainer &, int, int) |
| |
| void | compute_constants (RefPart const &) |
| |
| void | operator() (ImpactXParticleContainer::iterator &, RefPart &AMREX_RESTRICT) |
| |
| template<typename T_Real = amrex::ParticleReal, typename T_IdCpu = uint64_t> |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (T_Real &AMREX_RESTRICT x, T_Real &AMREX_RESTRICT y, T_Real &AMREX_RESTRICT t, T_Real &AMREX_RESTRICT px, T_Real &AMREX_RESTRICT py, T_Real &AMREX_RESTRICT pt, T_IdCpu &AMREX_RESTRICT idcpu, RefPart const &AMREX_RESTRICT refpart) const |
| |
| AMREX_GPU_HOST AMREX_FORCE_INLINE Map6x6 | transport_map (RefPart const &AMREX_RESTRICT refpart) const |
| |
| AMREX_GPU_HOST void | set_name (std::string const &new_name) |
| |
| AMREX_GPU_HOST | Named (std::optional< std::string > name) |
| |
| AMREX_GPU_HOST_DEVICE | ~Named () |
| |
| AMREX_GPU_HOST | Named (Named const &other) |
| |
| AMREX_GPU_HOST Named & | operator= (Named const &other) |
| |
| AMREX_GPU_HOST_DEVICE | Named (Named &&other) noexcept |
| |
| AMREX_GPU_HOST_DEVICE Named & | operator= (Named &&other) noexcept |
| |
| AMREX_FORCE_INLINE std::string | name () const |
| |
| AMREX_FORCE_INLINE bool | has_name () const |
| |
| | LinearTransport ()=default |
| |
| | LinearTransport (LinearTransport const &)=default |
| |
| | LinearTransport (LinearTransport &&)=default |
| |
| LinearTransport & | operator= (LinearTransport const &)=default |
| |
| LinearTransport & | operator= (LinearTransport &&rhs)=default |
| |
| | ~LinearTransport ()=default |
| |
| AMREX_GPU_HOST AMREX_FORCE_INLINE void | operator() (Map6x6 &AMREX_RESTRICT cm, RefPart const &AMREX_RESTRICT ref) const |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | operator() (RefPart &AMREX_RESTRICT refpart) const |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | nslice () const |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::ParticleReal | ds () const |
| |
| void | finalize () |
| |
◆ PType
◆ Marker()
| impactx::elements::Marker::Marker |
( |
std::string | name | ) |
|
|
inline |
This named element does nothing.
- Parameters
-
| name | a user defined and not necessarily unique name of the element |
◆ compute_constants()
| void impactx::elements::Marker::compute_constants |
( |
RefPart const & | | ) |
|
|
inline |
Compute and cache the constants for the push - nothing to do here
◆ operator()() [1/3]
Push all particles - nothing to do here
◆ operator()() [2/3]
Push all particles - nothing to do here
◆ operator()() [3/3]
template<typename T_Real = amrex::ParticleReal, typename T_IdCpu = uint64_t>
Does nothing to a particle.
- Parameters
-
| x | particle position in x |
| y | particle position in y |
| t | particle position in t |
| px | particle momentum in x |
| py | particle momentum in y |
| pt | particle momentum in t |
| idcpu | particle global index (unused) |
| refpart | reference particle |
◆ transport_map()
This function returns the linear transport map.
- Parameters
-
| [in] | refpart | reference particle |
- Returns
- 6x6 transport matrix
◆ type
| auto impactx::elements::Marker::type = "Marker" |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/1182/src/elements/Marker.H