1#ifndef FD1D_PROPAGATOR_H
2#define FD1D_PROPAGATOR_H
11#include <pscf/solvers/PropagatorTmpl.h>
12#include <util/containers/DArray.h>
198 {
return qFields_[0]; }
204 {
return qFields_[ns_-1]; }
210 {
return qFields_[i]; }
215 inline Block& Propagator::block()
231 { blockPtr_ = █ }
Block within a branched polymer.
MDE solver for one-direction of one block.
DArray< double > QField
Propagator q-field type.
void solve()
Solve the modified diffusion equation (MDE) for this block.
QField const & tail() const
Return q-field at end of block.
void setBlock(Block &block)
Associate this propagator with a block.
double computeQ()
Compute and return partition function for the molecule.
void reallocate(int ns)
Reallocate memory used by this propagator.
DArray< double > CField
Monomer concentration field type.
QField const & head() const
Return q-field at beginning of block (initial condition).
DArray< double > Field
Generic field (function of position).
DArray< double > WField
Chemical potential field type.
int ns() const
Number of values of s (or slices), including head and tail.
bool isAllocated() const
Has memory been allocated for this propagator?
void allocate(int ns, int nx)
Set discretization and allocate memory.
QField const & q(int i) const
Return q-field at specified step.
Template for propagator classes.
Dynamically allocatable contiguous array template.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.