20 :
public std::conditional<is_ad, ADScalarKernel, ScalarKernel>::type,
23 using Base =
typename std::conditional<is_ad, ADScalarKernel, ScalarKernel>::type;
27 virtual bool isADObject()
const override {
return is_ad; };
IncompressibleEnergySPScalarKernelTempl< false > IncompressibleEnergySPScalarKernel
IncompressibleEnergySPScalarKernelTempl< true > ADIncompressibleEnergySPScalarKernel
Moose::GenericType< Real, is_ad > GenericReal
const VariableValue & _Tup
Coupled temperature of the upstream segment.
const VariableValue & _m
Coupled mass flow rate through the segment.
const VariableValue & _Tdown
Coupled temperature of the downstream segment.
const Moose::Functor< GenericReal< is_ad > > & _perimeter
Wetted perimeter of the segment.
static InputParameters validParams()
const VariableValue & _Tw
Coupled temperature of the component wall.
const Moose::Functor< GenericReal< is_ad > > & _area
Flow area of the segment.
const Moose::Functor< GenericReal< is_ad > > & _length
Length of the segment.
virtual Real computeQpJacobian() override
const bool _is_implicit
Property state integration flag.
const SinglePhaseFluidProperties & _fp
Fluid properties object.
virtual GenericReal< is_ad > computeQpResidual() override
typename std::conditional< is_ad, ADScalarKernel, ScalarKernel >::type Base
const Moose::Functor< GenericReal< is_ad > > & _Pref
System reference pressure.
virtual bool isADObject() const override
Common class for single phase fluid properties.
VariableValueTempl< false > VariableValue