43 #ifndef __PANZER_STK_ScatterFields_decl_HPP__ 
   44 #define __PANZER_STK_ScatterFields_decl_HPP__ 
   46 #include "Phalanx_config.hpp" 
   47 #include "Phalanx_MDField.hpp" 
   48 #include "Phalanx_Evaluator_WithBaseImpl.hpp" 
   49 #include "Phalanx_Evaluator_Derived.hpp" 
   50 #include "Phalanx_FieldManager.hpp" 
   60 namespace panzer_stk {
 
   68 template <
typename EvalT,
typename TraitsT>
 
   70                       public PHX::EvaluatorDerived<EvalT, TraitsT>  { 
 
   74   std::vector< PHX::MDField<const ScalarT,panzer::Cell,panzer::NODE> > 
scatterFields_;
 
   81   void initialize(
const std::string & scatterName,
 
   84                   const std::vector<std::string> & names,
 
   85                   const std::vector<double> & scaling);
 
   92                 const std::vector<std::string> & names);
 
   97                 const std::vector<std::string> & names,
 
   98                 const std::vector<double> & scaling);
 
void initialize(const std::string &scatterName, const Teuchos::RCP< STK_Interface > mesh, const Teuchos::RCP< const panzer::PureBasis > &basis, const std::vector< std::string > &names, const std::vector< double > &scaling)
 
stk::mesh::Field< double > SolutionFieldType
 
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers. 
 
void postRegistrationSetup(typename TraitsT::SetupData d, PHX::FieldManager< TraitsT > &fm)
 
panzer_stk::STK_Interface::SolutionFieldType VariableField
 
std::vector< double > scaling_
 
std::vector< PHX::MDField< const ScalarT, panzer::Cell, panzer::NODE > > scatterFields_
 
ScatterFields(const std::string &scatterName, const Teuchos::RCP< STK_Interface > mesh, const Teuchos::RCP< const panzer::PureBasis > &basis, const std::vector< std::string > &names)
 
Teuchos::RCP< STK_Interface > mesh_
 
void evaluateFields(typename TraitsT::EvalData d)