31 read<int>(in,
"type",
type_);
41 loadParameter<int>(ar,
"type",
type_);
int moleculeCapacity_
Number of molecules associated with the species.
Classes used by all simpatico molecular simulations.
int nAtom_
Number of atoms per molecule.
Saving / output archive for binary ostream.
DArray< int > atomTypeIds_
Array of atom type Ids, indexed by local atom id.
virtual void readSpeciesParam(std::istream &in)
Read atom type.
int type_
Atom type id for all molecules of this species.
virtual void loadSpeciesParam(Serializable::IArchive &ar)
Load species structure from an Archive.
Point()
Default constructor.
Utility classes for scientific computation.
Saving archive for binary istream.
void allocate()
Allocate chemical structure arrays.
A Species represents a set of chemically similar molecules.
virtual void save(Serializable::OArchive &ar)
Save internal state to an archive.