1#ifndef R1D_PROPAGATOR_H
2#define R1D_PROPAGATOR_H
11#include <pscf/solvers/PropagatorTmpl.h>
12#include <util/containers/DArray.h>
182 {
return qFields_[0]; }
188 {
return qFields_[ns_-1]; }
194 {
return qFields_[i]; }
199 inline Block& Propagator::block()
215 { blockPtr_ = █ }
Block within a block polymer.
FieldT const & head() const
Return q-field at beginning of block (initial condition).
bool isAllocated() const
Has memory been allocated for this propagator?
FieldT const & tail() const
Return q-field at end of block.
FieldT const & q(int i) const
Return q-field at specified step.
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.
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.
DArray< double > FieldT
Generic field (function of position).
Dynamically allocatable contiguous array template.
SCFT with real 1D fields.
PSCF package top-level namespace.