45 #ifndef ROL_DYNAMICOBJECTIVE_HPP
46 #define ROL_DYNAMICOBJECTIVE_HPP
72 template<
typename Real>
81 virtual void update(
const V& uo,
const V& un,
const V& z,
const TS& timeStamp ) {
91 virtual Real
value(
const V& uo,
const V& un,
92 const V& z,
const TS& timeStamp )
const = 0;
97 const V& z,
const TS& timeStamp )
const {}
100 const V& z,
const TS& timeStamp )
const {}
103 const V& z,
const TS& timeStamp )
const {}
108 const V& z,
const TS& timeStamp )
const {}
111 const V& z,
const TS& timeStamp )
const {}
114 const V& z,
const TS& timeStamp )
const {}
118 const V& z,
const TS& timeStamp )
const {}
121 const V& z,
const TS& timeStamp )
const {}
124 const V& z,
const TS& timeStamp )
const {}
128 const V& z,
const TS& timeStamp )
const {}
131 const V& z,
const TS& timeStamp )
const {}
134 const V& z,
const TS& timeStamp )
const {}
140 #endif // ROL_DYNAMICOBJECTIVE_HPP
virtual ~DynamicObjective()
virtual void hessVec_z_un(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void update_un(const V &un, const TS &timeStamp)
Contains local time step information.
Defines the linear algebra or vector space interface.
Defines the time-dependent objective function interface for simulation-based optimization. Computes time-local contributions of value, gradient, Hessian-vector product etc to a larger composite objective defined over the simulation time. In contrast to other objective classes Objective_TimeSimOpt has a default implementation of value which returns zero, as time-dependent simulation based optimization problems may have an objective value which depends only on the final state of the system.
virtual void hessVec_un_z(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void update_z(const V &z, const TS &timeStamp)
virtual void hessVec_z_z(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void hessVec_uo_un(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void gradient_z(V &g, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void hessVec_uo_uo(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void hessVec_un_un(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void gradient_un(V &g, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void update(const V &uo, const V &un, const V &z, const TS &timeStamp)
virtual void update_uo(const V &uo, const TS &timeStamp)
virtual void hessVec_un_uo(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void hessVec_z_uo(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void hessVec_uo_z(V &hv, const V &v, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual void gradient_uo(V &g, const V &uo, const V &un, const V &z, const TS &timeStamp) const
virtual Real value(const V &uo, const V &un, const V &z, const TS &timeStamp) const =0