https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SteadyAndAdjoint.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 "Steady.h"
13#include "AdjointSolve.h"
14
15// Forward declarations
16class InputParameters;
17
19{
20public:
22
24
29 virtual void execute() override;
30
34 virtual bool lastSolveConverged() const override { return _last_solve_converged; }
35
36protected:
40
41private:
43};
The solve object is responsible for solving the adjoint version of a forward model.
const InputParameters & parameters() const
virtual bool lastSolveConverged() const override
Copy of the functionality from Steady to keep track of whether the latest solve converged.
virtual void execute() override
This call is basically a copy from Steady without the AMR loop and with a call to the adjoint solver ...
AdjointSolve _adjoint_solve
The solver which computes the adjoint system.
static InputParameters validParams()