Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_Copy_decl.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Panzer: A partial differential equation assembly
4 // engine for strongly coupled complex multiphysics systems
5 //
6 // Copyright 2011 NTESS and the Panzer contributors.
7 // SPDX-License-Identifier: BSD-3-Clause
8 // *****************************************************************************
9 // @HEADER
10 
11 #ifndef PANZER_EVALUATOR_COPY_HPP
12 #define PANZER_EVALUATOR_COPY_HPP
13 
14 #include "Phalanx_Evaluator_Macros.hpp"
15 #include "Phalanx_MDField.hpp"
16 
18 
19 namespace panzer {
20 
32 template<typename EvalT, typename Traits>
33 class Copy
34  :
35  public panzer::EvaluatorWithBaseImpl<Traits>,
36  public PHX::EvaluatorDerived<EvalT, Traits>
37 {
38  public:
39 
40  Copy(
41  const Teuchos::ParameterList& p);
42 
43  void
45  typename Traits::SetupData d,
47 
48  void
50  typename Traits::EvalData d);
51 
52  private:
53 
54  using ScalarT = typename EvalT::ScalarT;
55 
58 
59 }; // end of class Copy
60 
61 
62 }
63 
64 #endif
typename EvalT::ScalarT ScalarT
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Copy(const Teuchos::ParameterList &p)
PHX::MDField< ScalarT > output
void evaluateFields(typename Traits::EvalData d)
PHX::MDField< const ScalarT > input