ROL
Toggle main menu visibility
Loading...
Searching...
No Matches
src
function
constraint
ROL_LowerBoundToConstraint.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_LOWER_BOUND_TO_CONSTRAINT_H
11
#define ROL_LOWER_BOUND_TO_CONSTRAINT_H
12
13
#include "
ROL_BoundConstraint.hpp
"
14
#include "
ROL_Constraint.hpp
"
15
20
21
namespace
ROL
{
22
23
template
<
typename
Real>
24
class
LowerBoundToConstraint
:
public
Constraint
<Real> {
25
private
:
26
Ptr<Vector<Real>>
lo_
;
27
28
public
:
29
LowerBoundToConstraint
(
BoundConstraint<Real>
&bnd);
30
LowerBoundToConstraint
(
const
Vector<Real>
&lo);
31
32
void
value
(
Vector<Real>
&c,
const
Vector<Real>
&x, Real &tol)
override
;
33
void
applyJacobian
(
Vector<Real>
&jv,
const
Vector<Real>
&v,
const
Vector<Real>
&x, Real &tol)
override
;
34
void
applyAdjointJacobian
(
Vector<Real>
&ajv,
const
Vector<Real>
&v,
const
Vector<Real>
&x, Real &tol)
override
;
35
void
applyAdjointHessian
(
Vector<Real>
&ahuv,
const
Vector<Real>
&u,
const
Vector<Real>
&v,
36
const
Vector<Real>
&x, Real &tol)
override
;
37
};
38
39
}
40
41
#include "
ROL_LowerBoundToConstraint_Def.hpp
"
42
43
#endif
ROL_BoundConstraint.hpp
ROL_Constraint.hpp
ROL_LowerBoundToConstraint_Def.hpp
ROL::BoundConstraint
Provides the interface to apply upper and lower bound constraints.
Definition
ROL_BoundConstraint.hpp:39
ROL::LowerBoundToConstraint::value
void value(Vector< Real > &c, const Vector< Real > &x, Real &tol) override
Definition
ROL_LowerBoundToConstraint_Def.hpp:28
ROL::LowerBoundToConstraint::LowerBoundToConstraint
LowerBoundToConstraint(BoundConstraint< Real > &bnd)
Definition
ROL_LowerBoundToConstraint_Def.hpp:16
ROL::LowerBoundToConstraint::lo_
Ptr< Vector< Real > > lo_
Definition
ROL_LowerBoundToConstraint.hpp:26
ROL::LowerBoundToConstraint::applyJacobian
void applyJacobian(Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Definition
ROL_LowerBoundToConstraint_Def.hpp:35
ROL::LowerBoundToConstraint::applyAdjointJacobian
void applyAdjointJacobian(Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Definition
ROL_LowerBoundToConstraint_Def.hpp:43
ROL::LowerBoundToConstraint::applyAdjointHessian
void applyAdjointHessian(Vector< Real > &ahuv, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &x, Real &tol) override
Definition
ROL_LowerBoundToConstraint_Def.hpp:51
ROL::ROL::Constraint::Constraint
Constraint(void)
Definition
ROL_Constraint_SerialSimOpt.hpp:59
ROL::Vector
Defines the linear algebra or vector space interface.
Definition
ROL_Vector.hpp:51
ROL
Definition
ROL_ElementwiseVector.hpp:27
Generated by
1.17.0