17 #ifndef _FUELCELLSHOP__FCST_UTILITIES_H
18 #define _FUELCELLSHOP__FCST_UTILITIES_H
27 #include <boost/lexical_cast.hpp>
31 #include <base/utilities.h>
32 #include <base/exceptions.h>
33 #include <base/parameter_handler.h>
36 using namespace dealii;
38 namespace FcstUtilities
45 <<
"Can't convert the string " << arg1
46 <<
" to the desired Number type");
57 template <
typename NumType>
68 template <
typename NumType>
85 template <
typename KeyType,
typename ValueType>
86 std::map< KeyType, ValueType >
string_to_map(
const std::vector<std::string>&);
95 template<
typename KeyType,
typename ValueType >
96 std::map< KeyType, ValueType >
string_to_map(
const std::string& name);
105 std::map< unsigned int, std::string > string_to_map<>(
const std::string& name);
116 template<
typename KeyType,
typename ValueType >
117 std::map< KeyType, std::vector<ValueType> >
split_mapvalue_list(
const std::map< KeyType, std::string >&,
const char delimiter =
';');
137 void run_python(std::string script_name,std::string arg);
142 template <
typename NumType>
147 #endif //_FUELCELLSHOP__FCST_UTILITIES_H