Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_GatherTangents_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_GATHER_TANGENTS_DECL_HPP
12 #define PANZER_EVALUATOR_GATHER_TANGENTS_DECL_HPP
13 
14 #include "Phalanx_Evaluator_Macros.hpp"
15 #include "Phalanx_MDField.hpp"
16 
18 
19 #include "Panzer_Dimension.hpp"
20 #include "Panzer_Traits.hpp"
22 #include "Panzer_PointValues2.hpp"
23 #include "Intrepid2_CellTools.hpp"
24 
25 namespace panzer {
26 
30 template<typename EvalT, typename Traits>
32  : public PHX::EvaluatorWithBaseImpl<Traits>,
33  public PHX::EvaluatorDerived<EvalT, Traits>,
34  public CloneableEvaluator {
35 
36 public:
37 
39 
42 
43  void evaluateFields(typename Traits::EvalData d);
44 
47 
48 private:
49 
50  typedef typename EvalT::ScalarT ScalarT;
51 
52  // maps the local (field,element,basis) triplet to a global ID
53  // for scattering
54  std::string dof_name_;
55 
57 
60  Intrepid2::RefSubcellParametrization<PHX::Device>::ConstViewType edgeParam_; //edgeParametrization
61 
64 
67 };
68 
69 }
70 
71 // **************************************************************
72 #endif
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Kokkos::View< Intrepid2::Orientation * > orientations_
GatherTangents(const Teuchos::ParameterList &p)
Gathers tangent vectors per field from the global indexer and stores them in the field manager...
Intrepid2::RefSubcellParametrization< PHX::Device >::ConstViewType edgeParam_
PHX::MDField< ScalarT, Cell, NODE, Dim > gatherFieldTangents_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RCP< const PureBasis > basis_
PHX::MDField< const double, Cell, IP, Dim, Dim > constJac_
PointValues2< double > pointValues_
Teuchos::RCP< const PointRule > pointRule_
void evaluateFields(typename Traits::EvalData d)
Non-templated empty base class for template managers.
Kokkos::View< unsigned int * > keys_
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)