1.3.49
 
Loading...
Searching...
No Matches
BoundaryLayerConductanceModel.h
Go to the documentation of this file.
1
16#ifndef BOUNDARYLAYERCONDUCTANCEMODEL
17#define BOUNDARYLAYERCONDUCTANCEMODEL
18
19#include "Context.h"
20
22
24public:
26
29 explicit BLConductanceModel(helios::Context *context);
30
32
35 static int selfTest(int argc = 0, char **argv = nullptr);
36
38 void enableMessages();
39
41 void disableMessages();
42
44
47 void setBoundaryLayerModel(const char *gH_model);
48
50
54 void setBoundaryLayerModel(uint UUID, const char *gH_model);
55
57
61 void setBoundaryLayerModel(const std::vector<uint> &UUIDs, const char *gH_model);
62
64 void run();
65
67 void run(const std::vector<uint> &UUIDs);
68
69private:
71 helios::Context *context;
72
74 float wind_speed_default;
75
77 float air_temperature_default;
78
80 float surface_temperature_default;
81
82 bool message_flag;
83
84 float calculateBoundaryLayerConductance(uint gH_model, float U, float L, char Nsides, float inclination, float TL, float Ta);
85
86 std::map<uint, uint> boundarylayer_model;
87};
88
89#endif