PSCF v1.3.3
r1d/solvers/Polymer.h
1#ifndef R1D_POLYMER_H
2#define R1D_POLYMER_H
3
4/*
5* PSCF - Polymer Self-Consistent Field
6*
7* Copyright 2015 - 2025, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11#include <pscf/solvers/PolymerTmpl.h> // Base class template
12
13// Forward declarations
14namespace Pscf {
15 namespace R1d {
16 class Block;
17 class Propagator;
18 }
19 extern template class PolymerTmpl<R1d::Block, R1d::Propagator>;
20}
21
22namespace Pscf {
23namespace R1d {
24
25 using namespace Util;
26
46 {
47
48 public:
49
53 Polymer();
54
58 ~Polymer();
59
69 void compute(DArray< DArray<double> > const & wFields);
70
71 private:
72
73 // Restrict access
75
76 };
77
78}
79}
80#endif
Template for an MDE solver and descriptor for a block polymer.
Definition PolymerTmpl.h:45
virtual void solve(double phiTot=1.0)
Block within a block polymer.
Polymer()
Default constructor.
void compute(DArray< DArray< double > > const &wFields)
Compute solution to modified diffusion equation and concentrations.
MDE solver for one-direction of one block.
Dynamically allocatable contiguous array template.
Definition DArray.h:32
SCFT with real 1D fields.
PSCF package top-level namespace.
Utility classes for scientific computation.