|
ARTEMIS
|
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::ParticleReal | KineticEnergy (const amrex::ParticleReal ux, const amrex::ParticleReal uy, const amrex::ParticleReal uz, const amrex::ParticleReal mass) |
| Computes the kinetic energy of a particle. This method should not be used with photons. More... | |
| AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::ParticleReal | KineticEnergyPhotons (const amrex::ParticleReal ux, const amrex::ParticleReal uy, const amrex::ParticleReal uz) |
| Computes the kinetic energy of a photon. More... | |
| AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::ParticleReal Algorithms::KineticEnergy | ( | const amrex::ParticleReal | ux, |
| const amrex::ParticleReal | uy, | ||
| const amrex::ParticleReal | uz, | ||
| const amrex::ParticleReal | mass | ||
| ) |
Computes the kinetic energy of a particle. This method should not be used with photons.
| [in] | ux | x component of the particle momentum (code units) |
| [in] | uy | y component of the particle momentum (code units) |
| [in] | uz | z component of the particle momentum (code units) |
| [in] | mass | mass of the particle (in S.I. units) |
| AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::ParticleReal Algorithms::KineticEnergyPhotons | ( | const amrex::ParticleReal | ux, |
| const amrex::ParticleReal | uy, | ||
| const amrex::ParticleReal | uz | ||
| ) |
Computes the kinetic energy of a photon.
| [in] | ux | x component of the particle momentum (code units) |
| [in] | uy | y component of the particle momentum (code units) |
| [in] | uz | z component of the particle momentum (code units) |