11#include "Propagator.h"
12#include <fd1d/domain/GeometryMode.h>
13#include <pscf/solvers/BlockTmpl.h>
14#include <pscf/math/TridiagonalSolver.h>
132 Domain const * domainPtr_;
Class template for a block in a block copolymer.
Block within a branched polymer.
Domain const & domain() const
Return associated domain by reference.
virtual void setLength(double newLength)
Set length and readjust ds_ accordingly.
void step(DArray< double > const &q, DArray< double > &qNew)
Compute one step of integration loop, from i to i+1.
void setupSolver(DArray< double > const &w)
Set Crank-Nicholson solver for this block.
void setDiscretization(Domain const &domain, double ds)
Initialize discretization and allocate required memory.
int ns() const
Number of contour length steps.
void computeConcentration(double prefactor)
Compute concentration for block by integration.
One-dimensional spatial domain and discretization grid.
Solver for Ax=b with tridiagonal matrix A.
Dynamically allocatable contiguous array template.
#define UTIL_ASSERT(condition)
Assertion macro suitable for debugging serial or parallel code.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.