Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_ConstantFlux_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_CONSTANT_FLUX_DECL_HPP
12#define PANZER_EVALUATOR_CONSTANT_FLUX_DECL_HPP
13
14#include "PanzerDiscFE_config.hpp"
15
16#include "Phalanx_Evaluator_Macros.hpp"
17#include "Phalanx_MDField.hpp"
18
20
21namespace panzer {
22
23template<typename EvalT, typename Traits>
25 :
26 public panzer::EvaluatorWithBaseImpl<Traits>,
27 public PHX::EvaluatorDerived<EvalT, Traits>
28{
29 public:
30
32 const Teuchos::ParameterList& p);
33
34 void
36 typename Traits::SetupData d,
38
39 void
41 typename Traits::EvalData d);
42
43 private:
44
45 using ScalarT = typename EvalT::ScalarT;
46
47 std::vector<ScalarT> values;
48
49 PHX::MDField<ScalarT> flux;
50
51}; // end of class ConstantFlux
52
53
54}
55
56#endif
typename EvalT::ScalarT ScalarT
PHX::MDField< ScalarT > flux
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
void evaluateFields(typename Traits::EvalData d)
std::vector< ScalarT > values
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.