https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MaterialRateAuxBase.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
12// MOOSE includes
13#include "MaterialAuxBase.h"
14
19template <typename T, bool is_ad, typename RT = Real>
21{
22public:
25
26protected:
28 virtual RT getRealValue() = 0;
29
32};
33
34template <typename T, bool is_ad, typename RT>
41
42template <typename T, bool is_ad, typename RT>
44 : MaterialAuxBaseTempl<RT, is_ad>(parameters),
45 _prop_old(this->template getMaterialPropertyOld<T>("property"))
46{
47}
48
49template <typename T = Real>
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
A base class for the various Material related AuxKernal objects.
static InputParameters validParams()
A base class for the various Material related AuxKernal objects.
virtual RT getRealValue()=0
Returns material rate property values at quadrature points.
const MaterialProperty< T > & _prop_old
Reference to the old material property for this AuxKernel.
static InputParameters validParams()
MaterialRateAuxBaseTempl(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131