1#ifndef PSCF_POLYMER_MODEL_H
2#define PSCF_POLYMER_MODEL_H
11#include <util/archives/serialize.h>
132 template <
class Archive>
135 const unsigned int version)
Type
Scoped enumeration of polymer model types.
void serializeEnum(Archive &ar, T &data, const unsigned int version=0)
Serialize an enumeration value.
Enumeration and functions to specify a model for polymer chains.
int nSet()
How many times has setModel been called?
void lock()
Make the polymer model immutable.
Type model()
Get the global polymer model type enumeration value.
void setModel(Type model)
Set the global polymer model enumeration value.
bool isThread()
Is the thread model in use ?
bool isBead()
Is the bead model in use ?
bool isLocked()
Has the model type been locked (i.e., made immutable) ?
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.