https://mooseframework.inl.gov
HEVPFlowRateUOBase.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
13 #include "RankTwoTensor.h"
14 #include "RankFourTensor.h"
15 
21 {
22 public:
24 
26 
27  virtual bool computeValue(unsigned int, Real &) const = 0;
28  virtual bool computeDirection(unsigned int, RankTwoTensor &) const = 0;
29  virtual bool computeDerivative(unsigned int, const std::string &, Real &) const = 0;
30  virtual bool
31  computeTensorDerivative(unsigned int, const std::string &, RankTwoTensor &) const = 0;
32 
33 protected:
34  std::string _strength_prop_name;
35 
37  const std::string _base_name;
39  std::string _pk2_prop_name;
42 };
std::string _pk2_prop_name
virtual bool computeDirection(unsigned int, RankTwoTensor &) const =0
This user object is a pure virtual base classs Derived classes computes flow rate, direction and derivatives.
static InputParameters validParams()
const MaterialProperty< Real > & _strength
const MaterialProperty< RankTwoTensor > & _pk2
const std::string _base_name
Base name of the material system.
virtual bool computeDerivative(unsigned int, const std::string &, Real &) const =0
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
const MaterialProperty< RankTwoTensor > & _ce
std::string _strength_prop_name
HEVPFlowRateUOBase(const InputParameters &parameters)
virtual bool computeTensorDerivative(unsigned int, const std::string &, RankTwoTensor &) const =0
virtual bool computeValue(unsigned int, Real &) const =0