NANDRAD Data Model Library  Version 2.0
NANDRAD
NANDRAD_InterfaceLongWaveEmission.h
1 /* The NANDRAD data model library.
2 
3  Copyright (c) 2012-today, Institut für Bauklimatik, TU Dresden, Germany
4 
5  Primary authors:
6  Andreas Nicolai <andreas.nicolai -[at]- tu-dresden.de>
7  Anne Paepcke <anne.paepcke -[at]- tu-dresden.de>
8 
9  This library is part of SIM-VICUS (https://github.com/ghorwin/SIM-VICUS)
10 
11  This library is free software: you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  This library is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 */
21 
22 #ifndef NANDRAD_InterfaceLongWaveEmissionH
23 #define NANDRAD_InterfaceLongWaveEmissionH
24 
25 #include <IBK_Parameter.h>
26 #include "NANDRAD_CodeGenMacros.h"
27 
28 namespace NANDRAD {
29 
30 /*! Contains parameters for long wave radiation exchange (outside). */
32  NANDRAD_READWRITE_PRIVATE
33 public:
34 
35  /*! Model types. */
36  enum modelType_t {
37  MT_Constant, // Keyword: Constant 'Constant model'
38  NUM_MT // Keyword: None 'No long wave radiation exchange'
39  };
40 
41  /*! Parameters. */
42  enum para_t {
43  P_Emissivity, // Keyword: Emissivity [---] 'Long wave emissivity'
44  NUM_P
45  };
46 
47  // *** PUBLIC MEMBER FUNCTIONS ***
48 
49  NANDRAD_READWRITE_IFNOTEMPTY(InterfaceLongWaveEmission)
50  NANDRAD_COMP(InterfaceLongWaveEmission)
51 
52  /*! Checks for valid parameters (value ranges). */
53  void checkParameters() const;
54 
55  // *** PUBLIC MEMBER VARIABLES ***
56 
57  /*! Model type. */
58  modelType_t m_modelType = NUM_MT; // XML:A:required
59  /*! List of constant parameters. */
60  IBK::Parameter m_para[NUM_P]; // XML:E
61 
62 }; // InterfaceLongWaveEmission
63 
64 } // namespace NANDRAD
65 
66 #endif // NANDRAD_InterfaceLongWaveEmissionH
Contains parameters for long wave radiation exchange (outside).
void checkParameters() const
Checks for valid parameters (value ranges).
IBK::Parameter m_para[NUM_P]
List of constant parameters.
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...