https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMSteady.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#ifdef MOOSE_MFEM_ENABLED
11
12#pragma once
13
14#include "Executioner.h"
16#include "MFEMProblemSolve.h"
19
21{
22public:
24
25 explicit MFEMSteady(const InputParameters & params);
26
27 virtual void init() override;
28 virtual void execute() override;
29
31 virtual bool lastSolveConverged() const override { return _last_solve_converged; };
32
33private:
37
38 // Time variables used for consistency with MOOSE, needed for outputs.
39 // Important for future synchronisation of solves in MultiApps
42 Real & _time;
43
46};
47
48#endif
Executioners are objects that do the actual work of solving your problem.
Definition Executioner.h:37
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
virtual void execute() override
Pure virtual execute function MUST be overridden by children classes.
Definition MFEMSteady.C:100
MFEMProblemSolve _mfem_problem_solve
Definition MFEMSteady.h:36
MFEMProblemData & _mfem_problem_data
Definition MFEMSteady.h:35
bool _last_solve_converged
Flag showing if the last solve converged.
Definition MFEMSteady.h:45
int & _time_step
Definition MFEMSteady.h:41
static InputParameters validParams()
Definition MFEMSteady.C:22
MFEMProblem & _mfem_problem
Definition MFEMSteady.h:34
virtual void init() override
Initialize the executioner.
Definition MFEMSteady.C:75
Real _system_time
Definition MFEMSteady.h:40
Real & _time
Definition MFEMSteady.h:42
virtual bool lastSolveConverged() const override
Check if last solve converged.
Definition MFEMSteady.h:31
Interface required for MFEM executioners to add and get ProblemOperators:
Base problem data struct.