PSCF v1.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#include "Block.h" // Base class template parameter
13
14namespace Pscf {
15namespace R1d {
16
17 using namespace Util;
18
37 class Polymer : public PolymerTmpl<Block>
38 {
39
40 public:
41
45 Polymer();
46
50 ~Polymer();
51
61 void compute(DArray< DArray<double> > const & wFields);
62
63 private:
64
65 // Restrict access
67
68 };
69
70}
71}
72#endif
virtual void solve(double phiTot=1.0)
Block within a branched polymer.
Polymer()
Default constructor.
void compute(DArray< DArray< double > > const &wFields)
Compute solution to modified diffusion equation and concentrations.
Dynamically allocatable contiguous array template.
Definition DArray.h:32
SCFT with real 1D fields.
PSCF package top-level namespace.
Definition param_pc.dox:1