Panzer
Version of the Day
Loading...
Searching...
No Matches
disc-fe
src
evaluators
Panzer_ScatterDirichletResidual_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_ScatterDirichletResidual_BlockedTpetra_Hessian_impl_hpp__
12
#define __Panzer_ScatterDirichletResidual_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
20
namespace
panzer
{
21
22
// **************************************************************
23
// Hessian Specialization
24
// **************************************************************
25
template
<
typename
TRAITS,
typename
LO,
typename
GO,
typename
NodeT>
26
ScatterDirichletResidual_BlockedTpetra<panzer::Traits::Hessian,TRAITS,LO,GO,NodeT>::
27
ScatterDirichletResidual_BlockedTpetra
(
const
Teuchos::RCP<const BlockedDOFManager> &
/* indexer */
,
28
const
Teuchos::ParameterList& p)
29
{
30
std::string scatterName = p.get<std::string>(
"Scatter Name"
);
31
scatterHolder_
=
32
Teuchos::rcp(
new
PHX::Tag<ScalarT>(scatterName,Teuchos::rcp(
new
PHX::MDALayout<Dummy>(0))));
33
34
this->addEvaluatedField(*
scatterHolder_
);
35
36
this->setName(scatterName+
" Scatter Dirichlet Residual BlockedTpetra (Hessian)"
);
37
}
38
39
template
<
typename
TRAITS,
typename
LO,
typename
GO,
typename
NodeT>
40
void
41
ScatterDirichletResidual_BlockedTpetra<panzer::Traits::Hessian,TRAITS,LO,GO,NodeT>::
42
postRegistrationSetup
(
typename
TRAITS::SetupData
/* d */
,
43
PHX::FieldManager<TRAITS>
&
/* vm */
)
44
{
45
}
46
47
template
<
typename
TRAITS,
typename
LO,
typename
GO,
typename
NodeT>
48
void
49
ScatterDirichletResidual_BlockedTpetra<panzer::Traits::Hessian,TRAITS,LO,GO,NodeT>::
50
preEvaluate
(
typename
TRAITS::PreEvalData
/* d */
)
51
{
52
}
53
54
template
<
typename
TRAITS,
typename
LO,
typename
GO,
typename
NodeT>
55
void
56
ScatterDirichletResidual_BlockedTpetra<panzer::Traits::Hessian,TRAITS,LO,GO,NodeT>::
57
evaluateFields
(
typename
TRAITS::EvalData
/* workset */
)
58
{
59
TEUCHOS_TEST_FOR_EXCEPTION(
true
,std::logic_error,
60
"ScatterDirichletResidual_BlockedTpetra<Hessian> is not yet implemented"
);
// just in case
61
}
62
63
}
64
65
// **************************************************************
66
#endif
67
68
#endif
PHX::FieldManager
Definition
Panzer_BCStrategy_Base.hpp:21
panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Hessian, TRAITS, LO, GO, NodeT >::ScatterDirichletResidual_BlockedTpetra
ScatterDirichletResidual_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager > &indexer)
Construct with a blocked DOF manager only; scattered field names must be set later (e....
Definition
Panzer_ScatterDirichletResidual_BlockedTpetra_Hessian.hpp:44
panzer::ScatterDirichletResidual_BlockedTpetra< panzer::Traits::Hessian, TRAITS, LO, GO, NodeT >::scatterHolder_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
Definition
Panzer_ScatterDirichletResidual_BlockedTpetra_Hessian.hpp:78
panzer::ScatterDirichletResidual_BlockedTpetra::evaluateFields
void evaluateFields(typename TRAITS::EvalData)
Definition
Panzer_ScatterDirichletResidual_BlockedTpetra.hpp:65
panzer::ScatterDirichletResidual_BlockedTpetra::ScatterDirichletResidual_BlockedTpetra
ScatterDirichletResidual_BlockedTpetra(const Teuchos::RCP< const BlockedDOFManager > &)
Definition
Panzer_ScatterDirichletResidual_BlockedTpetra.hpp:54
panzer::ScatterDirichletResidual_BlockedTpetra::postRegistrationSetup
void postRegistrationSetup(typename TRAITS::SetupData, PHX::FieldManager< TRAITS > &)
Definition
Panzer_ScatterDirichletResidual_BlockedTpetra.hpp:63
panzer
Computes .
Definition
Panzer_BasisValues_Evaluator_decl.hpp:22
Generated by
1.15.0