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"
52#include "Teuchos_ParameterList.hpp"
68template <
typename EvalT,
typename TraitsT>
70 public PHX::EvaluatorDerived<EvalT, TraitsT> {
74 std::vector< PHX::MDField<const ScalarT,panzer::Cell,panzer::NODE> >
scatterFields_;
75 Teuchos::RCP<STK_Interface>
mesh_;
81 void initialize(
const std::string & scatterName,
82 const Teuchos::RCP<STK_Interface> mesh,
83 const Teuchos::RCP<const panzer::PureBasis> & basis,
84 const std::vector<std::string> & names,
85 const std::vector<double> & scaling);
90 const Teuchos::RCP<STK_Interface> mesh,
91 const Teuchos::RCP<const panzer::PureBasis> & basis,
92 const std::vector<std::string> & names);
95 const Teuchos::RCP<STK_Interface> mesh,
96 const Teuchos::RCP<const panzer::PureBasis> & basis,
97 const std::vector<std::string> & names,
98 const std::vector<double> & scaling);
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
stk::mesh::Field< double > SolutionFieldType
std::vector< PHX::MDField< const ScalarT, panzer::Cell, panzer::NODE > > scatterFields_
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)
void evaluateFields(typename TraitsT::EvalData d)
Teuchos::RCP< STK_Interface > mesh_
std::vector< double > scaling_
void postRegistrationSetup(typename TraitsT::SetupData d, PHX::FieldManager< TraitsT > &fm)
panzer_stk::STK_Interface::SolutionFieldType VariableField