MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_DemoFactory_decl.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// MueLu: A package for multigrid based preconditioning
4
//
5
// Copyright 2012 NTESS and the MueLu contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef MUELU_DEMOFACTORY_DECL_HPP
11
#define MUELU_DEMOFACTORY_DECL_HPP
12
13
#include "
MueLu_ConfigDefs.hpp
"
14
#include "
MueLu_SingleLevelFactoryBase.hpp
"
15
#include "
MueLu_DemoFactory_fwd.hpp
"
16
17
namespace
MueLu
{
18
23
24
template
<
class
Scalar
=
DefaultScalar
,
25
class
LocalOrdinal
=
DefaultLocalOrdinal
,
26
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
27
class
Node
=
DefaultNode
>
28
class
DemoFactory
:
public
SingleLevelFactoryBase
{
29
#undef MUELU_DEMOFACTORY_SHORT
30
#include "
MueLu_UseShortNames.hpp
"
31
32
public
:
34
35
37
DemoFactory
();
38
40
virtual
~DemoFactory
();
41
43
45
46
52
void
DeclareInput
(
Level
¤tLevel)
const
;
53
55
57
58
60
void
Build
(
Level
¤tLevel)
const
;
61
63
64
private
:
65
// TODO add member variables
66
67
};
// class DemoFactory
68
69
}
// namespace MueLu
70
71
#define MUELU_DEMOFACTORY_SHORT
72
#endif
// MUELU_DEMOFACTORY_DECL_HPP
MueLu_ConfigDefs.hpp
MueLu_DemoFactory_fwd.hpp
MueLu_SingleLevelFactoryBase.hpp
LocalOrdinal
MueLu::DefaultLocalOrdinal LocalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:13
Scalar
MueLu::DefaultScalar Scalar
Definition
MueLu_UseDefaultTypes.hpp:12
GlobalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:14
Node
MueLu::DefaultNode Node
Definition
MueLu_UseDefaultTypes.hpp:15
MueLu_UseShortNames.hpp
MueLu::DemoFactory::DeclareInput
void DeclareInput(Level ¤tLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_DemoFactory_def.hpp:29
MueLu::DemoFactory::~DemoFactory
virtual ~DemoFactory()
Destructor.
Definition
MueLu_DemoFactory_def.hpp:26
MueLu::DemoFactory::DemoFactory
DemoFactory()
Constructor.
Definition
MueLu_DemoFactory_def.hpp:23
MueLu::DemoFactory::Build
void Build(Level ¤tLevel) const
Build an object with this factory.
Definition
MueLu_DemoFactory_def.hpp:35
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::SingleLevelFactoryBase::SingleLevelFactoryBase
SingleLevelFactoryBase()
Constructor.
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
MueLu::DefaultNode
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Definition
MueLu_Details_DefaultTypes.hpp:32
MueLu::DefaultGlobalOrdinal
int DefaultGlobalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:29
MueLu::DefaultLocalOrdinal
int DefaultLocalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:22
MueLu::DefaultScalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
Definition
MueLu_Details_DefaultTypes.hpp:20
src
Misc
MueLu_DemoFactory_decl.hpp
Generated by
1.17.0