1#ifndef R1D_PROPAGATOR_H
2#define R1D_PROPAGATOR_H
11#include <pscf/solvers/PropagatorTmpl.h>
12#include <util/containers/DArray.h>
188 {
return qFields_[0]; }
194 {
return qFields_[ns_-1]; }
200 {
return qFields_[i]; }
205 inline Block& Propagator::block()
221 { blockPtr_ = █ }
Block within a branched polymer.
QFieldT const & q(int i) const
Return q-field at specified step.
DArray< double > FieldT
Generic field (function of position).
DArray< double > QFieldT
Propagator q-field type.
bool isAllocated() const
Has memory been allocated for this propagator?
QFieldT const & tail() const
Return q-field at end of block.
int ns() const
Number of values of s (or slices), including head and tail.
void setBlock(Block &block)
Associate this propagator with a block.
void solve()
Solve the modified diffusion equation (MDE) for this block.
QFieldT const & head() const
Return q-field at beginning of block (initial condition).
double computeQ()
Compute and return partition function for the molecule.
void reallocate(int ns)
Reallocate memory used by this propagator.
void allocate(int ns, int nx)
Set discretization and allocate memory.
Dynamically allocatable contiguous array template.
SCFT with real 1D fields.
PSCF package top-level namespace.