Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_ConstantVector.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_CONSTANT_VECTOR_HPP
12 #define PANZER_EVALUATOR_CONSTANT_VECTOR_HPP
13 
14 #include "PanzerDiscFE_config.hpp"
15 
16 #include "Phalanx_Evaluator_Macros.hpp"
17 #include "Phalanx_MDField.hpp"
18 
20 
21 namespace panzer {
22 
23 template<typename EvalT, typename Traits>
25  : public panzer::EvaluatorWithBaseImpl<Traits>,
26  public PHX::EvaluatorDerived<EvalT, Traits>
27 {
28 public:
29 
31 
34 
35  void evaluateFields(typename Traits::EvalData d);
36 
37 private:
38 
39  using ScalarT = typename EvalT::ScalarT;
42 };
43 
44 
45 }
46 
47 #endif
ConstantVector(const Teuchos::ParameterList &p)
typename EvalT::ScalarT ScalarT
PHX::MDField< ScalarT > vec_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Kokkos::View< double * > vals_
void evaluateFields(typename Traits::EvalData d)
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)