130 template <
class Archive>
132 const unsigned int version)
Base class for a molecular species (polymer or solvent).
double phi() const
Get the overall volume fraction for this species.
Ensemble ensemble_
Statistical ensemble for this species (open or closed).
Ensemble ensemble()
Get the statistical ensemble for this species (open or closed).
double phi_
Volume fraction, set by either setPhi or compute function.
double mu_
Chemical potential, set by either setPhi or compute function.
double q_
Partition function, set by compute function.
double mu() const
Get the chemical potential for this species (units kT=1).
Species()
Default constructor.
double q() const
Get the molecular partition function for this species.
Ensemble
Statistical ensemble for number of molecules.
File containing preprocessor macros for error handling.
void serializeEnum(Archive &ar, T &data, const unsigned int version=0)
Serialize an enumeration value.
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.