11 #ifndef __PANZER_STK_ScatterFields_decl_HPP__
12 #define __PANZER_STK_ScatterFields_decl_HPP__
14 #include "Phalanx_config.hpp"
15 #include "Phalanx_MDField.hpp"
16 #include "Phalanx_Evaluator_WithBaseImpl.hpp"
17 #include "Phalanx_Evaluator_Derived.hpp"
18 #include "Phalanx_FieldManager.hpp"
28 namespace panzer_stk {
36 template <
typename EvalT,
typename TraitsT>
42 std::vector< PHX::MDField<const ScalarT,panzer::Cell,panzer::NODE> >
scatterFields_;
49 void initialize(
const std::string & scatterName,
52 const std::vector<std::string> & names,
53 const std::vector<double> & scaling);
60 const std::vector<std::string> & names);
65 const std::vector<std::string> & names,
66 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)