https://mooseframework.inl.gov
MFEMProblemSolve.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 "ProblemOperatorBase.h"
15 #include "SolveObject.h"
16 
17 class MFEMProblem;
18 class Executioner;
19 
21 {
22 public:
24 
26  Executioner & ex,
27  std::vector<std::shared_ptr<Moose::MFEM::ProblemOperatorBase>> & problem_operators);
28 
34  virtual bool solve() override;
35 
36 protected:
38  std::vector<std::shared_ptr<Moose::MFEM::ProblemOperatorBase>> & _problem_operators;
39  unsigned int _nl_max_its;
40  mfem::real_t _nl_abs_tol;
41  mfem::real_t _nl_rel_tol;
42  unsigned int _print_level;
43 };
44 
45 #endif
mfem::real_t _nl_abs_tol
std::vector< std::shared_ptr< Moose::MFEM::ProblemOperatorBase > > & _problem_operators
virtual bool solve() override
Solve routine provided by this object.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
MFEMProblem & _mfem_problem
Executioners are objects that do the actual work of solving your problem.
Definition: Executioner.h:30
static InputParameters validParams()
unsigned int _print_level
MFEMProblemSolve(Executioner &ex, std::vector< std::shared_ptr< Moose::MFEM::ProblemOperatorBase >> &problem_operators)
unsigned int _nl_max_its
mfem::real_t _nl_rel_tol