www.mooseframework.org
Functions
TimeStepMaterial.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< TimeStepMaterial > ()
 

Function Documentation

template<>
InputParameters validParams< TimeStepMaterial > ( )

Definition at line 12 of file TimeStepMaterial.C.

13 {
14  InputParameters params = validParams<Material>();
15  params.addParam<MaterialPropertyName>(
16  "prop_dt", "dt", "Material property to store the current dt");
17  params.addParam<MaterialPropertyName>(
18  "prop_time", "time", "Material property to store the current time");
19  params.addParam<MaterialPropertyName>(
20  "prop_time_step", "time_step", "Material property to store the current time step number");
21  return params;
22 }