https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMMeridionalCurlAux.h
Go to the documentation of this file.
1
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 "MFEMAuxKernel.h"
15
16namespace Moose::MFEM
17{
31class MeridionalCurlVectorCoefficient : public mfem::VectorCoefficient
32{
33public:
34 MeridionalCurlVectorCoefficient(mfem::Coefficient & a_theta,
35 mfem::VectorCoefficient & grad_a_theta);
36
37 using mfem::VectorCoefficient::Eval;
38
39 void Eval(mfem::Vector & V,
40 mfem::ElementTransformation & T,
41 const mfem::IntegrationPoint & ip) override;
42
43private:
44 mfem::Coefficient & _a_theta;
45 mfem::VectorCoefficient & _grad_a_theta;
46};
47}
48
54{
55public:
57
59
60 virtual ~MFEMMeridionalCurlAux() = default;
61
63 virtual void execute() override;
64
65protected:
68};
69
70#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Class to construct an auxiliary solver used to update a real auxvariable.
Auxiliary kernel computing the meridional curl associated with an azimuthal scalar field A_theta.
virtual void execute() override
Computes the auxvariable.
static InputParameters validParams()
Moose::MFEM::MeridionalCurlVectorCoefficient _curl_coef
Custom coefficient implementing meridional curl.
virtual ~MFEMMeridionalCurlAux()=default
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Class to compute the meridional curl associated with an azimuthal scalar field A_theta.
void Eval(mfem::Vector &V, mfem::ElementTransformation &T, const mfem::IntegrationPoint &ip) override
Utilities for converting between vector(s) of libMesh Points and MFEM Vector(s).