www.mooseframework.org
HEVPInternalVarRateUOBase.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 HEVPINTERNALVARRATEUOBASE_H
8 #define HEVPINTERNALVARRATEUOBASE_H
9 
10 #include "DiscreteElementUserObject.h"
11 #include "RankTwoTensor.h"
12 
14 
15 template <>
17 
22 class HEVPInternalVarRateUOBase : public DiscreteElementUserObject
23 {
24 public:
25  HEVPInternalVarRateUOBase(const InputParameters & parameters);
26 
27  virtual bool computeValue(unsigned int, Real &) const = 0;
28  virtual bool computeDerivative(unsigned int, const std::string &, Real &) const = 0;
29 
30 protected:
31  std::string _flow_rate_prop_name;
32  const MaterialProperty<Real> & _flow_rate;
33 };
34 
35 #endif
const MaterialProperty< Real > & _flow_rate
virtual bool computeDerivative(unsigned int, const std::string &, Real &) const =0
virtual bool computeValue(unsigned int, Real &) const =0
InputParameters validParams< HEVPInternalVarRateUOBase >()
HEVPInternalVarRateUOBase(const InputParameters &parameters)
This user object is a pure virtual base classs Derived classes computes internal variable rate and de...