Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_DOF_BasisToBasis_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_DOF_BASIS_TO_BASIS_DECL_HPP
12 #define PANZER_EVALUATOR_DOF_BASIS_TO_BASIS_DECL_HPP
13 
14 #include <string>
15 
16 #include "Phalanx_Evaluator_Macros.hpp"
17 #include "Phalanx_MDField.hpp"
18 #include "Phalanx_DataLayout.hpp"
19 #include "PanzerDiscFE_config.hpp"
20 #include "Panzer_PureBasis.hpp"
21 #include "Kokkos_DynRankView.hpp"
23 
24 namespace panzer {
25 
27 template <typename EvalT, typename TRAITST>
29  : public panzer::EvaluatorWithBaseImpl<TRAITST>,
30  public PHX::EvaluatorDerived<EvalT, TRAITST> {
31 public:
32 
39  DOF_BasisToBasis(const std::string & fieldName,
40  const PureBasis & sourceBasis,
41  const PureBasis & targetBasis);
42 
43  void evaluateFields(typename TRAITST::EvalData workset);
44 
45 private:
46  typedef typename EvalT::ScalarT ScalarT;
47 
50 
53 
55  Kokkos::DynRankView<double,PHX::Device> basis;
56 };
57 
58 }
59 
60 #endif
PHX::MDField< ScalarT > dof_target_coeff
Evaluated field: DOF coefficient values at target basis.
Interpolates DOF coefficients on one basis to points on another basis. This is used with nodal bases ...
DOF_BasisToBasis(const std::string &fieldName, const PureBasis &sourceBasis, const PureBasis &targetBasis)
Ctor.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
PHX::MDField< const ScalarT > dof_source_coeff
Dependent field: DOF coefficient values at source basis.
void evaluateFields(typename TRAITST::EvalData workset)
Kokkos::DynRankView< double, PHX::Device > basis
Reference cell basis values at target points, replicated for each cell in workset.
Description and data layouts associated with a particular basis.