https://mooseframework.inl.gov
ProblemOperator.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 MFEM_ENABLED
11 
12 #pragma once
13 #include "MFEMProblemData.h"
15 
16 namespace Moose::MFEM
17 {
19 class ProblemOperator : public mfem::Operator, public ProblemOperatorInterface
20 {
21 public:
23 
24  void SetGridFunctions() override;
25 
26  virtual void Solve(mfem::Vector & /*X*/) {}
27  void Mult(const mfem::Vector &, mfem::Vector &) const override {}
28 };
29 
30 } // namespace Moose::MFEM
31 
32 #endif
Base problem data struct.
Steady-state problem operator with no equation system.
void Mult(const mfem::Vector &, mfem::Vector &) const override
ProblemOperator(MFEMProblemData &problem)
void SetGridFunctions() override
virtual void Solve(mfem::Vector &)
Interface inherited by ProblemOperator and TimeDomainProblemOperator. Removes duplicated code in both...