11namespace Homogeneous {
38 in >> block.monomerId_;
48 out <<
" " << block.monomerId_;
50 out.setf(std::ios::scientific);
Collection of all monomers of a single type in a molecule.
void setSize(double size)
Set the size of this block.
int monomerId() const
Get the monomer type id.
double size() const
Get the size (number of monomers) in this block.
void setMonomerId(int monomerId)
Set the monomer id.
C++ namespace for polymer self-consistent field theory (PSCF).
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.