OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
src
Optimize
DVar.h
Go to the documentation of this file.
1
#ifndef OPAL_DVAR_HH
2
#define OPAL_DVAR_HH
3
4
#include "
AbstractObjects/Definition.h
"
5
6
class
DVar
:
public
Definition
{
7
public
:
8
DVar
();
9
~DVar
();
10
11
virtual
DVar
*
clone
(
const
std::string &
name
);
12
13
virtual
void
execute
();
14
15
std::string
getVariable
()
const
;
16
double
getLowerBound
()
const
;
17
double
getUpperBound
()
const
;
18
19
private
:
20
DVar
(
const
std::string &
name
,
21
DVar
*parent);
22
};
23
24
inline
25
DVar
*
DVar::clone
(
const
std::string &
name
) {
26
return
new
DVar
(
name
,
this
);
27
}
28
29
#endif
Definition.h
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:32
Definition
The base class for all OPAL definitions.
Definition:
Definition.h:30
DVar
Definition:
DVar.h:6
DVar::~DVar
~DVar()
Definition:
DVar.cpp:30
DVar::getVariable
std::string getVariable() const
Definition:
DVar.cpp:37
DVar::execute
virtual void execute()
Execute the command.
Definition:
DVar.cpp:33
DVar::getUpperBound
double getUpperBound() const
Definition:
DVar.cpp:45
DVar::clone
virtual DVar * clone(const std::string &name)
Return a clone.
Definition:
DVar.h:25
DVar::DVar
DVar()
Definition:
DVar.cpp:13
DVar::getLowerBound
double getLowerBound() const
Definition:
DVar.cpp:41
Generated on Wed Aug 25 2021 16:41:04 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1