NANDRAD Data Model Library  Version 2.0
NANDRAD
NANDRAD_InterfaceVaporDiffusion.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_InterfaceVaporDiffusionH
23 #define NANDRAD_InterfaceVaporDiffusionH
24 
25 #include <IBK_Parameter.h>
26 #include "NANDRAD_CodeGenMacros.h"
27 
28 namespace NANDRAD {
29 
30 /*! Contains parameters for vapor diffusion flux calculation. */
32  NANDRAD_READWRITE_PRIVATE
33 public:
34 
35  /*! Parameters to be defined for the various window model types. */
36  enum para_t {
37  P_VaporTransferCoefficient, // Keyword: VaporTransferCoefficient [s/m] 'Vapor Transfer Coefficient.'
38  NUM_P
39  };
40  /*! Model types supported by the window model. */
41  enum modelType_t {
42  MT_Constant, // Keyword: Constant 'Constant model.'
43  NUM_MT
44  };
45 
46  // *** PUBLIC MEMBER FUNCTIONS ***
47 
48  NANDRAD_READWRITE_IFNOTEMPTY(InterfaceVaporDiffusion)
49  NANDRAD_COMP(InterfaceVaporDiffusion)
50 
51  /*! Checks for valid parameters (value ranges). */
52  void checkParameters() const;
53 
54  // *** PUBLIC MEMBER VARIABLES ***
55 
56  /*! Model type. */
57  modelType_t m_modelType = NUM_MT; // XML:A:required
58  /*! List of constant parameters.*/
59  IBK::Parameter m_para[NUM_P]; // XML:E
60 
61 }; // InterfaceVaporDiffusion
62 
63 } // namespace NANDRAD
64 
65 #endif // NANDRAD_InterfaceVaporDiffusionH
Contains parameters for vapor diffusion flux calculation.
para_t
Parameters to be defined for the various window model types.
modelType_t
Model types supported by the window model.
IBK::Parameter m_para[NUM_P]
List of constant parameters.
void checkParameters() const
Checks for valid parameters (value ranges).
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...