18 #ifndef ENERGYBALANCE_H 19 #define ENERGYBALANCE_H 22 #include <meteoio/MeteoIO.h> 71 EnergyBalance(
const unsigned int& i_nbworkers,
const mio::Config& cfg,
const mio::DEMObject &dem_in);
78 void setAlbedo(
const mio::Grid2DObject &in_albedo );
80 void setMeteo(
const mio::Grid2DObject& in_ilwr,
81 const mio::Grid2DObject& in_ta,
const mio::Grid2DObject& in_rh,
const mio::Grid2DObject& in_p,
const mio::Date timestamp);
83 void setStations(
const std::vector<mio::MeteoData>& in_vecMeteo);
91 std::vector<RadiationField*> radfields;
93 std::vector<mio::MeteoData> vecMeteo;
94 mio::Grid2DObject albedo;
95 mio::Array2D<double> direct, diffuse, reflected;
99 unsigned int nbworkers;
Definition: TerrainRadiationAlgorithm.h:35
EnergyBalance & operator=(const EnergyBalance &)
Assignement operator, required because of pointer member.
Definition: EnergyBalance.cc:64
void setStations(const std::vector< mio::MeteoData > &in_vecMeteo)
Definition: EnergyBalance.cc:115
Definition: EnergyBalance.h:68
void Destroy()
Definition: EnergyBalance.cc:88
Definition: SnowpackInterface.h:127
std::string getGridsRequirements() const
Definition: EnergyBalance.cc:83
~EnergyBalance()
Definition: EnergyBalance.cc:60
void setMeteo(const mio::Grid2DObject &in_ilwr, const mio::Grid2DObject &in_ta, const mio::Grid2DObject &in_rh, const mio::Grid2DObject &in_p, const mio::Date timestamp)
Definition: EnergyBalance.cc:124
void setAlbedo(const mio::Grid2DObject &in_albedo)
Definition: EnergyBalance.cc:106
EnergyBalance(const unsigned int &i_nbworkers, const mio::Config &cfg, const mio::DEMObject &dem_in)
Definition: EnergyBalance.cc:25
double getTiming() const
Definition: EnergyBalance.cc:179
void setSnowPack(SnowpackInterface &mysnowpack)
Definition: EnergyBalance.cc:101