GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 1 / 0 / 1
Functions: 100.0% 1 / 0 / 1
Branches: -% 0 / 0 / 0

src/model/MaterialPropertyMoisturePenetrationDepthSettings_Impl.hpp
Line Branch Exec Source
1 /***********************************************************************************************************************
2 * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC.
3 * See also https://openstudio.net/license
4 ***********************************************************************************************************************/
5
6 #ifndef MODEL_MATERIALPROPERTYMOISTUREPENETRATIONDEPTHSETTINGS_IMPL_HPP
7 #define MODEL_MATERIALPROPERTYMOISTUREPENETRATIONDEPTHSETTINGS_IMPL_HPP
8
9 #include <vector>
10 #include "ModelAPI.hpp"
11 #include "ModelObject_Impl.hpp"
12
13 namespace openstudio {
14 namespace model {
15
16 class Material;
17
18 namespace detail {
19
20 /** MaterialPropertyMoisturePenetrationDepthSettings_Impl is a ModelObject_Impl that is the implementation class for MaterialPropertyMoisturePenetrationDepthSettings.*/
21 class MODEL_API MaterialPropertyMoisturePenetrationDepthSettings_Impl : public ModelObject_Impl
22 {
23
24 public:
25 /** @name Constructors and Destructors */
26 //@{
27
28 MaterialPropertyMoisturePenetrationDepthSettings_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
29
30 MaterialPropertyMoisturePenetrationDepthSettings_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
31 bool keepHandle);
32
33 MaterialPropertyMoisturePenetrationDepthSettings_Impl(const MaterialPropertyMoisturePenetrationDepthSettings_Impl& other, Model_Impl* model,
34 bool keepHandle);
35
36 11 virtual ~MaterialPropertyMoisturePenetrationDepthSettings_Impl() override = default;
37
38 //@}
39 /** @name Virtual Methods */
40 //@{
41
42 virtual const std::vector<std::string>& outputVariableNames() const override;
43
44 virtual IddObjectType iddObjectType() const override;
45
46 //@}
47 /** @name Getters */
48 //@{
49
50 std::string materialName() const;
51
52 Material material() const;
53
54 double waterVaporDiffusionResistanceFactor() const;
55
56 double moistureEquationCoefficientA() const;
57
58 double moistureEquationCoefficientB() const;
59
60 double moistureEquationCoefficientC() const;
61
62 double moistureEquationCoefficientD() const;
63
64 std::vector<double> moistureEquationCoefficients() const;
65
66 boost::optional<double> surfaceLayerPenetrationDepth();
67
68 bool isSurfaceLayerPenetrationDepthAutocalculated();
69
70 boost::optional<double> deepLayerPenetrationDepth();
71
72 bool isDeepLayerPenetrationDepthAutocalculated();
73
74 double coatingLayerThickness() const;
75
76 double coatingLayerWaterVaporDiffusionResistanceFactor() const;
77
78 //@}
79 /** @name Setters */
80 //@{
81
82 bool setWaterVaporDiffusionResistanceFactor(double waterVaporDiffusionResistanceFactor);
83
84 bool setMoistureEquationCoefficientA(double moistureEquationCoefficientA);
85
86 bool setMoistureEquationCoefficientB(double moistureEquationCoefficientB);
87
88 bool setMoistureEquationCoefficientC(double moistureEquationCoefficientC);
89
90 bool setMoistureEquationCoefficientD(double moistureEquationCoefficientD);
91
92 bool setMoistureEquationCoefficients(double moistureEquationCoefficientA, double moistureEquationCoefficientB,
93 double moistureEquationCoefficientC, double moistureEquationCoefficientD);
94
95 bool setSurfaceLayerPenetrationDepth(double surfaceLayerPenetrationDepth);
96
97 void autocalculateSurfaceLayerPenetrationDepth();
98
99 bool setDeepLayerPenetrationDepth(double deepLayerPenetrationDepth);
100
101 void autocalculateDeepLayerPenetrationDepth();
102
103 bool setCoatingLayerThickness(double coatingLayerThickness);
104
105 bool setCoatingLayerWaterVaporDiffusionResistanceFactor(double coatingLayerWaterVaporDiffusionResistanceFactor);
106
107 //@}
108 /** @name Other */
109 //@{
110
111 //@}
112 protected:
113 private:
114 REGISTER_LOGGER("openstudio.model.MaterialPropertyMoisturePenetrationDepthSettings");
115 };
116
117 } // namespace detail
118
119 } // namespace model
120 } // namespace openstudio
121
122 #endif // MODEL_MATERIALPROPERTYMOISTUREPENETRATIONDEPTHSETTINGS_IMPL_HPP
123