struct whose getMomentum returns momentum for 1 particle, for radial expansion.
More...
#include <InjectorMomentum.H>
|
| | InjectorMomentumRadialExpansion (amrex::Real a_u_over_r) noexcept |
| |
| AMREX_GPU_HOST_DEVICE amrex::XDim3 | getMomentum (amrex::Real x, amrex::Real y, amrex::Real z, amrex::RandomEngine const &) const noexcept |
| |
| AMREX_GPU_HOST_DEVICE amrex::XDim3 | getBulkMomentum (amrex::Real x, amrex::Real y, amrex::Real z) const noexcept |
| |
struct whose getMomentum returns momentum for 1 particle, for radial expansion.
Note - u_over_r is expected to be the normalized momentum gamma*beta divided by the physical position in SI units.
◆ InjectorMomentumRadialExpansion()
| InjectorMomentumRadialExpansion::InjectorMomentumRadialExpansion |
( |
amrex::Real |
a_u_over_r | ) |
|
|
inlinenoexcept |
◆ getBulkMomentum()
| AMREX_GPU_HOST_DEVICE amrex::XDim3 InjectorMomentumRadialExpansion::getBulkMomentum |
( |
amrex::Real |
x, |
|
|
amrex::Real |
y, |
|
|
amrex::Real |
z |
|
) |
| const |
|
inlinenoexcept |
◆ getMomentum()
| AMREX_GPU_HOST_DEVICE amrex::XDim3 InjectorMomentumRadialExpansion::getMomentum |
( |
amrex::Real |
x, |
|
|
amrex::Real |
y, |
|
|
amrex::Real |
z, |
|
|
amrex::RandomEngine const & |
|
|
) |
| const |
|
inlinenoexcept |
◆ u_over_r
| amrex::Real InjectorMomentumRadialExpansion::u_over_r |
|
private |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/20.10/Source/Initialization/InjectorMomentum.H