Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_STK_GatherRefCoords.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_GatherRefCoords_HPP__
12#define __PANZER_STK_GatherRefCoords_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"
23
25
26namespace panzer_stk {
27
32template<typename EvalT, typename Traits>
34 : public panzer::EvaluatorWithBaseImpl<Traits>,
35 public PHX::EvaluatorDerived<EvalT, Traits> {
36
37public:
39 GatherRefCoords(const Teuchos::RCP<const STK_Interface> & mesh,
40 const panzer::BasisIRLayout & basis,
41 const std::string & fieldName);
42
44 void evaluateFields(typename Traits::EvalData d);
45
46private:
47 typedef typename EvalT::ScalarT ScalarT;
48
49 PHX::MDField<ScalarT,panzer::Cell,panzer::NODE,panzer::Dim> coordField_;
50
51 Teuchos::RCP<const STK_Interface> mesh_;
52
54
55};
56
57}
58
59// **************************************************************
60#endif
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< const STK_Interface > mesh_
PHX::MDField< ScalarT, panzer::Cell, panzer::NODE, panzer::Dim > coordField_
void evaluateFields(typename Traits::EvalData d)
Gathers the node coordinate field for this workset per the class description.