#include <AGDDMolecule.h>
Definition at line 16 of file AGDDMolecule.h.
◆ AGDDMolecule()
| AGDDMolecule::AGDDMolecule |
( |
AGDDMaterialStore & | ms, |
|
|
const std::string & | n, |
|
|
double | d ) |
Definition at line 25 of file AGDDMolecule.cxx.
25 :
27{
29}
AGDDSimpleMaterial(AGDDMaterialStore &ms, const std::string &n, double d)
◆ AddElement()
Definition at line 31 of file AGDDMolecule.cxx.
32{
33 AGDDElement* element=
ms.GetElement(el);
35}
std::vector< AGDDElement * > m_theElements
◆ Composition()
| int AGDDMolecule::Composition |
( |
int | i | ) |
const |
|
inline |
Definition at line 24 of file AGDDMolecule.h.
std::vector< int > m_theComposition
◆ Created()
| void AGDDSimpleMaterial::Created |
( |
bool | b | ) |
|
|
inlineinherited |
◆ Element()
◆ Extant()
| bool AGDDSimpleMaterial::Extant |
( |
| ) |
const |
|
inlineinherited |
◆ GetDensity()
| double AGDDSimpleMaterial::GetDensity |
( |
| ) |
const |
|
inlineinherited |
◆ GetMaterial()
| void * AGDDSimpleMaterial::GetMaterial |
( |
| ) |
|
|
inlineinherited |
◆ GetMaterialType()
◆ GetName()
| const std::string & AGDDSimpleMaterial::GetName |
( |
| ) |
const |
|
inherited |
◆ NAtoms()
| void AGDDMolecule::NAtoms |
( |
int | i | ) |
|
◆ NComponents()
| int AGDDMolecule::NComponents |
( |
| ) |
const |
|
inline |
◆ RegisterToStore()
◆ SetMaterial()
| void AGDDSimpleMaterial::SetMaterial |
( |
void * | mat | ) |
|
|
inlineinherited |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const AGDDMolecule & | obj ) |
|
friend |
Definition at line 12 of file AGDDMolecule.cxx.
13{
14 os<<
"- Material "<<
obj.m_name<<
" type=Molecule density="<<
obj.m_density<<std::endl;
15 os<<
"\tcomponents"<<std::endl;
16 for (
unsigned int i=0;
i<
obj.m_theElements.size();
i++)
17 {
18 const std::string
ss=
obj.m_theElements[
i]->GetName();
19 const int ii=
obj.m_theComposition[
i];
20 os<<
"\t\t element "<<
ss<<
" natoms="<<ii<<std::endl;
21 }
23}
◆ m_created
| bool AGDDSimpleMaterial::m_created |
|
protectedinherited |
◆ m_density
| double AGDDSimpleMaterial::m_density |
|
protectedinherited |
◆ m_mType
◆ m_name
| std::string AGDDSimpleMaterial::m_name |
|
protectedinherited |
◆ m_theComposition
| std::vector<int> AGDDMolecule::m_theComposition |
|
private |
◆ m_theElements
◆ m_theMaterial
| void* AGDDSimpleMaterial::m_theMaterial |
|
protectedinherited |
The documentation for this class was generated from the following files: