https://mooseframework.inl.gov
OptimizationFunctionTest.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
15 
17 {
18 public:
20 
22 
23  void initialSetup() override {}
24  void initialize() override {}
25  void execute() override;
26  void finalize() override {}
27 
28 protected:
29  const std::vector<Point> & _points;
30  const std::vector<Real> & _times;
31  std::map<const OptimizationFunction *, std::vector<VectorPostprocessorValue *>> _functions;
32 };
const std::vector< Point > & _points
static InputParameters validParams()
OptimizationFunctionTest(const InputParameters &params)
const std::vector< Real > & _times
Base class for functions used in inverse optimization The parameterDerivative function is used in adj...
std::map< const OptimizationFunction *, std::vector< VectorPostprocessorValue * > > _functions