Panzer
Version of the Day
Loading...
Searching...
No Matches
adapters-stk
src
evaluators
Panzer_STK_ScatterCellQuantity_decl.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_STK_ScatterCellQuantity_decl_HPP__
12
#define __PANZER_STK_ScatterCellQuantity_decl_HPP__
13
14
#include "Phalanx_config.hpp"
15
#include "Phalanx_Evaluator_Macros.hpp"
16
#include "Phalanx_MDField.hpp"
17
18
#include "Teuchos_ParameterList.hpp"
19
20
#include "
Panzer_Dimension.hpp
"
21
#include "
Panzer_Traits.hpp
"
22
23
#include "
Panzer_STK_Interface.hpp
"
24
25
#include "
Panzer_Evaluator_Macros.hpp
"
26
27
namespace
panzer_stk
{
28
40
template
<
typename
EvalT,
typename
Traits>
41
class
ScatterCellQuantity
42
:
43
public
panzer::EvaluatorWithBaseImpl
<Traits>,
44
public
PHX::EvaluatorDerived<EvalT, Traits>
45
{
46
public
:
47
48
ScatterCellQuantity
(
49
const
Teuchos::ParameterList& p);
50
51
void
52
postRegistrationSetup
(
53
typename
Traits::SetupData d,
54
PHX::FieldManager<Traits>
& fm);
55
56
void
57
evaluateFields
(
58
typename
Traits::EvalData d);
59
60
private
:
61
62
using
ScalarT
=
typename
EvalT::ScalarT;
63
std::vector< PHX::MDField<const ScalarT,panzer::Cell> >
scatterFields_
;
64
Teuchos::RCP<STK_Interface>
mesh_
;
65
66
// map of variable-name to scale-factors to be applied upon output. if
67
// this is empty then no variable scaling will be performed. this
68
// should be passed in as an object via the teuchos parameter list in
69
// the ctor with the parameter name "Variable Scale Factors Map".
70
Teuchos::RCP<std::map<std::string,double>>
varScaleFactors_
;
71
72
};
// end of class ScatterCellQuantity
73
74
75
}
76
77
// **************************************************************
78
#endif
Panzer_Dimension.hpp
Panzer_Evaluator_Macros.hpp
Panzer_STK_Interface.hpp
Panzer_Traits.hpp
PHX::FieldManager
Definition
Panzer_BCStrategy_Base.hpp:21
panzer::EvaluatorWithBaseImpl
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Definition
Panzer_Evaluator_WithBaseImpl.hpp:24
panzer_stk::ScatterCellQuantity
Definition
Panzer_STK_ScatterCellQuantity_decl.hpp:45
panzer_stk::ScatterCellQuantity::scatterFields_
std::vector< PHX::MDField< const ScalarT, panzer::Cell > > scatterFields_
Definition
Panzer_STK_ScatterCellQuantity_decl.hpp:63
panzer_stk::ScatterCellQuantity::ScalarT
typename EvalT::ScalarT ScalarT
Definition
Panzer_STK_ScatterCellQuantity_decl.hpp:62
panzer_stk::ScatterCellQuantity::evaluateFields
void evaluateFields(typename Traits::EvalData d)
Definition
Panzer_STK_ScatterCellQuantity_impl.hpp:79
panzer_stk::ScatterCellQuantity::postRegistrationSetup
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Definition
Panzer_STK_ScatterCellQuantity_impl.hpp:68
panzer_stk::ScatterCellQuantity::varScaleFactors_
Teuchos::RCP< std::map< std::string, double > > varScaleFactors_
Definition
Panzer_STK_ScatterCellQuantity_decl.hpp:70
panzer_stk::ScatterCellQuantity::mesh_
Teuchos::RCP< STK_Interface > mesh_
Definition
Panzer_STK_ScatterCellQuantity_decl.hpp:64
panzer_stk
Definition
Panzer_STK_GatherExodusCellDataToIP.hpp:26
Generated by
1.9.8