MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_SegregatedAFactory_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_SEGREGATEDAFACTORY_DECL_HPP
11
#define MUELU_SEGREGATEDAFACTORY_DECL_HPP
12
13
#include "
MueLu_SingleLevelFactoryBase.hpp
"
14
15
namespace
MueLu
{
16
70
71
template
<
class
Scalar
=
DefaultScalar
,
72
class
LocalOrdinal
=
DefaultLocalOrdinal
,
73
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
74
class
Node
=
DefaultNode
>
75
class
SegregatedAFactory
:
public
SingleLevelFactoryBase
{
76
#undef MUELU_SEGREGATEDAFACTORY_SHORT
77
#include "
MueLu_UseShortNames.hpp
"
78
79
public
:
81
82
83
RCP<const ParameterList>
GetValidParameterList
()
const override
;
84
85
void
DeclareInput
(
Level
& currentLevel)
const override
;
86
88
94
void
Build
(
Level
& currentLevel)
const override
;
95
96
private
:
97
void
BuildBasedOnBlockmap
(
Level
& currentLevel)
const
;
98
99
void
BuildBasedOnMapPair
(
Level
& currentLevel)
const
;
100
101
// RCP<const Map> CreateRedundantMaps(Teuchos::RCP<const Map> localDropMap, Teuchos::RCP<const Matrix> Ain) const;
102
103
};
// class SegregatedAFactory
104
105
}
// namespace MueLu
106
107
#define MUELU_SEGREGATEDAFACTORY_SHORT
108
#endif
// MUELU_SEGREGATEDAFACTORY_DECL_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::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::SegregatedAFactory
Factory for building a new "segregated" A operator. Here, "segregated" means that the user provides s...
Definition
MueLu_SegregatedAFactory_decl.hpp:75
MueLu::SegregatedAFactory::Build
void Build(Level ¤tLevel) const override
Build method.
Definition
MueLu_SegregatedAFactory_def.hpp:72
MueLu::SegregatedAFactory::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const override
Input.
Definition
MueLu_SegregatedAFactory_def.hpp:25
MueLu::SegregatedAFactory::BuildBasedOnMapPair
void BuildBasedOnMapPair(Level ¤tLevel) const
Definition
MueLu_SegregatedAFactory_def.hpp:151
MueLu::SegregatedAFactory::DeclareInput
void DeclareInput(Level ¤tLevel) const override
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_SegregatedAFactory_def.hpp:38
MueLu::SegregatedAFactory::BuildBasedOnBlockmap
void BuildBasedOnBlockmap(Level ¤tLevel) const
Definition
MueLu_SegregatedAFactory_def.hpp:89
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_SegregatedAFactory_decl.hpp
Generated by
1.17.0