10#include "Propagator.h"
11#include <pscf/solvers/PolymerTmpl.tpp>
41 for (
int j = 0; j <
nBlock(); ++j) {
42 monomerId =
block(j).monomerId();
43 block(j).setupSolver(wFields[monomerId]);
52 for (
int i = 0; i <
nBlock(); ++i) {
53 block(i).computeConcentration(prefactor);
Template for an MDE solver and descriptor for a block polymer.
virtual void solve(double phiTot=1.0)
Polymer()
Default constructor.
void compute(DArray< DArray< double > > const &wFields)
Compute solution to modified diffusion equation and concentrations.
Dynamically allocatable contiguous array template.
void setClassName(const char *className)
Set class name string.
PSCF package top-level namespace.