Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_ScatterResidual_BlockedTpetra_Hessian_impl.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Panzer: A partial differential equation assembly
4// engine for strongly coupled complex multiphysics systems
5//
6// Copyright 2011 NTESS and the Panzer contributors.
7// SPDX-License-Identifier: BSD-3-Clause
8// *****************************************************************************
9// @HEADER
10
11#ifndef __Panzer_ScatterResidual_BlockedTpetra_Hessian_impl_hpp__
12#define __Panzer_ScatterResidual_BlockedTpetra_Hessian_impl_hpp__
13
14// only do this if required by the user
15#ifdef Panzer_BUILD_HESSIAN_SUPPORT
16
17// the includes for this file come in as a result of the includes in the main
18// blocked Tpetra scatter dirichlet file
19
20namespace panzer {
21
22// **************************************************************
23// Hessian Specialization
24// **************************************************************
25
26template <typename TRAITS,typename LO,typename GO,typename NodeT>
28ScatterResidual_BlockedTpetra(const Teuchos::RCP<const BlockedDOFManager> & /* indexer */,
29 const Teuchos::ParameterList& p)
30{
31 std::string scatterName = p.get<std::string>("Scatter Name");
32 scatterHolder_ =
33 Teuchos::rcp(new PHX::Tag<ScalarT>(scatterName,Teuchos::rcp(new PHX::MDALayout<Dummy>(0))));
34
35 this->addEvaluatedField(*scatterHolder_);
36
37 this->setName(scatterName+" Scatter Residual BlockedTpetra (Hessian)");
38}
39
40template <typename TRAITS,typename LO,typename GO,typename NodeT>
41void
47
48template <typename TRAITS,typename LO,typename GO,typename NodeT>
49void
54
55template <typename TRAITS,typename LO,typename GO,typename NodeT>
56void
58evaluateFields(typename TRAITS::EvalData /* workset */)
59{
60 TEUCHOS_TEST_FOR_EXCEPTION(true,std::logic_error,
61 "ScatterResidual_BlockedTpetra<Hessian> is not yet implemented"); // just in case
62}
63
64}
65
66// **************************************************************
67#endif
68
69#endif
Pushes residual values into the residual vector for a Newton-based solve.
void postRegistrationSetup(typename TRAITS::SetupData, PHX::FieldManager< TRAITS > &)
ScatterResidual_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager > &)