11 #ifndef __Panzer_ScatterDirichletResidual_Tpetra_Hessian_impl_hpp__
12 #define __Panzer_ScatterDirichletResidual_Tpetra_Hessian_impl_hpp__
15 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
25 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
30 std::string scatterName = p.
get<std::string>(
"Scatter Name");
34 this->addEvaluatedField(*scatterHolder_);
36 this->setName(scatterName+
" Scatter Dirichlet Residual Tpetra (Hessian)");
39 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
47 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
54 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
60 "ScatterDirichletResidual_Tpetra<Hessian> is not yet implemented");
66 #endif // end hessian support
T & get(const std::string &name, T def_value)
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
ScatterDirichletResidual_Tpetra()
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.