NANDRAD Data Model Library  Version 2.0
NANDRAD
NANDRAD::Material Class Reference

Detailed Description

Class containing material data needed in the construction model.

Definition at line 32 of file NANDRAD_Material.h.

#include <NANDRAD_Material.h>

Public Types

enum  para_t { P_Density, P_HeatCapacity, P_Conductivity, NUM_P }
 Basic parameters. More...
 

Public Member Functions

NANDRAD_READWRITE NANDRAD_COMPARE_WITH_ID bool behavesLike (const Material &other) const
 Returns true, if all parameters are the same (id and displayname are ignored). More...
 
void checkParameters () const
 Checks for valid parameters (value ranges). More...
 

Public Attributes

unsigned int m_id
 Unique id number. More...
 
std::string m_displayName
 Display name of material. More...
 
IBK::Parameter m_para [NUM_P]
 List of parameters. More...
 

Member Enumeration Documentation

◆ 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.

Definition at line 36 of file NANDRAD_Material.h.

Member Function Documentation

◆ behavesLike()

NANDRAD_READWRITE NANDRAD_COMPARE_WITH_ID bool NANDRAD::Material::behavesLike ( const Material other) const

Returns true, if all parameters are the same (id and displayname are ignored).

◆ checkParameters()

void NANDRAD::Material::checkParameters ( ) const

Checks for valid parameters (value ranges).

Member Data Documentation

◆ m_id

unsigned int NANDRAD::Material::m_id

Unique id number.

Definition at line 61 of file NANDRAD_Material.h.

◆ m_displayName

std::string NANDRAD::Material::m_displayName

Display name of material.

Definition at line 63 of file NANDRAD_Material.h.

◆ m_para

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

List of parameters.

Definition at line 65 of file NANDRAD_Material.h.


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