MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_MatrixAnalysisFactory_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_MATRIXANALYSISFACTORY_DECL_HPP_
11
#define MUELU_MATRIXANALYSISFACTORY_DECL_HPP_
12
13
#include <Xpetra_Map_fwd.hpp>
14
#include <Xpetra_StridedMap_fwd.hpp>
15
#include <Xpetra_Vector_fwd.hpp>
16
#include <Xpetra_VectorFactory_fwd.hpp>
17
#include <Xpetra_Matrix_fwd.hpp>
18
19
#include "
MueLu_ConfigDefs.hpp
"
20
#include "
MueLu_TwoLevelFactoryBase.hpp
"
21
#include "
MueLu_Utilities_fwd.hpp
"
22
23
namespace
MueLu
{
24
52
53
template
<
class
Scalar
=
DefaultScalar
,
54
class
LocalOrdinal
=
DefaultLocalOrdinal
,
55
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
56
class
Node
=
DefaultNode
>
57
class
MatrixAnalysisFactory
:
public
TwoLevelFactoryBase
{
58
#undef MUELU_MATRIXANALYSISFACTORY_SHORT
59
#include "
MueLu_UseShortNames.hpp
"
60
61
public
:
63
64
66
MatrixAnalysisFactory
();
67
69
virtual
~MatrixAnalysisFactory
();
70
72
73
RCP<const ParameterList>
GetValidParameterList
()
const
;
74
76
77
83
void
DeclareInput
(
Level
&fineLevel,
Level
&coarseLevel)
const
;
84
86
88
89
91
void
Build
(
Level
&fineLevel,
Level
&coarseLevel)
const
;
92
94
95
private
:
96
void
checkVectorEntries
(
const
Teuchos::RCP<Vector> &vec, std::string info)
const
;
97
98
};
// class MatrixAnalysisFactory
99
100
}
// namespace MueLu
101
102
#define MUELU_MATRIXANALYSISFACTORY_SHORT
103
104
#endif
/* MUELU_MATRIXANALYSISFACTORY_DECL_HPP_ */
MueLu_ConfigDefs.hpp
MueLu_TwoLevelFactoryBase.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_Utilities_fwd.hpp
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::MatrixAnalysisFactory::checkVectorEntries
void checkVectorEntries(const Teuchos::RCP< Vector > &vec, std::string info) const
Definition
MueLu_MatrixAnalysisFactory_def.hpp:256
MueLu::MatrixAnalysisFactory::~MatrixAnalysisFactory
virtual ~MatrixAnalysisFactory()
Destructor.
Definition
MueLu_MatrixAnalysisFactory_def.hpp:30
MueLu::MatrixAnalysisFactory::DeclareInput
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_MatrixAnalysisFactory_def.hpp:42
MueLu::MatrixAnalysisFactory::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Definition
MueLu_MatrixAnalysisFactory_def.hpp:33
MueLu::MatrixAnalysisFactory::MatrixAnalysisFactory
MatrixAnalysisFactory()
Constructor.
Definition
MueLu_MatrixAnalysisFactory_def.hpp:27
MueLu::MatrixAnalysisFactory::Build
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Definition
MueLu_MatrixAnalysisFactory_def.hpp:47
MueLu::TwoLevelFactoryBase::TwoLevelFactoryBase
TwoLevelFactoryBase()
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
Utils
MueLu_MatrixAnalysisFactory_decl.hpp
Generated by
1.17.0