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

568{
569 if (parameters.isParamSetByUser("expression_z"))
570 return 3;
571 if (parameters.isParamSetByUser("expression_y") || type == "LevelSetOlssonVortex")
572 return 2;
573 if (parameters.isParamSetByUser("expression_x"))
574 return 1;
575
576 return 3;
577}
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 617 of file MFEMProblem.C.

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

Referenced by MFEMProblem::addFunction().

◆ SCALAR_FUNCS

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

Definition at line 579 of file MFEMProblem.C.

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

Referenced by MFEMProblem::addFunction().

◆ VECTOR_FUNCS

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

Definition at line 616 of file MFEMProblem.C.

616{"ParsedVectorFunction", "LevelSetOlssonVortex"},

Referenced by MFEMProblem::addFunction().