Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_STK_GatherExodusCellDataToIP.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_GatherExodusCellDataToIP_decl_HPP__
12 #define __PANZER_STK_GatherExodusCellDataToIP_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 
30 template<typename EvalT, typename Traits>
32  : public panzer::EvaluatorWithBaseImpl<Traits>,
33  public PHX::EvaluatorDerived<EvalT, Traits> {
34 
35 public:
36 
48  const std::vector<std::string>& fieldNames,
49  const std::vector<std::string>& exodusNames,
50  const Teuchos::RCP<panzer::IntegrationRule>& integrationRule);
51 
52  void postRegistrationSetup(typename Traits::SetupData d,
54 
55  void evaluateFields(typename Traits::EvalData d);
56 
57 private:
58  typedef typename EvalT::ScalarT ScalarT;
60 
62  const std::vector<std::string> exodusNames_;
63  std::vector<PHX::MDField<ScalarT,panzer::Cell,panzer::IP>> gatherFields_;
64  std::vector<VariableField*> stkFields_;
65 };
66 
67 }
68 
69 // **************************************************************
70 #endif
std::vector< PHX::MDField< ScalarT, panzer::Cell, panzer::IP > > gatherFields_
stk::mesh::Field< double > SolutionFieldType
panzer_stk::STK_Interface::SolutionFieldType VariableField
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)
GatherExodusCellDataToIP(const Teuchos::RCP< const panzer_stk::STK_Interface > &mesh, const std::vector< std::string > &fieldNames, const std::vector< std::string > &exodusNames, const Teuchos::RCP< panzer::IntegrationRule > &integrationRule)
const Teuchos::RCP< const STK_Interface > mesh_