43 #ifndef __Panzer_ScatterResidual_Tpetra_Hessian_impl_hpp__
44 #define __Panzer_ScatterResidual_Tpetra_Hessian_impl_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
57 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
62 std::string scatterName = p.
get<std::string>(
"Scatter Name");
66 this->addEvaluatedField(*scatterHolder_);
68 this->setName(scatterName+
" Scatter Residual Tpetra (Hessian)");
71 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
79 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
86 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
92 "ScatterResidual_Tpetra<Hessian> is not yet implemented");
97 #endif // end hessian support
T & get(const std::string &name, T def_value)
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Pushes residual values into the residual vector for a Newton-based solve.