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