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
37template<typename EvalT, typename Traits>
39 : public panzer::EvaluatorWithBaseImpl<Traits>,
40 public PHX::EvaluatorDerived<EvalT, Traits> {
41
42public:
43 GatherRefCoords(const Teuchos::RCP<const STK_Interface> & mesh,
44 const panzer::BasisIRLayout & basis,
45 const std::string & fieldName);
46
47 void evaluateFields(typename Traits::EvalData d);
48
49private:
50 typedef typename EvalT::ScalarT ScalarT;
51
52 PHX::MDField<ScalarT,panzer::Cell,panzer::NODE,panzer::Dim> coordField_;
53
54 Teuchos::RCP<const STK_Interface> mesh_;
55
57
58};
59
60}
61
62// **************************************************************
63#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)