Component of a material.
More...
#include <GeoMaterialComponent.h>
|
| GeoMaterialComponent ()=default |
| default constructor
|
|
| GeoMaterialComponent (const std::string &name, bool isElement, double fraction) |
| full constructor
|
|
void | setName (const std::string &name) |
| set name of the component
|
|
void | setIselement (bool isElement) |
| set true if the component is a chemical element, false if it is a composite material
|
|
void | setFraction (double fraction) |
| set fraction of the component from the full materials
|
|
const std::string & | getName () const |
| get name of the component
|
|
bool | getIselement () const |
| get true if the component is a chemical element, false if it is a composite material
|
|
double | getFraction () const |
| get fraction of the component from the full materials
|
|
|
std::string | m_name |
| name of the component
|
|
bool | m_isElement |
| true if the component is a chemical element, false if it is a composite material
|
|
double | m_fraction |
| fraction of the component from the full materials
|
|
Component of a material.
Definition at line 19 of file GeoMaterialComponent.h.
◆ GeoMaterialComponent()
full constructor
Definition at line 24 of file GeoMaterialComponent.h.
24 :
bool m_isElement
true if the component is a chemical element, false if it is a composite material
double m_fraction
fraction of the component from the full materials
std::string m_name
name of the component
◆ getFraction()
double getFraction |
( |
| ) |
const |
|
inline |
◆ getIselement()
bool getIselement |
( |
| ) |
const |
|
inline |
get true if the component is a chemical element, false if it is a composite material
Definition at line 35 of file GeoMaterialComponent.h.
◆ getName()
const std::string & getName |
( |
| ) |
const |
|
inline |
◆ setFraction()
void setFraction |
( |
double |
fraction | ) |
|
|
inline |
◆ setIselement()
void setIselement |
( |
bool |
isElement | ) |
|
|
inline |
set true if the component is a chemical element, false if it is a composite material
Definition at line 29 of file GeoMaterialComponent.h.
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ m_fraction
◆ m_isElement
true if the component is a chemical element, false if it is a composite material
Definition at line 42 of file GeoMaterialComponent.h.
◆ m_name
The documentation for this class was generated from the following file: