PSCF
v1.3
src
pscf
sweep
ParameterType.h
1
#ifndef PSCF_PARAMETER_TYPE_H
2
#define PSCF_PARAMETER_TYPE_H
3
4
#include <string>
5
6
/*
7
* PSCF - Polymer Self-Consistent Field
8
*
9
* Copyright 2015 - 2025, The Regents of the University of Minnesota
10
* Distributed under the terms of the GNU General Public License.
11
*/
12
13
namespace
Pscf
{
14
15
class
ParameterModifier
;
// Forward declaration, avoids circular reference
16
30
struct
ParameterType
31
{
32
36
ParameterType
();
37
45
ParameterType
(std::string name,
int
nId,
ParameterModifier
& modifier);
46
50
~ParameterType
();
51
52
// String identifier
53
std::string name;
54
55
// Number of associated integer indices
56
int
nId;
57
58
// Pointer to object that can get and set the parameter
59
ParameterModifier
* modifierPtr;
60
61
};
62
63
}
// namespace Pscf
64
#endif
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
for PSCF by
1.14.0