MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_SingleLevelMatlabFactory_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_SINGLELEVELMATLABFACTORY_DECL_HPP
11
#define MUELU_SINGLELEVELMATLABFACTORY_DECL_HPP
12
13
#include <string>
14
15
#include <Xpetra_Matrix_fwd.hpp>
16
#include <Xpetra_CrsMatrix_fwd.hpp>
17
#include <Xpetra_MatrixFactory_fwd.hpp>
18
#include <Xpetra_Vector_fwd.hpp>
19
#include <Xpetra_VectorFactory_fwd.hpp>
20
21
#include "
MueLu_ConfigDefs.hpp
"
22
#include "
MueLu_SingleLevelMatlabFactory_fwd.hpp
"
23
#include "
MueLu_FactoryBase_fwd.hpp
"
24
#include "
MueLu_Level_fwd.hpp
"
25
#include "
MueLu_PerfUtils_fwd.hpp
"
26
#include "
MueLu_SingleLevelFactoryBase.hpp
"
27
#include "
MueLu_Utilities_fwd.hpp
"
28
29
#ifdef HAVE_MUELU_MATLAB
30
namespace
MueLu
{
36
template
<
class
Scalar =
double
,
class
LocalOrdinal =
int
,
class
GlobalOrdinal = LocalOrdinal,
class
Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
37
class
SingleLevelMatlabFactory
:
public
SingleLevelFactoryBase
{
38
#undef MUELU_SINGLELEVELMATLABFACTORY_SHORT
39
#include "
MueLu_UseShortNames.hpp
"
40
41
public
:
43
44
45
SingleLevelMatlabFactory
();
46
47
virtual
~SingleLevelMatlabFactory
() {}
48
50
52
53
RCP<const ParameterList>
GetValidParameterList
()
const
;
54
55
void
DeclareInput
(
Level
& currentLevel)
const
;
56
58
60
61
void
Build
(
Level
& currentLevel)
const
;
63
65
66
std::string
description
()
const
;
68
69
private
:
71
72
mutable
bool
hasDeclaredInput_
;
73
75
77
79
mutable
std::vector<std::string>
needs_
;
80
82
83
};
// class SingleLevelMatlabFactory
84
85
}
// namespace MueLu
86
87
#define MUELU_SINGLELEVELMATLABFACTORY_SHORT
88
89
#endif
// HAVE_MUELU_MATLAB
90
#endif
// MUELU SINGLELEVELMATLABFACTORY_DECL_HPP
MueLu_ConfigDefs.hpp
MueLu_FactoryBase_fwd.hpp
MueLu_Level_fwd.hpp
MueLu_PerfUtils_fwd.hpp
MueLu_SingleLevelFactoryBase.hpp
MueLu_SingleLevelMatlabFactory_fwd.hpp
MueLu_UseShortNames.hpp
MueLu_Utilities_fwd.hpp
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::SingleLevelFactoryBase::SingleLevelFactoryBase
SingleLevelFactoryBase()
Constructor.
MueLu::SingleLevelMatlabFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::hasDeclaredInput_
bool hasDeclaredInput_
Definition
MueLu_SingleLevelMatlabFactory_decl.hpp:72
MueLu::SingleLevelMatlabFactory::description
std::string description() const
@ name Description
Definition
MueLu_SingleLevelMatlabFactory_def.hpp:72
MueLu::SingleLevelMatlabFactory::SingleLevelMatlabFactory
SingleLevelMatlabFactory()
Definition
MueLu_SingleLevelMatlabFactory_def.hpp:26
MueLu::SingleLevelMatlabFactory::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Definition
MueLu_SingleLevelMatlabFactory_def.hpp:30
MueLu::SingleLevelMatlabFactory::DeclareInput
void DeclareInput(Level ¤tLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_SingleLevelMatlabFactory_def.hpp:39
MueLu::SingleLevelMatlabFactory::Build
void Build(Level ¤tLevel) const
Build an object with this factory.
Definition
MueLu_SingleLevelMatlabFactory_def.hpp:51
MueLu::SingleLevelMatlabFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::needs_
std::vector< std::string > needs_
Definition
MueLu_SingleLevelMatlabFactory_decl.hpp:79
MueLu::SingleLevelMatlabFactory::~SingleLevelMatlabFactory
virtual ~SingleLevelMatlabFactory()
Definition
MueLu_SingleLevelMatlabFactory_decl.hpp:47
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
matlab
src
MueLu_SingleLevelMatlabFactory_decl.hpp
Generated by
1.17.0