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 576 of file MFEMProblem.C.

577{
578 if (parameters.isParamSetByUser("expression_z"))
579 return 3;
580 if (parameters.isParamSetByUser("expression_y") || type == "LevelSetOlssonVortex")
581 return 2;
582 if (parameters.isParamSetByUser("expression_x"))
583 return 1;
584
585 return 3;
586}
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 626 of file MFEMProblem.C.

626 {"MFEMParsedFunction",
627 "MFEMCoordinateTransformations",
628 "MFEMScalarQuadratureFunction",
629 "MFEMVectorQuadratureFunction"};

Referenced by MFEMProblem::addFunction().

◆ SCALAR_FUNCS

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

Definition at line 588 of file MFEMProblem.C.

588 {"Axisymmetric2D3DSolutionFunction",
589 "BicubicSplineFunction",
590 "CoarsenedPiecewiseLinear",
591 "CompositeFunction",
592 "ConstantFunction",
593 "ImageFunction",
594 "ParsedFunction",
595 "ParsedGradFunction",
596 "PeriodicFunction",
597 "PiecewiseBilinear",
598 "PiecewiseConstant",
599 "PiecewiseConstantFromCSV",
600 "PiecewiseLinear",
601 "PiecewiseLinearFromVectorPostprocessor",
602 "PiecewiseMultiInterpolation",
603 "PiecewiseMulticonstant",
604 "SolutionFunction",
605 "SplineFunction",
606 "FunctionSeries",
607 "LevelSetOlssonBubble",
608 "LevelSetOlssonPlane",
609 "NearestReporterCoordinatesFunction",
610 "ParameterMeshFunction",
611 "ParsedOptimizationFunction",
612 "FourierNoise",
613 "MovingPlanarFront",
614 "MultiControlDrumFunction",
615 "Grad2ParsedFunction",
616 "GradParsedFunction",
617 "ScaledAbsDifferenceDRLRewardFunction",
618 "CircularAreaHydraulicDiameterFunction",
619 "CosineHumpFunction",
620 "CosineTransitionFunction",
621 "CubicTransitionFunction",
622 "GeneralizedCircumference",
623 "PiecewiseFunction",
624 "TimeRampFunction"},

Referenced by MFEMProblem::addFunction().

◆ VECTOR_FUNCS

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

Definition at line 625 of file MFEMProblem.C.

625{"ParsedVectorFunction", "LevelSetOlssonVortex"},

Referenced by MFEMProblem::addFunction().