https://mooseframework.inl.gov
Loading...
Searching...
No Matches
OptimizationReporter.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
12#include "OptimizationData.h"
14
18class OptimizationReporter : public OptimizationDataTempl<OptimizationReporterBase>
19{
20
21public:
24
25 virtual Real computeObjective() override;
26 virtual void setMisfitToSimulatedValues() override;
27
28protected:
29 virtual void setICsandBounds() override;
30};
const InputParameters & parameters() const
Computes gradient and contains reporters for communicating between optimizeSolve and subapps.
static InputParameters validParams()
virtual void setICsandBounds() override
Sets the initial conditions and bounds right before it is needed.
virtual Real computeObjective() override
Function to compute objective.
virtual void setMisfitToSimulatedValues() override
Function to override misfit values with the simulated values from the matrix free hessian forward sol...