Property of a material.
More...
#include <GeoMaterialProperty.h>
|
| GeoMaterialProperty ()=default |
| default constructor
|
|
| GeoMaterialProperty (const std::string &name, const std::vector< double > &energies, const std::vector< double > &values) |
| full constructor
|
|
void | setName (const std::string &name) |
| set name of the property
|
|
void | setEnergies (const std::vector< double > &energies) |
| set energies for the property
|
|
void | setValues (const std::vector< double > &values) |
| set values at the given energies
|
|
const std::string & | getName () const |
| get name of the property
|
|
const std::vector< double > & | getEnergies () const |
| get energies for the property
|
|
const std::vector< double > & | getValues () const |
| get values at the given energies
|
|
int | getN () const |
| get the number of values
|
|
|
std::string | m_name |
| name of the property
|
|
std::vector< double > | m_energies |
| energies for the property
|
|
std::vector< double > | m_values |
| values at the given energies
|
|
Property of a material.
Definition at line 19 of file GeoMaterialProperty.h.
◆ GeoMaterialProperty()
GeoMaterialProperty |
( |
const std::string & |
name, |
|
|
const std::vector< double > & |
energies, |
|
|
const std::vector< double > & |
values |
|
) |
| |
|
inline |
full constructor
Definition at line 24 of file GeoMaterialProperty.h.
24 :
std::vector< double > m_energies
energies for the property
std::vector< double > m_values
values at the given energies
std::string m_name
name of the property
◆ getEnergies()
const std::vector< double > & getEnergies |
( |
| ) |
const |
|
inline |
◆ getN()
◆ getName()
const std::string & getName |
( |
| ) |
const |
|
inline |
◆ getValues()
const std::vector< double > & getValues |
( |
| ) |
const |
|
inline |
◆ setEnergies()
void setEnergies |
( |
const std::vector< double > & |
energies | ) |
|
|
inline |
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ setValues()
void setValues |
( |
const std::vector< double > & |
values | ) |
|
|
inline |
◆ m_energies
std::vector<double> m_energies |
|
private |
◆ m_name
◆ m_values
std::vector<double> m_values |
|
private |
The documentation for this class was generated from the following file: