11#include "Propagator.h"
12#include <pscf/solvers/BlockTmpl.h>
13#include <pscf/math/TridiagonalSolver.h>
131 Domain const * domainPtr_;
virtual void setLength(double newLength)
Set length and readjust ds_ accordingly.
Domain const & domain() const
Return associated domain by reference.
void setupSolver(DArray< double > const &w)
Set Crank-Nicholson solver for this block.
void step(DArray< double > const &q, DArray< double > &qNew)
Compute one step of integration loop, from i to i+1.
int ns() const
Number of contour length steps.
void computeConcentration(double prefactor)
Compute concentration for block by integration.
void setDiscretization(Domain const &domain, double ds)
Initialize discretization and allocate required memory.
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.
SCFT with real 1D fields.
PSCF package top-level namespace.