11#ifndef PANZER_CLOSURE_MODEL_FACTORY_COMPOSITE_TEMPLATE_BUILDER_HPP
12#define PANZER_CLOSURE_MODEL_FACTORY_COMPOSITE_TEMPLATE_BUILDER_HPP
15#include "Sacado_mpl_apply.hpp"
16#include "Teuchos_RCP.hpp"
17#include "Panzer_ClosureModel_Factory_Composite.hpp"
28 std::vector<Teuchos::RCP<panzer::ClosureModelFactory_TemplateManager<panzer::Traits> > >
m_factories;
33 template <
typename EvalT>
34 Teuchos::RCP<panzer::ClosureModelFactoryBase>
build()
const {
A PHX::TemplateManager holding one panzer::ClosureModelFactory<EvalT> per evaluation type in Traits::...
Builder functor used with Sacado::mpl::TemplateManager to construct one panzer::ClosureModelFactoryCo...
void addFactory(const Teuchos::RCP< panzer::ClosureModelFactory_TemplateManager< panzer::Traits > > &factory)
Adds a constituent factory that built composites will delegate to.
std::vector< Teuchos::RCP< panzer::ClosureModelFactory_TemplateManager< panzer::Traits > > > m_factories
Teuchos::RCP< panzer::ClosureModelFactoryBase > build() const
Constructs a panzer::ClosureModelFactoryComposite<EvalT> for the given evaluation type.
A panzer::ClosureModelFactory that delegates to a list of other user defined, internally owned closur...