www.mooseframework.org
HEVPInternalVarUOBase.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 "DiscreteElementUserObject.h"
13 #include "RankTwoTensor.h"
14 
16 
17 template <>
18 InputParameters validParams<HEVPInternalVarUOBase>();
19 
25 class HEVPInternalVarUOBase : public DiscreteElementUserObject
26 {
27 public:
28  static InputParameters validParams();
29 
30  HEVPInternalVarUOBase(const InputParameters & parameters);
31 
32  virtual bool computeValue(unsigned int, Real, Real &) const = 0;
33  virtual bool computeDerivative(unsigned int, Real, const std::string &, Real &) const = 0;
34 
35 protected:
37  const MaterialProperty<Real> & _intvar_rate;
38  const MaterialProperty<Real> & _this_old;
39 };
HEVPInternalVarUOBase::computeDerivative
virtual bool computeDerivative(unsigned int, Real, const std::string &, Real &) const =0
HEVPInternalVarUOBase::_intvar_rate
const MaterialProperty< Real > & _intvar_rate
Definition: HEVPInternalVarUOBase.h:37
HEVPInternalVarUOBase::validParams
static InputParameters validParams()
Definition: HEVPInternalVarUOBase.C:15
HEVPInternalVarUOBase::_intvar_rate_prop_name
std::string _intvar_rate_prop_name
Definition: HEVPInternalVarUOBase.h:36
HEVPInternalVarUOBase
This user object is a pure virtual base classs Derived classes integrate internal variables Currently...
Definition: HEVPInternalVarUOBase.h:25
HEVPInternalVarUOBase::_this_old
const MaterialProperty< Real > & _this_old
Definition: HEVPInternalVarUOBase.h:38
HEVPInternalVarUOBase::HEVPInternalVarUOBase
HEVPInternalVarUOBase(const InputParameters &parameters)
Definition: HEVPInternalVarUOBase.C:25
validParams< HEVPInternalVarUOBase >
InputParameters validParams< HEVPInternalVarUOBase >()
HEVPInternalVarUOBase::computeValue
virtual bool computeValue(unsigned int, Real, Real &) const =0