PSCF
v1.2
src
pscf
sweep
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
10
namespace
Pscf
{
11
12
// Constructor
13
ParameterType::ParameterType
()
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
28
ParameterType::~ParameterType
()
29
{}
30
31
}
// namespace Pscf
Pscf::ParameterModifier
Base class allowing subclasses to define sweepable parameters.
Definition
ParameterModifier.h:41
Pscf
PSCF package top-level namespace.
Definition
param_pc.dox:1
Pscf::ParameterType::ParameterType
ParameterType()
Constructor.
Definition
ParameterType.cpp:13
Pscf::ParameterType::~ParameterType
~ParameterType()
Destructor.
Definition
ParameterType.cpp:28
Generated on Fri Mar 28 2025 00:57:27 for PSCF by
1.12.0