https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Functions | Variables
MFEMProblem.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("MooseApp", MFEMProblem)
 
int vectorFunctionDim (const std::string &type, const InputParameters &parameters)
 

Variables

const std::vector< std::string > SCALAR_FUNCS
 
const std::vector< std::string > VECTOR_FUNCS = {"ParsedVectorFunction", "LevelSetOlssonVortex"}
 
const std::vector< std::string > MFEM_FUNCS
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "MooseApp"  ,
MFEMProblem   
)

◆ vectorFunctionDim()

int vectorFunctionDim ( const std::string &  type,
const InputParameters &  parameters 
)

Definition at line 566 of file MFEMProblem.C.

567{
568 if (parameters.isParamSetByUser("expression_z"))
569 return 3;
570 if (parameters.isParamSetByUser("expression_y") || type == "LevelSetOlssonVortex")
571 return 2;
572 if (parameters.isParamSetByUser("expression_x"))
573 return 1;
574
575 return 3;
576}
bool isParamSetByUser(const std::string &name) const
Method returns true if the parameter was set by the user.

Referenced by MFEMProblem::addFunction().

Variable Documentation

◆ MFEM_FUNCS

const std::vector<std::string> MFEM_FUNCS
Initial value:
= {"MFEMParsedFunction",
"MFEMCoordinateTransformations",
"MFEMScalarQuadratureFunction",
"MFEMVectorQuadratureFunction"}

Definition at line 616 of file MFEMProblem.C.

616 {"MFEMParsedFunction",
617 "MFEMCoordinateTransformations",
618 "MFEMScalarQuadratureFunction",
619 "MFEMVectorQuadratureFunction"};

Referenced by MFEMProblem::addFunction().

◆ SCALAR_FUNCS

const std::vector<std::string> SCALAR_FUNCS

Definition at line 578 of file MFEMProblem.C.

578 {"Axisymmetric2D3DSolutionFunction",
579 "BicubicSplineFunction",
580 "CoarsenedPiecewiseLinear",
581 "CompositeFunction",
582 "ConstantFunction",
583 "ImageFunction",
584 "ParsedFunction",
585 "ParsedGradFunction",
586 "PeriodicFunction",
587 "PiecewiseBilinear",
588 "PiecewiseConstant",
589 "PiecewiseConstantFromCSV",
590 "PiecewiseLinear",
591 "PiecewiseLinearFromVectorPostprocessor",
592 "PiecewiseMultiInterpolation",
593 "PiecewiseMulticonstant",
594 "SolutionFunction",
595 "SplineFunction",
596 "FunctionSeries",
597 "LevelSetOlssonBubble",
598 "LevelSetOlssonPlane",
599 "NearestReporterCoordinatesFunction",
600 "ParameterMeshFunction",
601 "ParsedOptimizationFunction",
602 "FourierNoise",
603 "MovingPlanarFront",
604 "MultiControlDrumFunction",
605 "Grad2ParsedFunction",
606 "GradParsedFunction",
607 "ScaledAbsDifferenceDRLRewardFunction",
608 "CircularAreaHydraulicDiameterFunction",
609 "CosineHumpFunction",
610 "CosineTransitionFunction",
611 "CubicTransitionFunction",
612 "GeneralizedCircumference",
613 "PiecewiseFunction",
614 "TimeRampFunction"},

Referenced by MFEMProblem::addFunction().

◆ VECTOR_FUNCS

const std::vector<std::string> VECTOR_FUNCS = {"ParsedVectorFunction", "LevelSetOlssonVortex"}

Definition at line 615 of file MFEMProblem.C.

615{"ParsedVectorFunction", "LevelSetOlssonVortex"},

Referenced by MFEMProblem::addFunction().