GRINS-0.8.0
|
Functions | |
template<typename T > | |
T | string_to_T (const std::string &input) |
template<typename T > | |
std::string | T_to_string (const T input) |
std::pair< std::string, int > | split_string_int_on_colon (const std::string &token) |
Split on colon, and return name, int value pair. More... | |
std::pair< std::string, double > | split_string_double_on_colon (const std::string &token) |
Split on colon, and return name, double value pair. More... | |
void | split_string (const std::string &input, const std::string &delimiter, std::vector< std::string > &results) |
void | split_string_real (const std::string &input, const std::string &delimiter, std::vector< libMesh::Real > &results) |
void GRINS::StringUtilities::split_string | ( | const std::string & | input, |
const std::string & | delimiter, | ||
std::vector< std::string > & | results | ||
) |
Definition at line 31 of file string_utils.C.
Referenced by GRINS::MoleFractionsDirichletBCFactory::add_mole_frac_to_mass_frac(), GRINS::QoIFactory::build(), GRINS::MoleFractionsDirichletBCFactory::extract_species_name(), GRINS::MoleFractionsDirichletBCFactory::extract_var_section(), GRINS::ICHandlingBase::init_ic_types(), GRINS::DefaultBCBuilder::parse_and_build_bc_id_map(), parse_qoi_data(), GRINS::GasRecombinationCatalyticWallNeumannBCFactoryImpl::parse_reactant_and_product(), GRINS::GasSolidCatalyticWallNeumannBCFactoryImpl::parse_reactants_and_product(), split_string_real(), and GRINSTesting::StringUtilitiesTest::test_split_string().
|
inline |
Split on colon, and return name, double value pair.
Taken from FIN-S for XML parsing.
Definition at line 85 of file string_utils.h.
|
inline |
Split on colon, and return name, int value pair.
Taken from FIN-S for XML parsing.
Definition at line 69 of file string_utils.h.
void GRINS::StringUtilities::split_string_real | ( | const std::string & | input, |
const std::string & | delimiter, | ||
std::vector< libMesh::Real > & | results | ||
) |
Definition at line 53 of file string_utils.C.
References split_string().
Referenced by GRINS::HITRAN::HITRAN().
|
inline |
Definition at line 43 of file string_utils.h.
|
inline |
Definition at line 55 of file string_utils.h.