https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
mfem
functions
MFEMCoordinateTransformations.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 "
MFEMProblem.h
"
15
27
class
MFEMCoordinateTransformations
:
public
Function
28
{
29
public
:
30
static
InputParameters
validParams
();
31
32
MFEMCoordinateTransformations
(
const
InputParameters
&
parameters
);
33
virtual
~MFEMCoordinateTransformations
() =
default
;
34
35
const
MooseEnum
&
coordType
()
const
{
return
_coord_type
; }
36
mfem::real_t
invREps
()
const
{
return
_inv_r_eps
; }
37
38
protected
:
39
void
declareRZCoefficients
();
40
42
MFEMProblem
&
_mfem_problem
;
44
const
MooseEnum
_coord_type
;
46
const
mfem::real_t
_inv_r_eps
;
47
};
48
49
#endif
MFEMProblem.h
Function
Base class for function objects.
Definition
Function.h:30
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MFEMCoordinateTransformations
Function object that declares MFEM coordinate-dependent coefficients.
Definition
MFEMCoordinateTransformations.h:28
MFEMCoordinateTransformations::_mfem_problem
MFEMProblem & _mfem_problem
Reference to the MFEMProblem instance.
Definition
MFEMCoordinateTransformations.h:42
MFEMCoordinateTransformations::declareRZCoefficients
void declareRZCoefficients()
Definition
MFEMCoordinateTransformations.C:41
MFEMCoordinateTransformations::~MFEMCoordinateTransformations
virtual ~MFEMCoordinateTransformations()=default
MFEMCoordinateTransformations::_coord_type
const MooseEnum _coord_type
Coordinate system type.
Definition
MFEMCoordinateTransformations.h:44
MFEMCoordinateTransformations::coordType
const MooseEnum & coordType() const
Definition
MFEMCoordinateTransformations.h:35
MFEMCoordinateTransformations::_inv_r_eps
const mfem::real_t _inv_r_eps
Regularization parameter used in inv_r = 1/sqrt(r^2 + eps^2)
Definition
MFEMCoordinateTransformations.h:46
MFEMCoordinateTransformations::invREps
mfem::real_t invREps() const
Definition
MFEMCoordinateTransformations.h:36
MFEMCoordinateTransformations::validParams
static InputParameters validParams()
Definition
MFEMCoordinateTransformations.C:17
MFEMProblem
Definition
MFEMProblem.h:30
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
MooseEnum
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition
MooseEnum.h:55
Generated on Sat Sep 5 2026 20:27:58 for https://mooseframework.inl.gov by
1.9.8