49 void update(
const Point & q_point, Real q_inner_product);
61 void getVector(std::vector<Real> & result);
78 std::vector<std::pair<Real, std::vector<Real>>>
_time_ip;
std::vector< Real > * _curr_time_ip
Vector for current time.
void setCurrentTime(Real time, Real dt)
This function sets up member variables for the inner product accumulation at certain time.
const Real & _reverse_time_end
The final time when we want to reverse the time index in function evaluation.
Real _simulation_time
Time the simulation is at.
Real _actual_time
Time the actual problem is at, defined by _reverse_time_end.
void add(const OptimizationFunctionInnerProductHelper &other)
Accumulates inner product integration in _curr_time_ip vector from another object.
const OptimizationFunction *const _function
Function used in optimization.
static InputParameters validParams()
FEProblemBase & _ip_problem
FEProblem used for getting system quantities.
void update(const Point &q_point, Real q_inner_product)
Accumulates integration for inner product by multiplying the given value by the function's parameterG...
std::vector< std::pair< Real, std::vector< Real > > > _time_ip
Vector holding data for each time.
void getVector(std::vector< Real > &result)
Gathers _curr_time_ip from other processors and performs time integration.
Base class for functions used in inverse optimization The parameterDerivative function is used in adj...