15#include "libmesh/threads.h"
22 params.
addParam<MaterialPropertyName>(
23 "tau_name",
"tau",
"The name of the stabilization parameter tau.");
25 params.
addParam<MaterialPropertyName>(
"material_velocity",
26 "A material property describing the velocity");
33 _tau(this->template getADMaterialProperty<Real>(
"tau_name")),
35 this->isParamValid(
"velocity")
36 ? this->adCoupledVectorValue(
"velocity")
37 : this->template getADMaterialProperty<RealVectorValue>(
"material_velocity").get())
45 return _velocity[_qp] * _tau[_qp];
static InputParameters validParams()
ADKernelSUPGTempl(const InputParameters ¶meters)
ADRealVectorValue computeQpStabilization() override
static InputParameters validParams()