PSCF v1.1

A Pscf::Monomer object represents a monomer type.

The data associated with a Monomer can be read and written to C++ iostreams using overloaded insertion (<<) and extraction (>>) operators. The only data required to initialize a Monomer is the value of the kuhn length or statistical segment length. The text representation for a monomer thus has the form

kuhn (float)

where "kuhn" denote the value of the monomer statistical segment length.

Note: This text representation does not contain information about the "id" member variable, which associates an integer index with each monomer type. When Monomer objects are stored in an array, the id is set equal to the array element index.