www.mooseframework.org
Functions
TimeStepMaterial.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", TimeStepMaterial)
 
template<>
InputParameters validParams< TimeStepMaterial > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
TimeStepMaterial   
)

◆ validParams< TimeStepMaterial >()

template<>
InputParameters validParams< TimeStepMaterial > ( )

Definition at line 16 of file TimeStepMaterial.C.

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