Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_Dirichlet_Residual_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_DIRICHLET_RESIDUAL_DECL_HPP
12 #define PANZER_EVALUATOR_DIRICHLET_RESIDUAL_DECL_HPP
13 
14 #include "Phalanx_Evaluator_Macros.hpp"
15 #include "Phalanx_MDField.hpp"
16 
18 
19 namespace panzer {
20 
22 template<typename EvalT, typename Traits>
24  :
25  public panzer::EvaluatorWithBaseImpl<Traits>,
26  public PHX::EvaluatorDerived<EvalT, Traits>
27 {
28  public:
29 
31  const Teuchos::ParameterList& p);
32 
33  void
35  typename Traits::SetupData d,
37 
38  void
40  typename Traits::EvalData d);
41 
42  private:
43 
44  using ScalarT = typename EvalT::ScalarT;
45 
49 
50  std::size_t cell_data_size;
51 
52 }; // end of class DirichletResidual
53 
54 
55 }
56 
57 #endif
DirichletResidual(const Teuchos::ParameterList &p)
PHX::MDField< const ScalarT > value
PHX::MDField< const ScalarT > dof
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void evaluateFields(typename Traits::EvalData d)
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Evaluates a Dirichlet BC residual corresponding to a field value.