https://mooseframework.inl.gov
Classes | Namespaces | Functions | Variables
InputParameters.h File Reference

Go to the source code of this file.

Classes

class  FunctionParserBase< T >
 
class  InputParameters
 The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system. More...
 
struct  InputParameters::CommandLineMetadata
 Structure for storing information about a command line parameter. More...
 
class  InputParameters::SetHitNodeKey
 Class that is used as a parameter to setHitNode() that allows only relevant classes to set the hit node. More...
 
class  InputParameters::SetParamHitNodeKey
 Class that is used as a parameter to setHitNode(param) that allows only relevant classes to set the hit node. More...
 
struct  InputParameters::isValidCommandLineType< T >
 Determines whether or not the given type is a type that is supported for a command line parameter. More...
 
class  InputParameters::CommandLineParamSetKey
 Class that is used as a parameter to commandLineParamSet() that allows only the CommandLine to set that a parmeter is set by the command line. More...
 
struct  InputParameters::Metadata
 

Namespaces

 hit
 
 Moose
 MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found.
 
 Moose::internal
 

Functions

template<>
void InputParameters::addRequiredParam< std::vector< MooseEnum > > (const std::string &name, const std::vector< MooseEnum > &moose_enums, const std::string &doc_string)
 
template<>
void InputParameters::addRequiredParam< std::vector< MultiMooseEnum > > (const std::string &name, const std::vector< MultiMooseEnum > &moose_enums, const std::string &doc_string)
 
template<>
void InputParameters::addParam< std::vector< MooseEnum > > (const std::string &, const std::string &)
 
template<>
void InputParameters::addParam< std::vector< MultiMooseEnum > > (const std::string &, const std::string &)
 
template<>
void InputParameters::addRequiredParam< std::vector< MultiMooseEnum > > (const std::string &, const std::string &)
 
template<>
void InputParameters::addDeprecatedParam< std::vector< MooseEnum > > (const std::string &, const std::string &, const std::string &)
 
InputParameters emptyInputParameters ()
 
template<typename T >
constexpr T * Moose::internal::getNullptrExample ()
 
template<typename T >
constexpr bool Moose::internal::isMFEMFunctorNameTypeHelper (T *)
 
template<typename T , typename A >
constexpr bool Moose::internal::isMFEMFunctorNameTypeHelper (std::vector< T, A > *)
 
template<typename T >
constexpr bool Moose::internal::isScalarFunctorNameTypeHelper (T *)
 
template<typename T , typename A >
constexpr bool Moose::internal::isScalarFunctorNameTypeHelper (std::vector< T, A > *)
 
template<typename T >
constexpr bool Moose::internal::isVectorFunctorNameTypeHelper (T *)
 
template<typename T , typename A >
constexpr bool Moose::internal::isVectorFunctorNameTypeHelper (std::vector< T, A > *)
 
template<typename T >
constexpr bool Moose::internal::isFunctorNameTypeHelper (T *ex)
 

Variables

class FunctionParserBase Action
 

Function Documentation

◆ emptyInputParameters()

InputParameters emptyInputParameters ( )

Definition at line 31 of file InputParameters.C.

Referenced by NEML2ModelExecutor::actionParams(), ConstantReporter::addReporterTypeParams(), Moose::FV::advectedInterpolationParameter(), Factory::clone(), CompositionDT::compositionDTParams(), AppFactory::createAppShared(), Moose::createMooseApp(), TransientBase::defaultSteadyStateConvergenceParams(), dummyParams(), AdvancedOutput::enableOutputTypes(), FEProblemSolve::feProblemDefaultConvergenceParams(), FixedPointSolve::fixedPointDefaultConvergenceParams(), MooseServer::gatherDocumentCompletionItems(), MooseServer::gatherDocumentDefinitionLocations(), PhysicsBase::getAdditionalRMParams(), MooseServer::getHoverDisplayText(), MooseServer::getNodesByValueAndTypes(), Moose::PetscSupport::getPetscValidParams(), MooseServer::getRequiredParamsText(), Moose::SlepcSupport::getSlepcEigenProblemValidParams(), ParsedMaterialBase::validParams(), MeshChangedInterface::validParams(), MeshDisplacedInterface::validParams(), FVDiffusionInterpolationInterface::validParams(), MFEMProblemSolve::validParams(), FVRelationshipManagerInterface::validParams(), NonlinearSolveObject::validParams(), ReferenceResidualInterface::validParams(), MultiSystemSolveObject::validParams(), FixedPointSolve::validParams(), VectorPostprocessorInterface::validParams(), ReporterInterface::validParams(), MFEMBoundaryRestrictable::validParams(), GeometricSearchInterface::validParams(), MFEMBlockRestrictable::validParams(), BoundaryRestrictableRequired::validParams(), ElementIDInterface::validParams(), UserObjectInterface::validParams(), NeighborCoupleableMooseVariableDependencyIntermediateInterface::validParams(), DistributionInterface::validParams(), SetupInterface::validParams(), InitialConditionInterface::validParams(), ReporterTransferInterface::validParams(), FunctorInterface::validParams(), MOOSEToNEML2::validParams(), SamplerInterface::validParams(), ExecutorInterface::validParams(), TransientInterface::validParams(), FileRangeBuilder::validParams(), RandomInterface::validParams(), LayeredBase::validParams(), SamplerBase::validParams(), MortarConsumerInterface::validParams(), PostprocessorInterface::validParams(), DiffusionLHDGAssemblyHelper::validParams(), MooseParsedFunctionBase::validParams(), IPHDGAssemblyHelper::validParams(), ShapeUserObject< SideUserObject >::validParams(), OrientedBoxInterface::validParams(), BoundaryRestrictable::validParams(), NestedSolveTempl< is_ad >::validParams(), OutputInterface::validParams(), FunctionInterface::validParams(), Reporter::validParams(), TaggingInterface::validParams(), FunctionParserUtils< false >::validParams(), MooseBase::validParams(), PerfGraphInterface::validParams(), Moose::Builder::validParams(), BlockRestrictable::validParams(), MaterialPropertyInterface::validParams(), MeshBaseImageSampler::validParams(), ImageSampler::validParams(), and MooseAppCoordTransform::validParams().

32 {
33  InputParameters params;
34  return params;
35 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...

◆ InputParameters::addDeprecatedParam< std::vector< MooseEnum > >()

template<>
void InputParameters::addDeprecatedParam< std::vector< MooseEnum > > ( const std::string &  ,
const std::string &  ,
const std::string &   
)

Definition at line 1389 of file InputParameters.C.

1393 {
1394  mooseError("You must supply a vector of MooseEnum object(s) and the deprecation string when "
1395  "using addDeprecatedParam, even if the parameter is not required!");
1396 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:333

◆ InputParameters::addParam< std::vector< MooseEnum > >()

template<>
void InputParameters::addParam< std::vector< MooseEnum > > ( const std::string &  ,
const std::string &   
)

Definition at line 1326 of file InputParameters.C.

1328 {
1329  mooseError("You must supply a vector of MooseEnum object(s) when using addParam, even if the "
1330  "parameter is not required!");
1331 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:333

◆ InputParameters::addParam< std::vector< MultiMooseEnum > >()

template<>
void InputParameters::addParam< std::vector< MultiMooseEnum > > ( const std::string &  ,
const std::string &   
)

Definition at line 1335 of file InputParameters.C.

1337 {
1338  mooseError(
1339  "You must supply a vector of MultiMooseEnum object(s) when using addParam, even if the "
1340  "parameter is not required!");
1341 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:333

◆ InputParameters::addRequiredParam< std::vector< MooseEnum > >()

template<>
void InputParameters::addRequiredParam< std::vector< MooseEnum > > ( const std::string &  name,
const std::vector< MooseEnum > &  moose_enums,
const std::string &  doc_string 
)

Definition at line 1273 of file InputParameters.C.

1277 {
1278  InputParameters::set<std::vector<MooseEnum>>(name) =
1279  moose_enums; // valid parameter is set by set_attributes
1280  auto & metadata = _params[name];
1281  metadata._required = true;
1282  metadata._doc_string = doc_string;
1283 }
std::string name(const ElemQuality q)

◆ InputParameters::addRequiredParam< std::vector< MultiMooseEnum > >() [1/2]

template<>
void InputParameters::addRequiredParam< std::vector< MultiMooseEnum > > ( const std::string &  name,
const std::vector< MultiMooseEnum > &  moose_enums,
const std::string &  doc_string 
)

Definition at line 1287 of file InputParameters.C.

1291 {
1292  mooseAssert(
1293  moose_enums.size() == 1,
1294  "Only 1 MultiMooseEnum is supported in addRequiredParam<std::vector<MultiMooseEnum>> for " +
1295  name);
1296  mooseAssert(!moose_enums[0].items().empty(),
1297  "The MultiMooseEnum in addRequiredParam<std::vector<MultiMooseEnum>> is empty for " +
1298  name);
1299  InputParameters::set<std::vector<MultiMooseEnum>>(name) =
1300  moose_enums; // valid parameter is set by set_attributes
1301  auto & metadata = _params[name];
1302  metadata._required = true;
1303  metadata._doc_string = doc_string;
1304 }
std::string name(const ElemQuality q)

◆ InputParameters::addRequiredParam< std::vector< MultiMooseEnum > >() [2/2]

template<>
void InputParameters::addRequiredParam< std::vector< MultiMooseEnum > > ( const std::string &  ,
const std::string &   
)

Definition at line 1345 of file InputParameters.C.

1347 {
1348  mooseError("You must supply a vector of MultiMooseEnum object(s) when using addRequiredParam!");
1349 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:333

Variable Documentation

◆ Action

Definition at line 107 of file InputParameters.h.