Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_DOF_PointValues.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_POINTVALUES_HPP
12 #define PANZER_EVALUATOR_DOF_POINTVALUES_HPP
13 
14 #include <string>
15 #include "Phalanx_Evaluator_Macros.hpp"
16 #include "Phalanx_MDField.hpp"
17 #include "PanzerDiscFE_config.hpp"
18 #include "Panzer_BasisValues2.hpp"
20 
21 namespace panzer {
22 
24 template<typename EvalT, typename TRAITS>
26  public PHX::EvaluatorDerived<EvalT, TRAITS> {
27 public:
28 
30 
31  void postRegistrationSetup(typename TRAITS::SetupData d,
33 
34  void evaluateFields(typename TRAITS::EvalData d);
35 
36 private:
37 
38  typedef typename EvalT::ScalarT ScalarT;
39 
43 
45 
48 };
49 
53 template<typename TRAITS>
54 class DOF_PointValues<typename TRAITS::Jacobian,TRAITS> :
55  public panzer::EvaluatorWithBaseImpl<TRAITS>,
56  public PHX::EvaluatorDerived<typename TRAITS::Jacobian, TRAITS> {
57 public:
58 
60 
61  void postRegistrationSetup(typename TRAITS::SetupData d,
63 
64  void evaluateFields(typename TRAITS::EvalData d);
65 
66 private:
67 
69 
73 
75 
77  PHX::View<int*> offsets_array;
78 
81 };
82 
83 }
84 
85 #endif
void evaluateFields(typename TRAITS::EvalData d)
PHX::MDField< ScalarT, Cell, Point, Dim > dof_ip_vector
Interpolates basis DOF values to IP DOF Curl values.
PHX::MDField< const ScalarT, Cell, Point > dof_basis
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< const PureBasis > basis
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &fm)
PHX::MDField< ScalarT, Cell, Point > dof_ip_scalar
Teuchos::RCP< BasisValues2< double > > basisValues
DOF_PointValues(const Teuchos::ParameterList &p)