VertexCFD
0.0-dev
src
rad_solver
closure_models
VertexCFD_RADClosureModelFactory_TemplateBuilder.hpp
1
#ifndef VERTEXCFD_RADCLOSUREMODELFACTORY_TEMPLATEBUILDER_HPP
2
#define VERTEXCFD_RADCLOSUREMODELFACTORY_TEMPLATEBUILDER_HPP
3
4
#include "VertexCFD_RADClosureModelFactory.hpp"
5
6
#include <Panzer_ClosureModel_Factory_Base.hpp>
7
8
#include <Teuchos_RCP.hpp>
9
10
namespace
VertexCFD
11
{
12
namespace
ClosureModel
13
{
14
//---------------------------------------------------------------------------//
15
template
<
int
NumSpaceDim>
16
class
RADFactoryTemplateBuilder
17
{
18
public
:
19
template
<
typename
EvalT>
20
Teuchos::RCP<panzer::ClosureModelFactoryBase> build()
const
21
{
22
auto
rad_closure_factory
23
= Teuchos::rcp(
new
RADFactory<EvalT, NumSpaceDim>
{});
24
return
Teuchos::rcp_static_cast<panzer::ClosureModelFactoryBase>(
25
rad_closure_factory);
26
}
27
};
28
29
//---------------------------------------------------------------------------//
30
31
}
// end namespace ClosureModel
32
}
// end namespace VertexCFD
33
34
#endif // end VERTEXCFD_RADCLOSUREMODELFACTORY_TEMPLATEBUILDER_HPP
VertexCFD
Definition:
tstMethodManufacturedSolutionBC.cpp:23
VertexCFD::ClosureModel::RADFactoryTemplateBuilder
Definition:
VertexCFD_RADClosureModelFactory_TemplateBuilder.hpp:17
VertexCFD::ClosureModel::RADFactory
Definition:
VertexCFD_RADClosureModelFactory.hpp:19
Generated by
1.8.20