WSL/SLF GitLab Repository

Commit 206e2e66 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Bugfix in a constructor (that was making an error on some systems) and updated...

Bugfix in a constructor (that was making an error on some systems) and updated the Stefan-Boltzmann constant according to http://physics.nist.gov/cuu/index.html
parent a444f151
......@@ -143,7 +143,7 @@ class InterpolationAlgorithm {
InterpolationAlgorithm(Meteo2DInterpolator& i_mi,
const std::vector<std::string>& i_vecArgs,
const std::string& i_algo, IOManager& iom) :
algo(i_algo), mi(i_mi), date(0.), vecArgs(i_vecArgs), vecMeteo(), vecData(),
algo(i_algo), mi(i_mi), date(0., 0), vecArgs(i_vecArgs), vecMeteo(), vecData(),
vecMeta(), info(), param(MeteoData::firstparam), nrOfMeasurments(0), iomanager(iom) {};
virtual ~InterpolationAlgorithm() {};
//if anything is not ok (wrong parameter for this algo, insufficient data, etc) -> return zero
......
......@@ -23,7 +23,7 @@
namespace mio {
namespace Cst {
const double stefan_boltzmann = 5.67051e-8; // (W m-2 K-4)
const double stefan_boltzmann = 5.670373e-8; // (W m-2 K-4)
const double gravity = 9.80665; // (m s-2)
const double std_press = 101325.; // (Pa)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment