1#ifndef PSCF_BLOCK_TMPL_H
2#define PSCF_BLOCK_TMPL_H
11#include <pscf/chem/BlockDescriptor.h>
12#include <util/containers/Pair.h>
94 typedef TP Propagator;
97 typedef typename TP::CField CField;
100 typedef typename TP::WField WField;
147 typename TP::CField
const &
cField()
const;
175 {
return propagators_[directionId]; }
183 {
return propagators_[directionId]; }
Description of a linear homopolymer block within a block polymer.
Class template for a block in a block copolymer.
virtual ~BlockTmpl()
Destructor.
double kuhn() const
Get monomer statistical segment length.
virtual void setKuhn(double kuhn)
Set monomer statistical segment length.
TP & propagator(int directionId)
Get a Propagator for a specified direction.
TP::CField & cField()
Get the associated monomer concentration field.
TP const & propagator(int directionId) const
Get a const Propagator for a specified direction.
TP::CField const & cField() const
Get the associated const monomer concentration field.
An array of exactly 2 objects.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.