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

Go to the source code of this file.

Classes

class  ScalarComponentIC
 Initial condition to set different values on each component of scalar variable. More...
 

Functions

template<>
InputParameters validParams< ScalarComponentIC > ()
 

Function Documentation

Definition at line 20 of file ScalarComponentIC.C.

21 {
23  params.addRequiredParam<std::vector<Real>>("values",
24  "Initial values to initialize the scalar variable.");
25 
26  return params;
27 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
InputParameters validParams< ScalarInitialCondition >()