Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_ClosureModel_Factory_Composite_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_CLOSURE_MODEL_FACTORY_COMPOSITE_DECL_HPP
12#define PANZER_CLOSURE_MODEL_FACTORY_COMPOSITE_DECL_HPP
13
16
17namespace panzer {
18
28 template<typename EvalT>
30
31 public:
32
35
47 Teuchos::RCP< std::vector< Teuchos::RCP<PHX::Evaluator<panzer::Traits> > > >
48 buildClosureModels(const std::string& model_id,
49 const Teuchos::ParameterList& models,
51 const Teuchos::RCP<panzer::IntegrationRule>& ir,
52 const Teuchos::ParameterList& default_params,
53 const Teuchos::ParameterList& user_data,
54 const Teuchos::RCP<panzer::GlobalData>& global_data,
56
58 std::vector<Teuchos::RCP<panzer::ClosureModelFactory_TemplateManager<panzer::Traits>>>&
60
61 private:
62
63 std::vector<Teuchos::RCP<panzer::ClosureModelFactory_TemplateManager<panzer::Traits>>> m_factories;
64
65 };
66
67}
68
69#endif
A PHX::TemplateManager holding one panzer::ClosureModelFactory<EvalT> per evaluation type in Traits::...
A panzer::ClosureModelFactory that delegates to a list of other user defined, internally owned closur...
Teuchos::RCP< std::vector< Teuchos::RCP< PHX::Evaluator< panzer::Traits > > > > buildClosureModels(const std::string &model_id, const Teuchos::ParameterList &models, const panzer::FieldLayoutLibrary &fl, const Teuchos::RCP< panzer::IntegrationRule > &ir, const Teuchos::ParameterList &default_params, const Teuchos::ParameterList &user_data, const Teuchos::RCP< panzer::GlobalData > &global_data, PHX::FieldManager< panzer::Traits > &fm) const
Builds the evaluators for the named model by delegating to each constituent factory and combining the...
std::vector< Teuchos::RCP< panzer::ClosureModelFactory_TemplateManager< panzer::Traits > > > & getFactories()
Returns the list of constituent factories this composite delegates to.
std::vector< Teuchos::RCP< panzer::ClosureModelFactory_TemplateManager< panzer::Traits > > > m_factories