Panzer
Version of the Day
Loading...
Searching...
No Matches
disc-fe
src
evaluators
Panzer_FieldSpy.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_FieldSpy_hpp__
12
#define __Panzer_FieldSpy_hpp__
13
14
#include "PanzerDiscFE_config.hpp"
15
#include "Phalanx_Evaluator_WithBaseImpl.hpp"
16
#include "Phalanx_Evaluator_Derived.hpp"
17
#include "Phalanx_FieldManager.hpp"
18
#include "
Panzer_Dimension.hpp
"
19
#include "
Panzer_FieldLibrary.hpp
"
20
#include <string>
21
22
namespace
panzer
{
23
26
template
<
typename
EvalT,
typename
Traits>
27
class
FieldSpy
:
public
PHX::EvaluatorWithBaseImpl<Traits>,
28
public
PHX::EvaluatorDerived<EvalT, Traits> {
29
30
public
:
31
FieldSpy
(
const
std::string & name,
32
const
Teuchos::RCP<PHX::DataLayout> & data_layout);
33
34
void
evaluateFields
(
typename
Traits::EvalData
d);
35
36
const
PHX::FieldTag &
getRequiredFieldTag
()
const
37
{
return
*
dummyField
; }
38
39
private
:
40
typedef
typename
EvalT::ScalarT
ScalarT
;
41
42
Teuchos::RCP<PHX::FieldTag>
dummyField
;
43
PHX::MDField<const ScalarT,panzer::Cell,panzer::Point>
source
;
44
};
45
46
}
47
48
#endif
Panzer_Dimension.hpp
Panzer_FieldLibrary.hpp
panzer::FieldSpy
Definition
Panzer_FieldSpy.hpp:28
panzer::FieldSpy::getRequiredFieldTag
const PHX::FieldTag & getRequiredFieldTag() const
Definition
Panzer_FieldSpy.hpp:36
panzer::FieldSpy::evaluateFields
void evaluateFields(typename Traits::EvalData d)
Definition
Panzer_FieldSpy_impl.hpp:42
panzer::FieldSpy::dummyField
Teuchos::RCP< PHX::FieldTag > dummyField
Definition
Panzer_FieldSpy.hpp:42
panzer::FieldSpy::ScalarT
EvalT::ScalarT ScalarT
Definition
Panzer_FieldSpy.hpp:40
panzer::FieldSpy::source
PHX::MDField< const ScalarT, panzer::Cell, panzer::Point > source
Definition
Panzer_FieldSpy.hpp:43
panzer::Workset
Definition
Panzer_Workset.hpp:325
panzer
Computes .
Definition
Panzer_BasisValues_Evaluator_decl.hpp:22
Generated by
1.9.8