Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_ProjectToEdges_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_PROJECT_TO_EDGES_DECL_HPP
12 #define PANZER_EVALUATOR_PROJECT_TO_EDGES_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 
23 namespace panzer {
24 
27 template<typename EvalT, typename Traits>
29  : public PHX::EvaluatorWithBaseImpl<Traits>,
30  public PHX::EvaluatorDerived<EvalT, Traits>,
31  public CloneableEvaluator {
32 
33 public:
34 
36 
39 
40  void evaluateFields(typename Traits::EvalData d);
41 
44 
45 private:
46 
47  typedef typename EvalT::ScalarT ScalarT;
48 
49  std::string dof_name_;
52  int num_dim_;
53 
57 };
58 
59 }
60 
61 // **************************************************************
62 #endif
ProjectToEdges(const Teuchos::ParameterList &p)
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)
Teuchos::RCP< const PureBasis > basis_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
void evaluateFields(typename Traits::EvalData d)
PHX::MDField< const ScalarT, Cell, BASIS, Dim > vector_values_
PHX::MDField< ScalarT, Cell, BASIS > result_
Given a function stored as a vector and the tangents at each edge, project the vector onto the edge b...
PHX::MDField< const ScalarT, Cell, BASIS, Dim > tangents_
Non-templated empty base class for template managers.