https://mooseframework.inl.gov
Loading...
Searching...
No Matches
navier_stokes
test
include
kernels
ADAdvection.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
#include "
ADKernel.h
"
11
12
class
ADAdvection
:
public
ADKernel
13
{
14
public
:
15
static
InputParameters
validParams
();
16
17
ADAdvection
(
const
InputParameters
&
parameters
);
18
19
virtual
~ADAdvection
() {}
20
21
protected
:
22
virtual
ADReal
computeQpResidual
()
override
;
23
24
const
ADMaterialProperty<RealVectorValue>
&
_velocity
;
25
};
ADKernel.h
ADReal
DualNumber< Real, DNDerivativeType, true > ADReal
ADAdvection
Definition
ADAdvection.h:13
ADAdvection::~ADAdvection
virtual ~ADAdvection()
Definition
ADAdvection.h:19
ADAdvection::computeQpResidual
virtual ADReal computeQpResidual() override
Definition
ADAdvection.C:28
ADAdvection::_velocity
const ADMaterialProperty< RealVectorValue > & _velocity
Definition
ADAdvection.h:24
ADAdvection::validParams
static InputParameters validParams()
Definition
ADAdvection.C:15
ADKernelTempl
ADMaterialProperty
ADKernelTempl::parameters
const InputParameters & parameters() const
InputParameters
Generated on Fri Sep 11 2026 20:36:21 for https://mooseframework.inl.gov by
1.9.8