https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMWeakForm.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 "MFEMWeakFormBase.h"
15
20{
21public:
23
25
26protected:
27 virtual std::shared_ptr<Moose::MFEM::EquationSystem> makeEquationSystem() override;
28
29 virtual void addBoundaryCondition(const std::string & name,
30 std::shared_ptr<MFEMBoundaryCondition> bc) override;
31
32 virtual void addKernel(const std::string & name, std::shared_ptr<MFEMKernel> kernel) override;
33};
34
35#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Base class for MOOSE objects that construct objects derived from Moose::MFEM::EquationSystem.
Constructs and stores a Moose::MFEM::EquationSystem object.
virtual void addKernel(const std::string &name, std::shared_ptr< MFEMKernel > kernel) override
static InputParameters validParams()
virtual std::shared_ptr< Moose::MFEM::EquationSystem > makeEquationSystem() override
Constructs the empty EquationSystem of the type this weak form builds.
virtual void addBoundaryCondition(const std::string &name, std::shared_ptr< MFEMBoundaryCondition > bc) override
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
const std::string & name() const
Get the name of the class.
Definition MooseBase.h:103