ImpactX
|
Functions | |
template<typename T > | |
int | queryAddResize (amrex::ParmParse &pp, const char *name, std::vector< T > &ref) |
std::pair< amrex::ParticleReal, int > | query_ds (amrex::ParmParse &pp_element, int nslice_default) |
std::map< std::string, amrex::ParticleReal > | query_alignment (amrex::ParmParse &pp_element) |
amrex::Vector< amrex::Real > | read_mr_prob_relative () |
std::map<std::string, amrex::ParticleReal> impactx::detail::query_alignment | ( | amrex::ParmParse & | pp_element | ) |
Read the Alignment parameters dx, dy and rotation from inputs
pp_element | the element being read |
std::pair<amrex::ParticleReal, int> impactx::detail::query_ds | ( | amrex::ParmParse & | pp_element, |
int | nslice_default | ||
) |
Read the Thick element parameters ds and nslice
pp_element | the element being read |
nslice_default | the default number of slices to use if not specified |
int impactx::detail::queryAddResize | ( | amrex::ParmParse & | pp, |
const char * | name, | ||
std::vector< T > & | ref | ||
) |
Resizing version of amrex::ParmParse::queryAdd
Work-around for https://github.com/AMReX-Codes/amrex/pull/3220
T | vector type |
[in,out] | pp | the parameter parser on the element to query |
[in] | name | key name |
[in,out] | ref | vector with default values |
amrex::Vector<amrex::Real> impactx::detail::read_mr_prob_relative | ( | ) |