Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_MultiVariateParameter_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_MULTIVARIATE_PARAMETER_DECL_HPP
12 #define PANZER_EVALUATOR_MULTIVARIATE_PARAMETER_DECL_HPP
13 
14 #include "PanzerDiscFE_config.hpp"
15 
16 #include "Phalanx_Evaluator_Macros.hpp"
17 #include "Phalanx_MDField.hpp"
18 #include "Teuchos_RCP.hpp"
19 
21 
23 
24 namespace panzer {
25 
26  template <typename EvalT> class ScalarParameterEntry;
27 
29 
33  template<typename EvalT, typename TRAITS>
35  public panzer::EvaluatorWithBaseImpl<TRAITS>,
36  public PHX::EvaluatorDerived<EvalT, TRAITS> {
37 
38  public:
39 
40  MultiVariateParameter(const std::string parameter_name,
41  const int num_param,
42  const std::string field_name,
43  const Teuchos::RCP<PHX::DataLayout>& data_layout,
44  panzer::ParamLib& param_lib);
45 
46  void evaluateFields(typename TRAITS::EvalData ud);
47 
48  private:
49 
50  typedef typename EvalT::ScalarT ScalarT;
51 
53 
54  std::size_t cell_data_size;
55 
57  };
58 
59 }
60 
61 #endif
PHX::MDField< ScalarT, Cell, Point > target_field
void evaluateFields(typename TRAITS::EvalData ud)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
MultiVariateParameter(const std::string parameter_name, const int num_param, const std::string field_name, const Teuchos::RCP< PHX::DataLayout > &data_layout, panzer::ParamLib &param_lib)
Sacado::ScalarParameterLibrary< panzer::EvaluationTraits > ParamLib
Teuchos::Array< Teuchos::RCP< panzer::ScalarParameterEntry< EvalT > > > param
Constant parameter from sacado parameter library.