www.mooseframework.org
MaterialTimeStepPostprocessor.h
Go to the documentation of this file.
1 /*************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* */
4 /* BISON */
5 /* */
6 /* (c) 2015 Battelle Energy Alliance, LLC */
7 /* ALL RIGHTS RESERVED */
8 /* */
9 /* Prepared by Battelle Energy Alliance, LLC */
10 /* Under Contract No. DE-AC07-05ID14517 */
11 /* With the U. S. Department of Energy */
12 /* */
13 /* See COPYRIGHT for full restrictions */
14 /*************************************************/
15 
16 #ifndef MATERIALTIMESTEPPOSTPROCESSOR_H
17 #define MATERIALTIMESTEPPOSTPROCESSOR_H
18 
19 #include "ElementPostprocessor.h"
20 
22 
23 template <>
25 
30 class MaterialTimeStepPostprocessor : public ElementPostprocessor
31 {
32 public:
33  MaterialTimeStepPostprocessor(const InputParameters & parameters);
34  virtual void initialize();
35  virtual void execute();
36  virtual Real getValue();
37  virtual void threadJoin(const UserObject & y);
38 
39 protected:
40  const MaterialProperty<Real> & _matl_time_step;
41 
42  Real _value;
43  unsigned int _qp;
44 };
45 
46 #endif // MATERIALTIMESTEPPOSTPROCESSOR_H
MaterialTimeStepPostprocessor(const InputParameters &parameters)
virtual void threadJoin(const UserObject &y)
InputParameters validParams< MaterialTimeStepPostprocessor >()
const MaterialProperty< Real > & _matl_time_step
This postporocessor calculates an estimated timestep size that limits an auxiliary variable to below ...