https://mooseframework.inl.gov
KineticEnergyAux.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 #include "AuxKernel.h"
13 #include "RankTwoTensor.h"
14 
15 // Forward declarations
16 template <bool is_ad>
18 {
19 public:
21 
24 
25 protected:
26  virtual Real computeValue();
27 
29  const std::string _base_name;
30 
33 
37 };
38 
KineticEnergyAuxTempl< false > KineticEnergyAux
KineticEnergyAuxTempl< true > ADKineticEnergyAux
virtual ~KineticEnergyAuxTempl()
const VariableValue & _vel_y
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
virtual Real computeValue()
OutputTools< Real >::VariableValue VariableValue
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _vel_x
const GenericMaterialProperty< Real, is_ad > & _density
The stress tensor.
const InputParameters & parameters() const
const VariableValue & _vel_z
KineticEnergyAuxTempl(const InputParameters &parameters)
const std::string _base_name
Base name of the material system used to calculate the elastic energy.