39 #include <boost/lexical_cast.hpp>
40 #include <boost/format.hpp>
46 namespace SolverUtils {
52 const std::string& name,
53 const std::string& value)
55 l.push_back(std::make_pair(name, value));
61 const std::string& name,
64 l.push_back(std::make_pair(name, boost::lexical_cast<std::string>(value)));
70 const std::string& name,
73 l.push_back(std::make_pair(
74 name, str(boost::format(
"%g") % value)));
std::vector< std::pair< std::string, std::string > > SummaryList
void AddSummaryItem(SummaryList &l, const std::string &name, const NekDouble &value)
Adds a summary item to the summary info list.