PSCF v1.2
Chemical Structure

Classes

class  Pscf::BlockDescriptor
 Description of a linear homopolymer block within a block polymer. More...
 
class  Pscf::Monomer
 Descriptor for a monomer type. More...
 
struct  Pscf::PolymerType
 Struct containing an enumeration of polymer structure types. More...
 
class  Pscf::SolventDescriptor
 Descriptor for a solvent species. More...
 
class  Pscf::Species
 Base class for a molecular species (polymer or solvent). More...
 
class  Pscf::Vertex
 A junction or chain end in a block polymer. More...
 

Functions

std::istream & Pscf::operator>> (std::istream &in, PolymerType::Enum &type)
 Input stream extractor for a PolymerType::Enum enumeration.
 
std::ostream & Pscf::operator<< (std::ostream &out, PolymerType::Enum &type)
 Input stream extractor for a PolymerType::Enum enumeration.
 
template<class Archive >
void Pscf::serialize (Archive &ar, PolymerType::Enum &data, const unsigned int version)
 Serialize a PolymerType::Enum enumeration.
 

Detailed Description

Classes that describe chemical structure of polymers and solvents.

Function Documentation

◆ operator>>()

std::istream & Pscf::operator>> ( std::istream & in,
PolymerType::Enum & type )

Input stream extractor for a PolymerType::Enum enumeration.

Parameters
ininput stream
typevalue of PolymerType to be read from file

Definition at line 20 of file PolymerType.cpp.

References UTIL_THROW.

◆ operator<<()

std::ostream & Pscf::operator<< ( std::ostream & out,
PolymerType::Enum & type )

Input stream extractor for a PolymerType::Enum enumeration.

Parameters
outoutput stream
typevalue of PolymerType to be written

Definition at line 40 of file PolymerType.cpp.

References UTIL_THROW.

◆ serialize()

template<class Archive >
void Pscf::serialize ( Archive & ar,
PolymerType::Enum & data,
const unsigned int version )
inline

Serialize a PolymerType::Enum enumeration.

Parameters
ararchive
dataenumeration data to be serialized
versionversion id

Definition at line 62 of file PolymerType.h.

References Util::serializeEnum().