1 #ifndef SIMP_MULTIBLOCK_H 2 #define SIMP_MULTIBLOCK_H virtual void loadSpeciesParam(Serializable::IArchive &ar)
Load species structure from an Archive.
virtual int calculateDihedralTypeId(int index) const
Return same dihedral type for any dihedral in any chain.
Multiblock()
Default constructor.
Classes used by all simpatico molecular simulations.
A linear MULTIBLOCK copolymer chain.
virtual void save(Serializable::OArchive &ar)
Save internal state to an archive.
Saving / output archive for binary ostream.
DArray< int > atomTypes_
Particle type ids for each block.
virtual void readSpeciesParam(std::istream &in)
Read block lengths length and and types.
Utility classes for scientific computation.
int nBlock_
Number of particles in each block.
DArray< int > blockLengths_
Number of particles in each block.
virtual int calculateAngleTypeId(int index) const
Return same angle type for any angle in any chain.
virtual int calculateBondTypeId(int index) const
Return same bond type for any bond in any chain.
virtual ~Multiblock()
Destructor.
Saving archive for binary istream.
A Species of linear polymers (abstract).
DArray< int > blockBegin_
Particle index for the beginning of each block.
virtual int calculateAtomTypeId(int index) const
Return the atom type for a specific atom.