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< std::pair< Real, std::vector< Real > > > _time_ip
Vector holding data for each time.
Real _simulation_time
Time the simulation is at.
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...
static InputParameters validParams()
void setCurrentTime(Real time, Real dt)
This function sets up member variables for the inner product accumulation at certain time...
void add(const OptimizationFunctionInnerProductHelper &other)
Accumulates inner product integration in _curr_time_ip vector from another object.
std::vector< Real > * _curr_time_ip
Vector for current time.
const OptimizationFunction *const _function
Function used in optimization.
FEProblemBase & _ip_problem
FEProblem used for getting system quantities.
const Real & _reverse_time_end
The final time when we want to reverse the time index in function evaluation.
OptimizationFunctionInnerProductHelper(const InputParameters ¶meters)
void getVector(std::vector< Real > &result)
Gathers _curr_time_ip from other processors and performs time integration.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _actual_time
Time the actual problem is at, defined by _reverse_time_end.
Base class for functions used in inverse optimization The parameterDerivative function is used in adj...