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/MaterialPropertyPhaseChangeHysteresis_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_MATERIALPROPERTYPHASECHANGEHYSTERESIS_IMPL_HPP
7 #define MODEL_MATERIALPROPERTYPHASECHANGEHYSTERESIS_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 /** MaterialPropertyPhaseChangeHysteresis_Impl is a ModelObject_Impl that is the implementation class for MaterialPropertyPhaseChangeHysteresis.*/
21 class MODEL_API MaterialPropertyPhaseChangeHysteresis_Impl : public ModelObject_Impl
22 {
23
24 public:
25 /** @name Constructors and Destructors */
26 //@{
27
28 MaterialPropertyPhaseChangeHysteresis_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
29
30 MaterialPropertyPhaseChangeHysteresis_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
31
32 MaterialPropertyPhaseChangeHysteresis_Impl(const MaterialPropertyPhaseChangeHysteresis_Impl& other, Model_Impl* model, bool keepHandle);
33
34 6 virtual ~MaterialPropertyPhaseChangeHysteresis_Impl() override = default;
35
36 //@}
37 /** @name Virtual Methods */
38 //@{
39
40 virtual const std::vector<std::string>& outputVariableNames() const override;
41
42 virtual IddObjectType iddObjectType() const override;
43
44 //@}
45 /** @name Getters */
46 //@{
47
48 std::string materialName() const;
49
50 Material material() const;
51
52 double latentHeatduringtheEntirePhaseChangeProcess() const;
53
54 double liquidStateThermalConductivity() const;
55
56 double liquidStateDensity() const;
57
58 double liquidStateSpecificHeat() const;
59
60 double highTemperatureDifferenceofMeltingCurve() const;
61
62 double peakMeltingTemperature() const;
63
64 double lowTemperatureDifferenceofMeltingCurve() const;
65
66 double solidStateThermalConductivity() const;
67
68 double solidStateDensity() const;
69
70 double solidStateSpecificHeat() const;
71
72 double highTemperatureDifferenceofFreezingCurve() const;
73
74 double peakFreezingTemperature() const;
75
76 double lowTemperatureDifferenceofFreezingCurve() const;
77
78 //@}
79 /** @name Setters */
80 //@{
81
82 bool setLatentHeatduringtheEntirePhaseChangeProcess(double latentHeatduringtheEntirePhaseChangeProcess);
83
84 bool setLiquidStateThermalConductivity(double liquidStateThermalConductivity);
85
86 bool setLiquidStateDensity(double liquidStateDensity);
87
88 bool setLiquidStateSpecificHeat(double liquidStateSpecificHeat);
89
90 bool setHighTemperatureDifferenceofMeltingCurve(double highTemperatureDifferenceofMeltingCurve);
91
92 bool setPeakMeltingTemperature(double peakMeltingTemperature);
93
94 bool setLowTemperatureDifferenceofMeltingCurve(double lowTemperatureDifferenceofMeltingCurve);
95
96 bool setSolidStateThermalConductivity(double solidStateThermalConductivity);
97
98 bool setSolidStateDensity(double solidStateDensity);
99
100 bool setSolidStateSpecificHeat(double solidStateSpecificHeat);
101
102 bool setHighTemperatureDifferenceofFreezingCurve(double highTemperatureDifferenceofFreezingCurve);
103
104 bool setPeakFreezingTemperature(double peakFreezingTemperature);
105
106 bool setLowTemperatureDifferenceofFreezingCurve(double lowTemperatureDifferenceofFreezingCurve);
107
108 //@}
109 /** @name Other */
110 //@{
111
112 //@}
113 protected:
114 private:
115 REGISTER_LOGGER("openstudio.model.MaterialPropertyPhaseChangeHysteresis");
116 };
117
118 } // namespace detail
119
120 } // namespace model
121 } // namespace openstudio
122
123 #endif // MODEL_MATERIALPROPERTYPHASECHANGEHYSTERESIS_IMPL_HPP
124