|
VICUS Library
Documentation of Vicus library
|
#include <VICUS_Material.h>
Public Types | |
| enum | para_t { P_Density , P_HeatCapacity , P_Conductivity , P_Mu , P_W80 , P_Wsat , NUM_P } |
| enum | Category { MC_Coating , MC_Plaster , MC_Bricks , MC_NaturalStones , MC_Cementitious , MC_Insulations , MC_BuildingBoards , MC_Woodbased , MC_NaturalMaterials , MC_Soils , MC_CladdingSystems , MC_Foils , MC_Miscellaneous , NUM_MC } |
Public Types inherited from VICUS::AbstractDBElement | |
| enum | ComparisonResult { Equal , OnlyMetaDataDiffers , Different } |
Public Member Functions | |
| Material () | |
| Material (unsigned int id, const IBK::MultiLanguageString &name, double conductivity, double density, double specHeatCapa) | |
| VICUS_READWRITE_OVERRIDE VICUS_COMPARE_WITH_ID NANDRAD::Material | toNandrad () const |
| bool | isValid (bool hygrothermalCalculation=false) const |
| ComparisonResult | equal (const AbstractDBElement *other) const override |
Public Member Functions inherited from VICUS::AbstractDBElement | |
| AbstractDBElement ()=default | |
| AbstractDBElement (unsigned int id, const IBK::MultiLanguageString &name) | |
| virtual | ~AbstractDBElement () |
| virtual void | readXML (const TiXmlElement *element)=0 |
| virtual TiXmlElement * | writeXML (TiXmlElement *parent) const =0 |
| void | collectChildren (std::set< const AbstractDBElement * > &allChildrenRefs) const |
| void | collectLocalChildren (std::set< AbstractDBElement * > &localChildrenRefs) const |
| const QString | sourceName () const |
Public Attributes | |
| IBK::MultiLanguageString | m_notes |
| IBK::MultiLanguageString | m_manufacturer |
| IBK::MultiLanguageString | m_dataSource |
| Category | m_category = MC_Miscellaneous |
| IBK::Parameter | m_para [NUM_P] |
| std::vector< unsigned int > | m_idEpds |
Public Attributes inherited from VICUS::AbstractDBElement | |
| unsigned int | m_id = INVALID_ID |
| IBK::MultiLanguageString | m_displayName |
| QColor | m_color |
| bool | m_builtIn = false |
| bool | m_local = true |
| std::set< AbstractDBElement * > | m_childrenRefs |
| bool | m_isReferenced = false |
| std::string | m_errorMsg |
Material categories.
Basic parameters.
|
inline |
Default c'tor.
| VICUS::Material::Material | ( | unsigned int | id, |
| const IBK::MultiLanguageString & | name, | ||
| double | conductivity, | ||
| double | density, | ||
| double | specHeatCapa | ||
| ) |
Initializing constructor.
| id | |
| name | Display name. |
| conductivity | Thermal conductivity in W/mK |
| density | Bulk density in kg/m3 |
| specHeatCapa | Specific heat capacity in J/kgK |
|
overridevirtual |
Comparison operator.
Implements VICUS::AbstractDBElement.
| bool VICUS::Material::isValid | ( | bool | hygrothermalCalculation = false | ) | const |
Checks if all parameters are valid.
| NANDRAD::Material VICUS::Material::toNandrad | ( | ) | const |
Composes a NANDRAD material from the VICUS data structure.
| Category VICUS::Material::m_category = MC_Miscellaneous |
Material category.
| IBK::MultiLanguageString VICUS::Material::m_dataSource |
Data source.
| std::vector<unsigned int> VICUS::Material::m_idEpds |
Vector of different ids of epd sub elements.
| IBK::MultiLanguageString VICUS::Material::m_manufacturer |
Manufacturer.
| IBK::MultiLanguageString VICUS::Material::m_notes |
Notes.
| IBK::Parameter VICUS::Material::m_para[NUM_P] |
List of parameters.