43 #ifndef PANZER_COPY_IMPL_HPP
44 #define PANZER_COPY_IMPL_HPP
53 template<
typename EvalT,
typename Traits>
58 std::string input_name = p.
get<std::string>(
"Source Name");
59 std::string output_name = p.
get<std::string>(
"Destination Name");
62 input = PHX::MDField<const ScalarT>(input_name, data_layout);
63 output = PHX::MDField<ScalarT>(output_name, data_layout);
65 this->addDependentField(input);
66 this->addEvaluatedField(output);
68 std::string n =
"Copy Evaluator: " + input_name +
" => " + output_name;
73 template<
typename EvalT,
typename Traits>
84 template<
typename EvalT,
typename Traits>
90 output.deep_copy(input);
T & get(const std::string &name, T def_value)
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
#define TEUCHOS_ASSERT(assertion_test)
Copy(const Teuchos::ParameterList &p)
void evaluateFields(typename Traits::EvalData d)