28 read<int>(in,
"nAtom",
nAtom_);
29 read<int>(in,
"type",
type_);
45 loadParameter<int>(ar,
"nAtom",
nAtom_);
46 loadParameter<int>(ar,
"type",
type_);
int moleculeCapacity_
Number of molecules associated with the species.
void buildRing()
Build the chemical structure for a ring molecule.
Classes used by all simpatico molecular simulations.
virtual void save(Serializable::OArchive &ar)
Save internal state to an archive.
A Species of ring polymers (abstract).
int nAtom_
Number of atoms per molecule.
Saving / output archive for binary ostream.
virtual int calculateBondTypeId(int index) const
Return same bond type for any bond in any loop.
virtual int calculateDihedralTypeId(int index) const
Return same dihedral type for any homogeneous ring.
Utility classes for scientific computation.
int nDihedral_
Number of dihedrals per molecule.
virtual int calculateAngleTypeId(int index) const
Return same angle type for any homogeneous ring.
int nAngle_
Number of angles per molecule.
int type_
Particle type id for every particle of every molecule of this species.
int id_
Integer index for this Species.
virtual void readSpeciesParam(std::istream &in)
Read nAtom_ and the loop type.
Saving archive for binary istream.
HomoRing()
Default constructor.
virtual void loadSpeciesParam(Serializable::IArchive &ar)
Load species structure from an Archive.
void setClassName(const char *className)
Set class name string.
int nBond_
Number of bonds per molecule.
virtual int calculateAtomTypeId(int index) const
Return the same type for any particle in any loop.