Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_EquationSet_Base.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_EQUATION_SET_BASE_HPP
12 #define PANZER_EQUATION_SET_BASE_HPP
13 
14 #include <string>
15 #include <vector>
16 #include <map>
17 #include <utility>
18 #include "Teuchos_RCP.hpp"
19 #include "Phalanx_FieldManager.hpp"
20 #include "Panzer_Traits.hpp"
23 #include "Panzer_FieldLibrary.hpp"
25 
26 namespace Teuchos {
27  class ParameterList;
28 }
29 
30 namespace panzer {
31 
32  class PureBasis;
33  class IntegrationRule;
34  class FieldLibrary;
35  class FieldLayoutLibrary;
36 
39 
40  public:
41 
43 
44  virtual ~EquationSetBase() {}
45 
48 
49  virtual void setElementBlockId(const std::string & blockId) = 0;
50 
52 
55 
57  const panzer::FieldLibrary& field_library,
59  const Teuchos::ParameterList& user_data) const = 0;
60 
62  const panzer::FieldLibrary& field_library,
64  const Teuchos::ParameterList& user_data) const = 0;
65 
67  const panzer::FieldLayoutLibrary& field_library,
70  const Teuchos::ParameterList& user_data) const = 0;
71 
73  const panzer::FieldLibrary& field_library,
74  const Teuchos::ParameterList& user_data) const = 0;
75 
78  const panzer::FieldLayoutLibrary& field_library,
81  const Teuchos::ParameterList& models,
82  const Teuchos::ParameterList& user_data) const = 0;
83 
86  const panzer::FieldLayoutLibrary& field_library,
89  const std::string& model_name,
90  const Teuchos::ParameterList& models,
91  const Teuchos::ParameterList& user_data) const = 0;
92 
94  const panzer::FieldLibrary& field_library,
96  const std::string& model_name,
97  const Teuchos::ParameterList& models,
99  const Teuchos::ParameterList& user_data) const = 0;
100 
102 
105 
108 
110  virtual const std::vector<std::pair<std::string,Teuchos::RCP<panzer::PureBasis> > > & getProvidedDOFs() const = 0;
111 
113  virtual const std::vector<std::vector<std::string> > & getCoordinateDOFs() const = 0;
114 
116  virtual const std::map<int,Teuchos::RCP<panzer::IntegrationRule> > & getIntegrationRules() const = 0;
117 
118  virtual std::string getElementBlockId() const = 0;
119 
121  virtual std::string getType() const = 0;
122 
124 
126  virtual void setTangentParamNames(const std::vector<std::string>& tangent_param_names) = 0;
127 
128  };
129 
130 }
131 
132 #endif
virtual std::string getElementBlockId() const =0
virtual void buildAndRegisterInitialConditionEvaluators(PHX::FieldManager< panzer::Traits > &fm, const panzer::FieldLibrary &field_library, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &factory, const std::string &model_name, const Teuchos::ParameterList &models, const panzer::LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const =0
virtual void buildAndRegisterGatherAndOrientationEvaluators(PHX::FieldManager< panzer::Traits > &fm, const panzer::FieldLibrary &field_library, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const =0
virtual void setTangentParamNames(const std::vector< std::string > &tangent_param_names)=0
Set the list of tangent parameter names.
virtual void setElementBlockId(const std::string &blockId)=0
virtual void buildAndRegisterScatterEvaluators(PHX::FieldManager< panzer::Traits > &fm, const panzer::FieldLibrary &field_library, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const =0
virtual std::string getType() const =0
Returns the type of the equation set object. Corresponds to the keyword used by the equation set fact...
Non-templated empty base class for EquationSet objects.
virtual const Teuchos::RCP< Teuchos::ParameterList > getEvaluatorParameterList() const =0
Returns the parameter list that will be passed off from the equaiton set to the closure model evaluat...
virtual void buildAndRegisterEquationSetEvaluators(PHX::FieldManager< panzer::Traits > &fm, const panzer::FieldLibrary &field_library, const Teuchos::ParameterList &user_data) const =0
virtual void buildAndRegisterDOFProjectionsToIPEvaluators(PHX::FieldManager< panzer::Traits > &fm, const panzer::FieldLayoutLibrary &field_library, const Teuchos::RCP< panzer::IntegrationRule > &ir, const Teuchos::Ptr< const panzer::LinearObjFactory< panzer::Traits > > &lof, const Teuchos::ParameterList &user_data) const =0
virtual void buildAndRegisterClosureModelEvaluators(PHX::FieldManager< panzer::Traits > &fm, const panzer::FieldLayoutLibrary &field_library, const Teuchos::RCP< panzer::IntegrationRule > &ir, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &factory, const Teuchos::ParameterList &models, const Teuchos::ParameterList &user_data) const =0
Register closure model evaluators with the model name internally specified by the equation set...
virtual const std::vector< std::vector< std::string > > & getCoordinateDOFs() const =0
Return a vector of vectors that correspond to DOFs set as coordinate fields.
virtual const std::vector< std::pair< std::string, Teuchos::RCP< panzer::PureBasis > > > & getProvidedDOFs() const =0
Return the Basis for the equation set, key is the DOF name (note coordinate DOFs are NOT included) ...
virtual const std::map< int, Teuchos::RCP< panzer::IntegrationRule > > & getIntegrationRules() const =0
Return a map of unique integration rules for the equation set, key is the integration order...