www.mooseframework.org
TimeStepMaterial.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Material.h"
13 
17 class TimeStepMaterial : public Material
18 {
19 public:
21 
23 
24 protected:
25  virtual void computeQpProperties();
26 
30 };
MaterialProperty< Real > & _prop_dt
Store current time, dt, and time step number in material properties.
virtual void computeQpProperties()
MaterialProperty< Real > & _prop_time_step
TimeStepMaterial(const InputParameters &parameters)
static InputParameters validParams()
const InputParameters & parameters() const
MaterialProperty< Real > & _prop_time