Alpine3D 20241222.625fd38
EnergyBalance Class Reference

#include <EnergyBalance.h>

Public Member Functions

 EnergyBalance (const unsigned int &i_nbworkers, const mio::Config &cfg, const mio::DEMObject &dem_in)
 
 EnergyBalance (const EnergyBalance &)
 
 ~EnergyBalance ()
 
EnergyBalanceoperator= (const EnergyBalance &)
 Assignement operator, required because of pointer member. More...
 
void setSnowPack (SnowpackInterface &mysnowpack)
 
void setAlbedo (const mio::Grid2DObject &in_albedo)
 
void compute (const mio::Grid2DObject &in_ilwr, const mio::Grid2DObject &in_ta, const mio::Grid2DObject &in_rh, const mio::Grid2DObject &in_p, const mio::Grid2DObject &in_iswr_dir, const mio::Grid2DObject &in_iswr_diff, const mio::Date timestamp)
 
void writeSP (const unsigned int max_steps)
 
bool hasSP ()
 
void setStations (const std::vector< mio::MeteoData > &in_vecMeteo)
 
double getTiming () const
 
void Destroy ()
 
std::string getGridsRequirements () const
 

Constructor & Destructor Documentation

◆ EnergyBalance() [1/2]

EnergyBalance::EnergyBalance ( const unsigned int &  i_nbworkers,
const mio::Config &  cfg,
const mio::DEMObject &  dem_in 
)

◆ EnergyBalance() [2/2]

EnergyBalance::EnergyBalance ( const EnergyBalance )

◆ ~EnergyBalance()

EnergyBalance::~EnergyBalance ( )

Member Function Documentation

◆ compute()

void EnergyBalance::compute ( const mio::Grid2DObject &  in_ilwr,
const mio::Grid2DObject &  in_ta,
const mio::Grid2DObject &  in_rh,
const mio::Grid2DObject &  in_p,
const mio::Grid2DObject &  in_iswr_dir,
const mio::Grid2DObject &  in_iswr_diff,
const mio::Date  timestamp 
)

◆ Destroy()

void EnergyBalance::Destroy ( )

◆ getGridsRequirements()

std::string EnergyBalance::getGridsRequirements ( ) const

◆ getTiming()

double EnergyBalance::getTiming ( ) const

◆ hasSP()

bool EnergyBalance::hasSP ( )
inline

◆ operator=()

EnergyBalance & EnergyBalance::operator= ( const EnergyBalance source)

Assignement operator, required because of pointer member.

◆ setAlbedo()

void EnergyBalance::setAlbedo ( const mio::Grid2DObject &  in_albedo)

◆ setSnowPack()

void EnergyBalance::setSnowPack ( SnowpackInterface mysnowpack)

◆ setStations()

void EnergyBalance::setStations ( const std::vector< mio::MeteoData > &  in_vecMeteo)

◆ writeSP()

void EnergyBalance::writeSP ( const unsigned int  max_steps)

The documentation for this class was generated from the following files: