ROL
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
src
function
ROL_ScalarController.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Rapid Optimization Library (ROL) Package
4
//
5
// Copyright 2014 NTESS and the ROL contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef ROL_SCALARCONTROLLER_H
11
#define ROL_SCALARCONTROLLER_H
12
13
#include "
ROL_VectorController.hpp
"
14
#include "
ROL_SingletonVector.hpp
"
15
16
namespace
ROL {
17
18
template
<
class
Real,
class
Key=std::vector<Real>>
19
class
ScalarController
:
public
VectorController
<Real,Key> {
20
public
:
21
ScalarController
(
void
);
22
23
bool
get
(Real &x,
const
Key ¶m);
24
25
void
set
(Real x,
const
Key ¶m);
26
27
};
// class ScalarController
28
29
}
// namespace ROL
30
31
#include "
ROL_ScalarController_Def.hpp
"
32
33
#endif
ROL_SingletonVector.hpp
ROL_ScalarController_Def.hpp
ROL::ScalarController::ScalarController
ScalarController(void)
Definition:
ROL_ScalarController_Def.hpp:16
ROL::ScalarController
Definition:
ROL_ScalarController.hpp:19
ROL::ScalarController::set
void set(Real x, const Key ¶m)
Definition:
ROL_ScalarController_Def.hpp:27
ROL_VectorController.hpp
ROL::VectorController
Definition:
ROL_VectorController.hpp:21
Generated by
1.8.5