www.mooseframework.org
HEVPInternalVarUOBase.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef HEVPINTERNALVARUOBASE_H
8 #define HEVPINTERNALVARUOBASE_H
9 
10 #include "DiscreteElementUserObject.h"
11 #include "RankTwoTensor.h"
12 
14 
15 template <>
16 InputParameters validParams<HEVPInternalVarUOBase>();
17 
23 class HEVPInternalVarUOBase : public DiscreteElementUserObject
24 {
25 public:
26  HEVPInternalVarUOBase(const InputParameters & parameters);
27 
28  virtual bool computeValue(unsigned int, Real, Real &) const = 0;
29  virtual bool computeDerivative(unsigned int, Real, const std::string &, Real &) const = 0;
30 
31 protected:
33  const MaterialProperty<Real> & _intvar_rate;
34  const MaterialProperty<Real> & _this_old;
35 };
36 
37 #endif
HEVPInternalVarUOBase(const InputParameters &parameters)
const MaterialProperty< Real > & _intvar_rate
virtual bool computeValue(unsigned int, Real, Real &) const =0
This user object is a pure virtual base classs Derived classes integrate internal variables Currently...
virtual bool computeDerivative(unsigned int, Real, const std::string &, Real &) const =0
const MaterialProperty< Real > & _this_old
InputParameters validParams< HEVPInternalVarUOBase >()