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++)
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;
std::ostream & operator<<(std::ostream &os, const AGDDMolecule &obj)
std::vector< AGDDElement * > m_theElements
std::vector< int > m_theComposition
AGDDMolecule(AGDDMaterialStore &ms, const std::string &, double)
void AddElement(AGDDMaterialStore &ms, const std::string &)
AGDDSimpleMaterial(AGDDMaterialStore &ms, const std::string &n, double d)