https://mooseframework.inl.gov
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 
12 #include "ADScalarTimeDerivative.h"
13 
15 
20 {
21 public:
23 
24 protected:
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 
34 public:
36 };
Time derivative for angular speed of shaft.
std::vector< const ADShaftConnectableUserObjectInterface * > _shaft_connected_uos
List of shaft connected user objects.
unsigned int _n_components
Number of shaft connected user objects.
const std::vector< UserObjectName > & _uo_names
List of names of shaft connected user objects.
Interface class for user objects that are connected to a shaft.
const InputParameters & parameters() const
ADShaftTimeDerivativeScalarKernel(const InputParameters &parameters)