Panzer
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
disc-fe
src
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
"
17
#include "
Panzer_FieldManagerBuilder.hpp
"
18
#include "
Panzer_AssemblyEngine.hpp
"
19
#include "
Panzer_Traits.hpp
"
20
#include "
Panzer_LinearObjFactory.hpp
"
21
22
namespace
panzer {
23
24
class
AssemblyEngine_TemplateBuilder
{
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*>
39
(
new
panzer::AssemblyEngine<EvalT>
(
m_fmb
,
m_lof
)) );
40
}
41
42
};
43
44
}
45
46
#endif
Panzer_FieldManagerBuilder.hpp
panzer::AssemblyEngine_TemplateBuilder::m_fmb
Teuchos::RCP< panzer::FieldManagerBuilder > m_fmb
Definition:
Panzer_AssemblyEngine_TemplateBuilder.hpp:26
Panzer_AssemblyEngine.hpp
panzer::AssemblyEngine_TemplateBuilder::AssemblyEngine_TemplateBuilder
AssemblyEngine_TemplateBuilder(const Teuchos::RCP< panzer::FieldManagerBuilder > &fmb, const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &lof)
Definition:
Panzer_AssemblyEngine_TemplateBuilder.hpp:31
panzer::AssemblyEngine_TemplateBuilder::m_lof
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > m_lof
Definition:
Panzer_AssemblyEngine_TemplateBuilder.hpp:27
panzer::LinearObjFactory
Definition:
Panzer_LinearObjFactory.hpp:72
Teuchos::rcp
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
panzer::AssemblyEngine_TemplateBuilder
Definition:
Panzer_AssemblyEngine_TemplateBuilder.hpp:24
Panzer_Traits.hpp
Panzer_LinearObjFactory.hpp
Teuchos::RCP< panzer::FieldManagerBuilder >
Teuchos_RCP.hpp
panzer::AssemblyEngine
Class for the matrix and residual fill.
Definition:
Panzer_AssemblyEngine.hpp:31
panzer::AssemblyEngine_TemplateBuilder::build
Teuchos::RCP< panzer::Base > build() const
Definition:
Panzer_AssemblyEngine_TemplateBuilder.hpp:37
Generated on Thu Nov 21 2024 09:17:07 for Panzer by
1.8.5