ROL
|
Provides behavior common to SerialObjective as SerialConstaint. More...
#include <ROL_SerialFunction.hpp>
Public Types | |
using | size_type = typename std::vector< Real >::size_type |
Public Member Functions | |
SerialFunction (const Vector< Real > &u_initial, const TimeStampsPtr< Real > &timeStampsPtr) | |
size_type | numTimeSteps () const |
const Vector< Real > & | getInitialCondition () const |
void | setInitialCondition (const Vector< Real > &u_initial) |
const Vector< Real > & | getZeroState () const |
bool | getSkipInitialCondition () const |
void | setSkipInitialCondition (bool skip) |
TimeStampsPtr< Real > | getTimeStampsPtr () const |
void | setTimeStampsPtr (const TimeStampsPtr< Real > &timeStampsPtr) |
TimeStamp< Real > & | getTimeStamp (size_type i) |
const TimeStamp< Real > & | getTimeStamp (size_type i) const |
void | setTimeStamp (size_type i, const TimeStamp< Real > &timeStamp) |
Protected Member Functions | |
const TimeStamp< Real > & | ts (size_type i) const |
Ptr< Vector< Real > > | clone (const Vector< Real > &x) |
Private Types | |
using | PV = PartitionedVector< Real > |
Private Attributes | |
Ptr< Vector< Real > > | u_initial_ |
Ptr< Vector< Real > > | u_zero_ |
TimeStampsPtr< Real > | timeStampsPtr_ |
VectorWorkspace< Real > | workspace_ |
size_type | Nt_ |
bool | skipInitialCond_ = false |
Provides behavior common to SerialObjective as SerialConstaint.
Definition at line 59 of file ROL_SerialFunction.hpp.
using ROL::SerialFunction< Real >::size_type = typename std::vector<Real>::size_type |
Definition at line 61 of file ROL_SerialFunction.hpp.
|
private |
Definition at line 64 of file ROL_SerialFunction.hpp.
|
inline |
Definition at line 80 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::u_initial_, and ROL::SerialFunction< Real >::u_zero_.
|
inlineprotected |
Definition at line 75 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::timeStampsPtr_.
Referenced by ROL::SerialConstraint< Real >::applyAdjointHessian_11(), ROL::SerialConstraint< Real >::applyAdjointHessian_22(), ROL::SerialConstraint< Real >::applyAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyAdjointJacobian_2(), ROL::SerialConstraint< Real >::applyInverseAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyInverseJacobian_1(), ROL::SerialConstraint< Real >::applyJacobian_1(), ROL::SerialConstraint< Real >::applyJacobian_2(), ROL::SerialObjective< Real >::gradient_1(), ROL::SerialObjective< Real >::gradient_2(), ROL::SerialObjective< Real >::hessVec_11(), ROL::SerialObjective< Real >::hessVec_12(), ROL::SerialObjective< Real >::hessVec_21(), ROL::SerialObjective< Real >::hessVec_22(), ROL::SerialConstraint< Real >::solve(), ROL::SerialConstraint< Real >::update(), ROL::SerialObjective< Real >::value(), and ROL::SerialConstraint< Real >::value().
|
inlineprotected |
Definition at line 76 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::workspace_.
Referenced by ROL::SerialConstraint< Real >::applyAdjointHessian_11(), ROL::SerialConstraint< Real >::applyAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyInverseAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyInverseJacobian_1(), ROL::SerialConstraint< Real >::applyJacobian_1(), ROL::SerialObjective< Real >::gradient_1(), ROL::SerialObjective< Real >::hessVec_11(), ROL::SerialObjective< Real >::hessVec_12(), and ROL::SerialObjective< Real >::hessVec_21().
|
inline |
Definition at line 90 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::Nt_.
Referenced by ROL::SerialConstraint< Real >::applyAdjointHessian_11(), ROL::SerialConstraint< Real >::applyAdjointHessian_22(), ROL::SerialConstraint< Real >::applyAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyAdjointJacobian_2(), ROL::SerialConstraint< Real >::applyInverseAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyInverseJacobian_1(), ROL::SerialConstraint< Real >::applyJacobian_1(), ROL::SerialConstraint< Real >::applyJacobian_2(), ROL::SerialObjective< Real >::gradient_1(), ROL::SerialObjective< Real >::gradient_2(), ROL::SerialObjective< Real >::hessVec_11(), ROL::SerialObjective< Real >::hessVec_12(), ROL::SerialObjective< Real >::hessVec_21(), ROL::SerialObjective< Real >::hessVec_22(), ROL::SerialConstraint< Real >::solve(), ROL::SerialConstraint< Real >::update(), ROL::SerialObjective< Real >::value(), and ROL::SerialConstraint< Real >::value().
|
inline |
Definition at line 92 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::u_initial_.
Referenced by ROL::SerialConstraint< Real >::applyAdjointHessian_22(), ROL::SerialConstraint< Real >::applyAdjointJacobian_2(), ROL::SerialConstraint< Real >::applyJacobian_2(), ROL::SerialObjective< Real >::gradient_1(), ROL::SerialObjective< Real >::gradient_2(), ROL::SerialObjective< Real >::hessVec_11(), ROL::SerialObjective< Real >::hessVec_12(), ROL::SerialObjective< Real >::hessVec_21(), ROL::SerialObjective< Real >::hessVec_22(), ROL::SerialConstraint< Real >::solve(), ROL::SerialConstraint< Real >::update(), ROL::SerialObjective< Real >::value(), and ROL::SerialConstraint< Real >::value().
|
inline |
Definition at line 93 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::u_initial_.
|
inline |
Definition at line 95 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::u_zero_.
Referenced by ROL::SerialConstraint< Real >::applyAdjointHessian_11(), ROL::SerialConstraint< Real >::applyAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyInverseAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyInverseJacobian_1(), and ROL::SerialConstraint< Real >::applyJacobian_1().
|
inline |
Definition at line 97 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::skipInitialCond_.
Referenced by ROL::SerialConstraint< Real >::applyAdjointHessian_11(), ROL::SerialConstraint< Real >::applyAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyAdjointJacobian_2(), ROL::SerialConstraint< Real >::applyInverseAdjointJacobian_1(), ROL::SerialConstraint< Real >::applyInverseJacobian_1(), ROL::SerialConstraint< Real >::applyJacobian_1(), ROL::SerialConstraint< Real >::applyJacobian_2(), ROL::SerialObjective< Real >::gradient_2(), ROL::SerialObjective< Real >::hessVec_22(), ROL::SerialConstraint< Real >::solve(), ROL::SerialConstraint< Real >::update(), ROL::SerialObjective< Real >::value(), and ROL::SerialConstraint< Real >::value().
|
inline |
Definition at line 98 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::skipInitialCond_.
|
inline |
Definition at line 101 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::timeStampsPtr_.
|
inline |
Definition at line 103 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::Nt_, and ROL::SerialFunction< Real >::timeStampsPtr_.
|
inline |
Definition at line 109 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::timeStampsPtr_.
|
inline |
Definition at line 110 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::timeStampsPtr_.
|
inline |
Definition at line 112 of file ROL_SerialFunction.hpp.
References ROL::SerialFunction< Real >::timeStampsPtr_.
|
private |
Definition at line 66 of file ROL_SerialFunction.hpp.
Referenced by ROL::SerialFunction< Real >::getInitialCondition(), ROL::SerialFunction< Real >::SerialFunction(), and ROL::SerialFunction< Real >::setInitialCondition().
|
private |
Definition at line 67 of file ROL_SerialFunction.hpp.
Referenced by ROL::SerialFunction< Real >::getZeroState(), and ROL::SerialFunction< Real >::SerialFunction().
|
private |
|
mutableprivate |
Definition at line 69 of file ROL_SerialFunction.hpp.
Referenced by ROL::SerialFunction< Real >::clone().
|
private |
Definition at line 70 of file ROL_SerialFunction.hpp.
Referenced by ROL::SerialFunction< Real >::numTimeSteps(), and ROL::SerialFunction< Real >::setTimeStampsPtr().
|
private |
Definition at line 71 of file ROL_SerialFunction.hpp.
Referenced by ROL::SerialFunction< Real >::getSkipInitialCondition(), and ROL::SerialFunction< Real >::setSkipInitialCondition().