18#ifndef VIEWFACTORSCLUSTER_H
19#define VIEWFACTORSCLUSTER_H
21#include <meteoio/MeteoIO.h>
31 double GetViewfactor(
const int i,
const int j,
const int a,
const int b);
34 mio::Array4D<double> vf_cluster;
35 mio::Array4D<unsigned int> vc_cluster;
36 mio::Array2D<double> sky_vf;
37 std::map<int, double> vf;
42 double max_shade_distance;
46 unsigned int hSections, vSections;
47 unsigned int schrittweitenLimit;
50 void calcHorizonField();
51 void calcSchrittweite(
const double& altitude,
const double& dH,
const double& distance,
52 const double& horizon_tan_angle,
unsigned int& schrittweite)
const;
53 double getHorizonForRay(
const unsigned int& ix1,
const unsigned int& iy1,
const double& alpha,
54 std::vector<unsigned int>& viewCells, std::vector<unsigned int>& vf_clusterT);
55 double GetSymetricPartOfViewFactor(
const int i,
const int j,
const int a,
const int b);
56 double GetZEdgeVector(
const double z,
const double nx,
const double ny,
const double deltaX,
const double deltaY);
57 double EuclidianDistance(
const double x,
const double y,
const double z);
58 int GetSplitFactor(
const double sideLength,
const double dist);
59 double GetCoordinateForSmallCell(
const double veca,
const double vecb,
const double vecc,
60 const int i,
const int j,
const int splitFactor);
61 double CosAngleBetween2Vectors(
const double nx,
const double ny,
const double nz,
const double bx,
62 const double by,
const double bz);
64 void calcVF_cluster();
65 bool VF_calc(
const unsigned int ix1,
const unsigned int iy1,
const int ix2,
const int iy2, mio::Array1D<double> &tan_h);
Definition: ViewFactorsAlgorithm.h:21
Definition: ViewFactorsCluster.h:25
double getSkyViewFactor(const int &i, const int &j)
Definition: ViewFactorsCluster.cc:43
ViewFactorsCluster(const mio::Config &cfg, const mio::DEMObject &dem_in)
Definition: ViewFactorsCluster.cc:20
double GetViewfactor(const int i, const int j, const int a, const int b)
Definition: ViewFactorsCluster.cc:184