Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_DOFGradient.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_DOF_GRADIENT_DECL_HPP
12 #define PANZER_EVALUATOR_DOF_GRADIENT_DECL_HPP
13 
14 #include "Phalanx_Evaluator_Macros.hpp"
15 #include "Phalanx_MDField.hpp"
17 
18 namespace panzer {
19 
21 template <typename EvalT, typename TRAITS>
23  public PHX::EvaluatorDerived<EvalT, TRAITS> {
24 public:
25 
27 
35  DOFGradient(const PHX::FieldTag & input,
36  const PHX::FieldTag & output,
37  const panzer::BasisDescriptor & bd,
39 
40  void postRegistrationSetup(typename TRAITS::SetupData d,
42 
43  void evaluateFields(typename TRAITS::EvalData d);
44 
45 private:
46 
47  typedef typename EvalT::ScalarT ScalarT;
48 
52 
53  // <cell,point>
55  // <cell,point,dim>
57 
58  std::string basis_name;
59  std::size_t basis_index;
60 };
61 
62 }
63 
64 #endif
Interpolates basis DOF values to IP DOF Gradient values.
panzer::IntegrationDescriptor id_
DOFGradient(const Teuchos::ParameterList &p)
PHX::MDField< ScalarT > dof_gradient
panzer::BasisDescriptor bd_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
PHX::MDField< const ScalarT, Cell, Point > dof_value
void evaluateFields(typename TRAITS::EvalData d)
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &fm)