https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADShaftTimeDerivativeScalarKernel.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
15
20{
21public:
23
24protected:
25 virtual ADReal computeQpResidual() override;
26
28 const std::vector<UserObjectName> & _uo_names;
30 unsigned int _n_components;
32 std::vector<const ADShaftConnectableUserObjectInterface *> _shaft_connected_uos;
33
34public:
36};
DualNumber< Real, DNDerivativeType, true > ADReal
Interface class for user objects that are connected to a shaft.
Time derivative for angular speed of shaft.
unsigned int _n_components
Number of shaft connected user objects.
const std::vector< UserObjectName > & _uo_names
List of names of shaft connected user objects.
std::vector< const ADShaftConnectableUserObjectInterface * > _shaft_connected_uos
List of shaft connected user objects.
const InputParameters & parameters() const