Hipace
|
Functor gets the initial density for beam particles for a given position. More...
#include <GetInitialDensity.H>
Public Member Functions | |
GetInitialDensity ()=default | |
GetInitialDensity (const std::string &name, amrex::Parser &parser) | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | operator() (const amrex::Real x, const amrex::Real y, const amrex::Real z) const |
returns the density for a beam particle at a given position More... | |
Public Attributes | |
amrex::RealVect | m_position_mean {0.,0.,0.} |
amrex::RealVect | m_position_std {0.,0.,0.} |
BeamProfileType | m_profile |
amrex::Real | m_density |
amrex::ParserExecutor< 3 > | m_density_func |
Functor gets the initial density for beam particles for a given position.
|
default |
Constructor.
GetInitialDensity::GetInitialDensity | ( | const std::string & | name, |
amrex::Parser & | parser | ||
) |
|
inline |
returns the density for a beam particle at a given position
[in] | x | position in x |
[in] | y | position in y |
[in] | z | position in z |
amrex::Real GetInitialDensity::m_density |
Peak density of the beam
amrex::ParserExecutor<3> GetInitialDensity::m_density_func |
Density function for the plasma
amrex::RealVect GetInitialDensity::m_position_mean {0.,0.,0.} |
amrex::RealVect GetInitialDensity::m_position_std {0.,0.,0.} |
BeamProfileType GetInitialDensity::m_profile |