Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_Interface_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_INTERFACE_RESIDUAL_DECL_HPP
12 #define PANZER_EVALUATOR_INTERFACE_RESIDUAL_DECL_HPP
13 
14 #include "Phalanx_Evaluator_Macros.hpp"
15 #include "Phalanx_MDField.hpp"
16 
18 
19 namespace panzer {
20 
28 template<typename EvalT, typename Traits>
30  :
31  public panzer::EvaluatorWithBaseImpl<Traits>,
32  public PHX::EvaluatorDerived<EvalT, Traits>
33 {
34  public:
35 
37  const Teuchos::ParameterList& p);
38 
39  void
41  typename Traits::SetupData d,
43 
44  void
46  typename Traits::EvalData d);
47 
48  private:
49 
50  using ScalarT = typename EvalT::ScalarT;
51 
56 
57  std::string basis_name;
58  std::size_t basis_index;
59  std::size_t num_ip;
60  std::size_t num_dim;
61 
62 }; // end of class InterfaceResidual
63 
64 
65 }
66 
67 #endif
Evaluates an interface BC residual contribution.
PHX::MDField< const ScalarT > normal
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
InterfaceResidual(const Teuchos::ParameterList &p)
PHX::MDField< const ScalarT > flux
void evaluateFields(typename Traits::EvalData d)
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)