34 for (
int j = 0; j <
nBlock(); ++j) {
35 monomerId =
block(j).monomerId();
36 block(j).setupSolver(wFields[monomerId]);
45 for (
int i = 0; i <
nBlock(); ++i) {
46 block(i).computeConcentration(prefactor);
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.
SCFT with real 1D fields.
PSCF package top-level namespace.