PSCF v1.2
ParameterType.cpp
1/*
2* PSCF - Polymer Self-Consistent Field Theory
3*
4* Copyright 2016 - 2022, The Regents of the University of Minnesota
5* Distributed under the terms of the GNU General Public License.
6*/
7
8#include "ParameterType.h"
9
10namespace Pscf {
11
12 // Constructor
14 : name(),
15 nId(0),
16 modifierPtr(0)
17 {}
18
19 // Alternate constructor that sets all members
20 ParameterType::ParameterType(std::string name, int nId,
21 ParameterModifier& modifier)
22 : name(name),
23 nId(nId),
24 modifierPtr(&modifier)
25 {}
26
27 // Destructor
30
31} // namespace Pscf
Base class allowing subclasses to define sweepable parameters.
PSCF package top-level namespace.
Definition param_pc.dox:1
ParameterType()
Constructor.
~ParameterType()
Destructor.