11#include <pscf/solvers/PolymerTmpl.h>
12#include <util/containers/FSArray.h>
16 template <
typename T>
class DArray;
45 template <
int D,
class T>
47 :
public PolymerTmpl<typename T::Block, typename T::Propagator, double>
106 double phiTot = 1.0);
177 template <
int D,
class T>
inline
179 {
return stress_[n]; }
Pair< int > const & path(int is, int it) const
const Vertex & vertex(int id) const
Pair< int > const & propagatorId(int id) const
PolymerType::Enum type() const
Edge & edge(int id) final
Species< double > SpeciesT
PropagatorT & propagator(int blockId, int directionId)
PolymerSpecies< double > PolymerSpeciesT
virtual void solve(double phiTot=1.0)
typename T::Block BlockT
Block type, for a block within a block polymer.
void setNParams(int nParam)
Set the number of unit cell parameters.
void compute(DArray< typename T::RField > const &wFields, double phiTot=1.0)
Compute MDE solutions and block concentrations.
void clearUnitCellData()
Clear all data that depends on unit cell parameters.
typename T::Propagator PropagatorT
Propagator type, for one direction within a block.
double stress(int n) const
Get the precomputed contribution to stress from this species.
PolymerTmpl< BlockT, PropagatorT, double > PolymerTmplT
Direct base class, specialization of PolymerTmpl class template.
void computeStress()
Compute SCFT stress contribution from this polymer species.
Ensemble ensemble() const
Dynamically allocatable contiguous array template.
A fixed capacity (static) contiguous array with a variable logical size.
Class templates for real-valued periodic fields.
PSCF package top-level namespace.
Utility classes for scientific computation.