Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_AssemblyEngine_TemplateBuilder.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_ASSEMBLY_ENGINE_TEMPLATE_BUILDER_HPP
12#define PANZER_ASSEMBLY_ENGINE_TEMPLATE_BUILDER_HPP
13
14#include <string>
15#include "Sacado_mpl_apply.hpp"
16#include "Teuchos_RCP.hpp"
19#include "Panzer_Traits.hpp"
21
22namespace panzer {
23
25
26 Teuchos::RCP<panzer::FieldManagerBuilder> m_fmb;
27 Teuchos::RCP<const panzer::LinearObjFactory<panzer::Traits> > m_lof;
28
29 public:
30
31 AssemblyEngine_TemplateBuilder(const Teuchos::RCP<panzer::FieldManagerBuilder>& fmb,
32 const Teuchos::RCP<const panzer::LinearObjFactory<panzer::Traits> > & lof) :
33 m_fmb(fmb), m_lof(lof)
34 {}
35
36 template <typename EvalT>
37 Teuchos::RCP<panzer::Base> build() const {
38 return Teuchos::rcp( static_cast<panzer::Base*>
40 }
41
42 };
43
44}
45
46#endif
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > m_lof
AssemblyEngine_TemplateBuilder(const Teuchos::RCP< panzer::FieldManagerBuilder > &fmb, const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &lof)
Teuchos::RCP< panzer::FieldManagerBuilder > m_fmb
Class for the matrix and residual fill.
Non-templated empty base class for template managers.