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 #include "ProblemOperatorBase.h"
14 #include "SolveObject.h"
15 
16 class MFEMProblem;
17 class Executioner;
18 
20 {
21 public:
23 
25  Executioner & ex,
26  std::vector<std::shared_ptr<Moose::MFEM::ProblemOperatorBase>> & problem_operators);
27 
33  virtual bool solve() override;
34 
35 protected:
37  std::vector<std::shared_ptr<Moose::MFEM::ProblemOperatorBase>> & _problem_operators;
38 };
39 
40 #endif
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()
MFEMProblemSolve(Executioner &ex, std::vector< std::shared_ptr< Moose::MFEM::ProblemOperatorBase >> &problem_operators)