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

Go to the source code of this file.

Classes

class  GenericConstantRankTwoTensor
 Declares a constant material property of type RankTwoTensor. More...
 

Functions

template<>
InputParameters validParams< GenericConstantRankTwoTensor > ()
 

Function Documentation

Definition at line 12 of file GenericConstantRankTwoTensor.C.

13 {
15  params.addRequiredParam<std::vector<Real>>(
16  "tensor_values", "Vector of values defining the constant rank two tensor");
17  params.addRequiredParam<MaterialPropertyName>(
18  "tensor_name", "Name of the tensor material property to be created");
19  return params;
20 }
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< Material >()
Definition: Material.C:27