https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMComplexWeakForm.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"
16
21{
22public:
24
26
27protected:
28 virtual std::shared_ptr<Moose::MFEM::EquationSystem> makeEquationSystem() override;
29
30 virtual void addBoundaryCondition(const std::string & name,
31 std::shared_ptr<MFEMBoundaryCondition> bc) override;
32
33 virtual void addKernel(const std::string & name, std::shared_ptr<MFEMKernel> kernel) override;
34
35private:
40};
41
42#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Constructs and stores a Moose::MFEM::ComplexEquationSystem object.
virtual void addBoundaryCondition(const std::string &name, std::shared_ptr< MFEMBoundaryCondition > bc) override
virtual std::shared_ptr< Moose::MFEM::EquationSystem > makeEquationSystem() override
Constructs the empty EquationSystem of the type this weak form builds.
static InputParameters validParams()
Moose::MFEM::ComplexEquationSystem & complexEquationSystem()
The equation system as a ComplexEquationSystem, which is the type this class builds in makeEquationSy...
virtual void addKernel(const std::string &name, std::shared_ptr< MFEMKernel > kernel) override
Base class for MOOSE objects that construct objects derived from Moose::MFEM::EquationSystem.
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
Class to store weak form components (bilinear and linear forms, and optionally mixed and nonlinear fo...