https://mooseframework.inl.gov
Loading...
Searching...
No Matches
OptimizationReporterTest.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 "GeneralUserObject.h"
13#include "libmesh/petsc_vector.h"
14
21{
22public:
24
26
27 void initialSetup() override;
28 void initialize() override {};
29 void execute() override;
30 void finalize() override {};
31
32private:
36 std::unique_ptr<libMesh::PetscVector<Number>> _optSolverParameters;
37};
Base class for optimization objects, implements routines for calculating misfit.
A UserObject that tests the requesting of Reporter values that are actually correct.
OptimizationReporterBase * _optReporter
std::unique_ptr< libMesh::PetscVector< Number > > _optSolverParameters
const libMesh::Parallel::Communicator _my_comm
Communicator used for operations.
static InputParameters validParams()