#include <Material.h>
Public Member Functions | |
double | a () const |
double & | a () |
int | addMaterial (const DDMaterial &m, double fm) |
const DDMaterial::FractionV::value_type & | constituent (int i) const |
DDMaterial::FractionV::value_type & | constituent (int i) |
double | density () const |
double & | density () |
Material (double z, double a, double d) | |
Material (double d) | |
Material () | |
int | noOfConsituents () const |
int | noOfConstituents () const |
double & | z () |
double | z () const |
virtual | ~Material () |
Protected Attributes | |
double | a_ |
DDMaterial::FractionV | composites_ |
double | density_ |
double | z_ |
Definition at line 12 of file Material.h.
DDI::Material::Material | ( | ) | [inline] |
Definition at line 15 of file Material.h.
{}
DDI::Material::Material | ( | double | z, |
double | a, | ||
double | d | ||
) | [inline] |
DDI::Material::Material | ( | double | d | ) | [inline] |
Definition at line 19 of file Material.h.
virtual DDI::Material::~Material | ( | ) | [inline, virtual] |
Definition at line 20 of file Material.h.
{}
double DDI::Material::a | ( | ) | const [inline] |
double& DDI::Material::a | ( | ) | [inline] |
int DDI::Material::addMaterial | ( | const DDMaterial & | m, |
double | fm | ||
) | [inline] |
Definition at line 31 of file Material.h.
References composites_, and noOfConstituents().
{ composites_.push_back(std::make_pair(m,fm)); return noOfConstituents(); }
const DDMaterial::FractionV::value_type& DDI::Material::constituent | ( | int | i | ) | const [inline] |
DDMaterial::FractionV::value_type& DDI::Material::constituent | ( | int | i | ) | [inline] |
double DDI::Material::density | ( | ) | const [inline] |
double& DDI::Material::density | ( | ) | [inline] |
int DDI::Material::noOfConsituents | ( | ) | const |
int DDI::Material::noOfConstituents | ( | ) | const [inline] |
Definition at line 42 of file Material.h.
References composites_.
Referenced by addMaterial().
{ return composites_.size(); }
double& DDI::Material::z | ( | ) | [inline] |
double DDI::Material::z | ( | ) | const [inline] |
double DDI::Material::a_ [protected] |
Definition at line 45 of file Material.h.
Referenced by a().
DDMaterial::FractionV DDI::Material::composites_ [protected] |
Definition at line 46 of file Material.h.
Referenced by addMaterial(), constituent(), and noOfConstituents().
double DDI::Material::density_ [protected] |
Definition at line 45 of file Material.h.
Referenced by density().
double DDI::Material::z_ [protected] |
Definition at line 45 of file Material.h.
Referenced by z().