ROL
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
15
16namespace ROL {
17
18template <class Real, class Key=std::vector<Real>>
19class ScalarController : public VectorController<Real,Key> {
20public:
21 ScalarController(void);
22
23 bool get(Real &x, const Key &param);
24
25 void set(Real x, const Key &param);
26
27}; // class ScalarController
28
29} // namespace ROL
30
32
33#endif
void set(Real x, const Key &param)
bool get(Real &x, const Key &param)