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>
Sub-unit of a molecule in Flory-Huggins theory.
int monomerId() const
Get the monomer type id.
void setMonomerId(int monomerId)
Set the monomer type id.
friend std::istream & operator>>(std::istream &in, FhClump &block)
istream extractor for a FhClump.
void setSize(double size)
Set the size of this clump.
void serialize(Archive &ar, unsigned int versionId)
Serialize to/from archive.
double size() const
Get the size (number of monomers) in this block.
friend std::ostream & operator<<(std::ostream &out, const FhClump &block)
ostream inserter for a FhClump.
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.