WarpX
Loading...
Searching...
No Matches
InjectorMomentumParser Struct Reference

#include <InjectorMomentum.H>

Public Member Functions

 InjectorMomentumParser (GetVelocityVector const &a_velocity) 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
 

Public Attributes

GetVelocityVector m_velocity
 

Constructor & Destructor Documentation

◆ InjectorMomentumParser()

InjectorMomentumParser::InjectorMomentumParser ( GetVelocityVector const & a_velocity)
inlineexplicitnoexcept

Member Function Documentation

◆ getBulkMomentum()

AMREX_GPU_HOST_DEVICE amrex::XDim3 InjectorMomentumParser::getBulkMomentum ( amrex::Real x,
amrex::Real y,
amrex::Real z ) const
inlinenodiscardnoexcept

◆ getMomentum()

AMREX_GPU_HOST_DEVICE amrex::XDim3 InjectorMomentumParser::getMomentum ( amrex::Real x,
amrex::Real y,
amrex::Real z,
amrex::RandomEngine const &  ) const
inlinenodiscardnoexcept

Member Data Documentation

◆ m_velocity

GetVelocityVector InjectorMomentumParser::m_velocity

The documentation for this struct was generated from the following file: