|
| std::string | detail::snakeToCamel (const std::string &snake_string) |
| | Convert a snake_case string to a camelCase one.
|
| |
| std::string | detail::getSeriesOptions (std::string const &operator_type, std::map< std::string, std::string > const &operator_parameters, std::string const &engine_type, std::map< std::string, std::string > const &engine_parameters) |
| |
| std::pair< std::string, std::string > | detail::name2openPMD (std::string const &fullName) |
| |
| std::vector< std::string > | detail::getParticlePositionComponentLabels (amrex::Vector< int > const &write_real_comp, amrex::Vector< std::string > const &real_comp_names) |
| |
| std::vector< std::string > | detail::getFieldAxisLabels (bool const var_in_theta_mode) |
| |
| std::vector< std::string > | detail::getFieldComponentLabels (bool const var_in_theta_mode) |
| |
| std::map< openPMD::UnitDimension, double > | detail::getUnitDimension (std::string const &record_name) |
| |
| void | detail::setOpenPMDUnit (openPMD::Mesh mesh, const std::string &field_name) |
| | For a given field that is to be written to an openPMD file, set the metadata that indicates the physical unit.
|
| |
| std::tuple< std::string, int > | GetFieldNameModeInt (const std::string &varname) |
| |
| std::tuple< std::string, int > GetFieldNameModeInt |
( |
const std::string & | varname | ) |
|
Find fieldName in varname and get the theta mode index, if varname = fieldName_mode_realOrImag
- Parameters
-
| [in] | varname | name of the field variable being parsed |
- Returns
- varname fieldName if varname = fieldName_mode_realOrImag, otherwise, varname and if varname = fieldName_modeNumber_realOrImag, returns 2 * mode - 1 + (realOrImag == 'imag'), otherwise, -1
Examples : rho -> rho, -1 rho_0_real -> rho, 1 Er_1_real -> Er, 2 rho_species_12_1_imag -> rho_species_12, 3