11#ifndef PANZER_ZERO_SENSITIVITIES_HPP
12#define PANZER_ZERO_SENSITIVITIES_HPP
16#include "Kokkos_Core.hpp"
25 KOKKOS_INLINE_FUNCTION
29 KOKKOS_INLINE_FUNCTION
36#ifdef Panzer_BUILD_HESSIAN_SUPPORT
37 KOKKOS_INLINE_FUNCTION
56 KOKKOS_INLINE_FUNCTION
57 typename Sacado::mpl::enable_if< Sacado::IsView<T> >::type
KOKKOS_INLINE_FUNCTION void zeroSensitivities(panzer::Traits::RealType &)
Zero out AD types so that we can drop sensitivity contributions.
double RealType
Scalar type used for the Residual evaluation type (plain double).
PANZER_FADTYPE FadType
Sacado forward-mode AD scalar type used for the Jacobian and Tangent evaluation types.
Sacado::Fad::DFad< Sacado::Fad::SFad< RealType, 1 > > HessianType
Nested Sacado AD scalar type (FAD-over-FAD) used for the Hessian evaluation type. Only defined when b...