1#ifndef PSCF_FLORY_HUGGINS_CLUMP_H
2#define PSCF_FLORY_HUGGINS_CLUMP_H
11#include <util/containers/Pair.h>
50 template <
class Archive>
51 void serialize(Archive& ar,
unsigned int versionId);
128 {
return monomerId_; }
139 template <
class Archive>
All monomers of a specific monomer type in a molecule.
void serialize(Archive &ar, unsigned int versionId)
Serialize to/from archive.
friend std::ostream & operator<<(std::ostream &out, const Clump &block)
ostream inserter for a Clump.
int monomerId() const
Get the monomer type id.
void setSize(double size)
Set the size of this clump.
friend std::istream & operator>>(std::istream &in, Clump &block)
istream extractor for a Clump.
double size() const
Get the size (number of monomers) in this block.
void setMonomerId(int monomerId)
Set the monomer type id.
Flory-Huggins theory of spatially homogeneous mixtures.
PSCF package top-level namespace.
std::istream & operator>>(std::istream &in, Pair< Data > &pair)
Input a Pair from an istream.
std::ostream & operator<<(std::ostream &out, const Pair< Data > &pair)
Output a Pair to an ostream, without line breaks.