11 #ifndef __Panzer_ReorderADValues_Evaluator_decl_hpp__
12 #define __Panzer_ReorderADValues_Evaluator_decl_hpp__
14 #include "Phalanx_config.hpp"
15 #include "Phalanx_Evaluator_Macros.hpp"
16 #include "Phalanx_MDField.hpp"
20 #include "PanzerDiscFE_config.hpp"
37 template<
typename EvalT,
typename TRAITS>
45 const std::vector<std::string> & inFieldNames,
47 const std::string & elementBlock,
52 const std::vector<std::string> & inFieldNames,
53 const std::vector<std::string> & inDOFs,
54 const std::vector<std::string> & outDOFs,
56 const std::string & elementBlock,
64 std::vector< PHX::MDField<const ScalarT> >
inFields_;
80 template<
typename TRAITS>
88 const std::vector<std::string> & inFieldNames,
90 const std::string & elementBlock,
95 const std::vector<std::string> & inFieldNames,
96 const std::vector<std::string> & inDOFs,
97 const std::vector<std::string> & outDOFs,
99 const std::string & elementBlock,
106 typedef typename TRAITS::Jacobian::ScalarT
ScalarT;
108 void buildSrcToDestMap(
const std::string & elementBlock,
114 void buildSrcToDestMap(
const std::string & elementBlock,
115 const std::map<int,int> & fieldNumberMaps,
ReorderADValues_Evaluator()
TRAITS::Jacobian::ScalarT ScalarT
ReorderADValues_Evaluator(const ReorderADValues_Evaluator &)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
std::vector< PHX::MDField< ScalarT > > outFields_
void evaluateFields(typename TRAITS::EvalData d)
std::vector< PHX::MDField< const ScalarT > > inFields_
Reorders the ad values of a specified field to match a different unique global indexer.
std::vector< PHX::MDField< const ScalarT > > inFields_
std::vector< PHX::MDField< ScalarT > > outFields_
ReorderADValues_Evaluator(const std::string &outPrefix, const std::vector< std::string > &inFieldNames, const std::vector< Teuchos::RCP< PHX::DataLayout > > &fieldLayouts, const std::string &elementBlock, const GlobalIndexer &indexerSrc, const GlobalIndexer &indexerDest)
Kokkos::View< int * > dstFromSrcMapView_