VICUS Library
Documentation of Vicus library
Loading...
Searching...
No Matches
VICUS::Material Class Reference

#include <VICUS_Material.h>

Inheritance diagram for VICUS::Material:
[legend]

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
 

Member Enumeration Documentation

◆ Category

Material categories.

Enumerator
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 

◆ para_t

Basic parameters.

Enumerator
P_Density 

Dry density of the material.

P_HeatCapacity 

Specific heat capacity of the material.

P_Conductivity 

Thermal conductivity of the dry material.

P_Mu 

Thermal conductivity of the dry material.

P_W80 

Moisture content at 80% relative humidity.

P_Wsat 

Moisture content at saturation.

NUM_P 

Constructor & Destructor Documentation

◆ Material() [1/2]

VICUS::Material::Material ( )
inline

Default c'tor.

◆ Material() [2/2]

VICUS::Material::Material ( unsigned int  id,
const IBK::MultiLanguageString &  name,
double  conductivity,
double  density,
double  specHeatCapa 
)

Initializing constructor.

Parameters
id
nameDisplay name.
conductivityThermal conductivity in W/mK
densityBulk density in kg/m3
specHeatCapaSpecific heat capacity in J/kgK

Member Function Documentation

◆ equal()

AbstractDBElement::ComparisonResult VICUS::Material::equal ( const AbstractDBElement other) const
overridevirtual

Comparison operator.

Implements VICUS::AbstractDBElement.

◆ isValid()

bool VICUS::Material::isValid ( bool  hygrothermalCalculation = false) const

Checks if all parameters are valid.

◆ toNandrad()

NANDRAD::Material VICUS::Material::toNandrad ( ) const

Composes a NANDRAD material from the VICUS data structure.

Member Data Documentation

◆ m_category

Category VICUS::Material::m_category = MC_Miscellaneous

Material category.

◆ m_dataSource

IBK::MultiLanguageString VICUS::Material::m_dataSource

Data source.

◆ m_idEpds

std::vector<unsigned int> VICUS::Material::m_idEpds

Vector of different ids of epd sub elements.

◆ m_manufacturer

IBK::MultiLanguageString VICUS::Material::m_manufacturer

Manufacturer.

◆ m_notes

IBK::MultiLanguageString VICUS::Material::m_notes

Notes.

◆ m_para

IBK::Parameter VICUS::Material::m_para[NUM_P]

List of parameters.


The documentation for this class was generated from the following files: