www.mooseframework.org
Classes | Functions
AddFieldSplitAction.h File Reference

Go to the source code of this file.

Classes

class  AddFieldSplitAction
 

Functions

template<>
InputParameters validParams< AddFieldSplitAction > ()
 

Function Documentation

Definition at line 22 of file AddFieldSplitAction.C.

23 {
25  params.addParam<std::string>("type", "Split", "Classname of the split object");
26  params.addParam<std::vector<NonlinearVariableName>>("vars", "variables for this field");
27  params.addParam<MultiMooseEnum>(
28  "petsc_options", Moose::PetscSupport::getCommonPetscFlags(), "Singleton PETSc options");
29  params.addParam<MultiMooseEnum>("petsc_options_iname",
31  "Names of PETSc name/value pairs");
32  params.addParam<std::vector<std::string>>(
33  "petsc_options_value",
34  "Values of PETSc name/value pairs (must correspond with \"petsc_options_iname\"");
35  return params;
36 }
MultiMooseEnum getCommonPetscKeys()
A helper function to produce a MultiMooseEnum with commonly used PETSc iname options (keys in key-val...
Definition: PetscSupport.C:797
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
MultiMooseEnum getCommonPetscFlags()
A helper function to produce a MultiMooseEnum with commonly used PETSc single options (flags) ...
Definition: PetscSupport.C:785
InputParameters validParams< MooseObjectAction >()
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...