rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
Toggle main menu visibility
Loading...
Searching...
No Matches
Format.h
Go to the documentation of this file.
1
3
4
#ifndef RIZER_FORMAT_H
5
#define RIZER_FORMAT_H
6
7
#include <sstream>
8
#include <string>
9
10
namespace
rizer
11
{
12
18
inline
std::string
significant
(
double
value)
19
{
20
std::ostringstream out;
21
out.precision(6);
22
out << value;
23
return
out.str();
24
}
25
26
}
// namespace rizer
27
28
#endif
// RIZER_FORMAT_H
rizer
Definition
ElectronReactions.cpp:11
rizer::significant
std::string significant(double value)
value to 6 significant digits, for exception messages.
Definition
Format.h:18
rizer
cantera_ext
numeric
Format.h
Generated by
1.18.0