Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_STK_GatherFields_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_GatherFields_decl_HPP__
12 #define __PANZER_STK_GatherFields_decl_HPP__
13 
14 #include "Phalanx_config.hpp"
15 #include "Phalanx_Evaluator_Macros.hpp"
16 #include "Phalanx_MDField.hpp"
17 
19 
20 #include "Panzer_Dimension.hpp"
21 #include "Panzer_Traits.hpp"
22 #include "Panzer_STK_Interface.hpp"
23 
25 
26 namespace panzer_stk {
27 
37 template<typename EvalT, typename Traits>
39  : public panzer::EvaluatorWithBaseImpl<Traits>,
40  public PHX::EvaluatorDerived<EvalT, Traits> {
41 
42 public:
44 
45  void postRegistrationSetup(typename Traits::SetupData d,
47 
48  void evaluateFields(typename Traits::EvalData d);
49 
50 private:
51  typedef typename EvalT::ScalarT ScalarT;
53 
54  std::vector< PHX::MDField<ScalarT,panzer::Cell,panzer::NODE> > gatherFields_;
55  std::vector<VariableField*> stkFields_;
56 
58 
60 
61  GatherFields();
62 
63 };
64 
65 }
66 
67 // **************************************************************
68 #endif
std::vector< VariableField * > stkFields_
stk::mesh::Field< double > SolutionFieldType
Teuchos::RCP< const STK_Interface > mesh_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)
panzer_stk::STK_Interface::SolutionFieldType VariableField
void evaluateFields(typename Traits::EvalData d)
std::vector< PHX::MDField< ScalarT, panzer::Cell, panzer::NODE > > gatherFields_