Alpine3D  Alpine3D-3.2.0
TerrainRadiation Class Reference

Full computation of the terrain reflected radiation by ray-tracing. Ray tracing is used between all cells to compute the terrain view factors. Once these are known, a progressive refinement approach is used to compute the exchange of radiation between all cells. More...

#include <TerrainRadiation.h>

Public Member Functions

 TerrainRadiation (const mio::Config &i_cfg, const mio::DEMObject &dem_in, const int &i_nbworkers, const std::string &method)
 
void getRadiation (const mio::Array2D< double > &direct, mio::Array2D< double > &diffuse, mio::Array2D< double > &terrain)
 
void setMeteo (const mio::Array2D< double > &albedo, const mio::Array2D< double > &ta, const mio::Array2D< double > &rh, const mio::Array2D< double > &ilwr)
 
- Public Member Functions inherited from TerrainRadiationAlgorithm
 TerrainRadiationAlgorithm (const std::string &i_algo)
 
virtual ~TerrainRadiationAlgorithm ()
 

Additional Inherited Members

- Public Attributes inherited from TerrainRadiationAlgorithm
const std::string algo
 

Detailed Description

Full computation of the terrain reflected radiation by ray-tracing. Ray tracing is used between all cells to compute the terrain view factors. Once these are known, a progressive refinement approach is used to compute the exchange of radiation between all cells.

The progressive refinement approach is controlled by the following keys in the [EBalance] section:

  • itEps_SW
  • itEps1_SW
  • itEps_LW
  • sw_radius, the search radius for short wave
  • lw_radius, the search radius for long wave

Constructor & Destructor Documentation

◆ TerrainRadiation()

TerrainRadiation::TerrainRadiation ( const mio::Config &  i_cfg,
const mio::DEMObject &  dem_in,
const int &  i_nbworkers,
const std::string &  method 
)

Member Function Documentation

◆ getRadiation()

void TerrainRadiation::getRadiation ( const mio::Array2D< double > &  direct,
mio::Array2D< double > &  diffuse,
mio::Array2D< double > &  terrain 
)
virtual

◆ setMeteo()

void TerrainRadiation::setMeteo ( const mio::Array2D< double > &  albedo,
const mio::Array2D< double > &  ta,
const mio::Array2D< double > &  rh,
const mio::Array2D< double > &  ilwr 
)
virtual

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