https://mooseframework.inl.gov
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
};
ADAdvection
Definition:
ADAdvection.h:12
ADAdvection::_velocity
const ADMaterialProperty< RealVectorValue > & _velocity
Definition:
ADAdvection.h:24
ADAdvection::~ADAdvection
virtual ~ADAdvection()
Definition:
ADAdvection.h:19
ADReal
DualNumber< Real, DNDerivativeType, true > ADReal
ADAdvection::validParams
static InputParameters validParams()
Definition:
ADAdvection.C:15
InputParameters
ADKernelTempl
ADMaterialProperty
Definition:
INSADObjectTracker.h:24
ADKernelTempl::parameters
const InputParameters & parameters() const
ADAdvection::ADAdvection
ADAdvection(const InputParameters ¶meters)
Definition:
ADAdvection.C:22
ADKernel.h
ADAdvection::computeQpResidual
virtual ADReal computeQpResidual() override
Definition:
ADAdvection.C:28
Generated on Fri Jul 18 2025 13:43:11 for https://mooseframework.inl.gov by
1.8.14