|
WarpX
|
#include <InjectorDensity.H>
Public Member Functions | |
| InjectorDensityFromFile (std::string const &a_file_name, amrex::Geometry const &a_geom, bool a_distributed) | |
| void | clear () |
| void | prepare (amrex::BoxArray const &grids, amrex::DistributionMapping const &dmap, amrex::IntVect const &ngrow, std::function< amrex::Real(amrex::Real)> const &get_zlab) |
| void | prepare (amrex::RealBox const &pbox, int moving_dir, int moving_sign, std::function< amrex::Real(amrex::Real)> const &get_zlab) |
| void | prepare (int li) |
| bool | distributed () const |
| AMREX_GPU_HOST_DEVICE amrex::Real | getDensity (amrex::Real x, amrex::Real y, amrex::Real z) const noexcept |
Private Attributes | |
| ExternalFieldView | m_external_field_view |
| ExternalFieldReader * | m_external_field_reader = nullptr |
| InjectorDensityFromFile::InjectorDensityFromFile | ( | std::string const & | a_file_name, |
| amrex::Geometry const & | a_geom, | ||
| bool | a_distributed ) |
| void InjectorDensityFromFile::clear | ( | ) |
|
nodiscard |
|
inlinenodiscardnoexcept |
| void InjectorDensityFromFile::prepare | ( | amrex::BoxArray const & | grids, |
| amrex::DistributionMapping const & | dmap, | ||
| amrex::IntVect const & | ngrow, | ||
| std::function< amrex::Real(amrex::Real)> const & | get_zlab ) |
| void InjectorDensityFromFile::prepare | ( | amrex::RealBox const & | pbox, |
| int | moving_dir, | ||
| int | moving_sign, | ||
| std::function< amrex::Real(amrex::Real)> const & | get_zlab ) |
| void InjectorDensityFromFile::prepare | ( | int | li | ) |
|
private |
|
private |