www.mooseframework.org
HEVPInternalVarRateUOBase.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 <>
19 
24 class HEVPInternalVarRateUOBase : public DiscreteElementUserObject
25 {
26 public:
27  static InputParameters validParams();
28 
29  HEVPInternalVarRateUOBase(const InputParameters & parameters);
30 
31  virtual bool computeValue(unsigned int, Real &) const = 0;
32  virtual bool computeDerivative(unsigned int, const std::string &, Real &) const = 0;
33 
34 protected:
35  std::string _flow_rate_prop_name;
36  const MaterialProperty<Real> & _flow_rate;
37 };
HEVPInternalVarRateUOBase::computeValue
virtual bool computeValue(unsigned int, Real &) const =0
HEVPInternalVarRateUOBase
This user object is a pure virtual base classs Derived classes computes internal variable rate and de...
Definition: HEVPInternalVarRateUOBase.h:24
validParams< HEVPInternalVarRateUOBase >
InputParameters validParams< HEVPInternalVarRateUOBase >()
HEVPInternalVarRateUOBase::_flow_rate_prop_name
std::string _flow_rate_prop_name
Definition: HEVPInternalVarRateUOBase.h:35
HEVPInternalVarRateUOBase::validParams
static InputParameters validParams()
Definition: HEVPInternalVarRateUOBase.C:15
HEVPInternalVarRateUOBase::computeDerivative
virtual bool computeDerivative(unsigned int, const std::string &, Real &) const =0
HEVPInternalVarRateUOBase::HEVPInternalVarRateUOBase
HEVPInternalVarRateUOBase(const InputParameters &parameters)
Definition: HEVPInternalVarRateUOBase.C:25
HEVPInternalVarRateUOBase::_flow_rate
const MaterialProperty< Real > & _flow_rate
Definition: HEVPInternalVarRateUOBase.h:36