MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_InterfaceAggregationFactory_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_INTERFACEAGGREGATIONFACTORY_DECL_HPP_
11
#define MUELU_INTERFACEAGGREGATIONFACTORY_DECL_HPP_
12
13
#include "
MueLu_SingleLevelFactoryBase.hpp
"
14
15
namespace
MueLu
{
16
83
84
template
<
class
Scalar
=
DefaultScalar
,
85
class
LocalOrdinal
=
DefaultLocalOrdinal
,
86
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
87
class
Node
=
DefaultNode
>
88
class
InterfaceAggregationFactory
:
public
SingleLevelFactoryBase
{
89
#undef MUELU_INTERFACEAGGREGATIONFACTORY_SHORT
90
#include "
MueLu_UseShortNames.hpp
"
91
92
public
:
94
95
96
RCP<const ParameterList>
GetValidParameterList
()
const override
;
97
98
void
DeclareInput
(
Level
& currentLevel)
const override
;
99
101
103
104
106
void
Build
(
Level
& currentLevel)
const override
;
107
109
110
private
:
116
void
BuildBasedOnNodeMapping
(
const
std::string& prefix,
Level
& currentLevel)
const
;
117
129
void
BuildBasedOnPrimalInterfaceDofMap
(
const
std::string& prefix,
Level
& currentLevel)
const
;
130
};
131
132
}
// namespace MueLu
133
134
#define MUELU_INTERFACEAGGREGATIONFACTORY_SHORT
135
#endif
/* MUELU_INTERFACEAGGREGATIONFACTORY_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::InterfaceAggregationFactory
Factory for building aggregates for Lagrange multipliers in surface-coupled problems.
Definition
MueLu_InterfaceAggregationFactory_decl.hpp:88
MueLu::InterfaceAggregationFactory::Build
void Build(Level ¤tLevel) const override
Build aggregates.
Definition
MueLu_InterfaceAggregationFactory_def.hpp:75
MueLu::InterfaceAggregationFactory::BuildBasedOnNodeMapping
void BuildBasedOnNodeMapping(const std::string &prefix, Level ¤tLevel) const
Build dual aggregates based on a given dual-to-primal node mapping.
Definition
MueLu_InterfaceAggregationFactory_def.hpp:93
MueLu::InterfaceAggregationFactory::DeclareInput
void DeclareInput(Level ¤tLevel) const override
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_InterfaceAggregationFactory_def.hpp:49
MueLu::InterfaceAggregationFactory::BuildBasedOnPrimalInterfaceDofMap
void BuildBasedOnPrimalInterfaceDofMap(const std::string &prefix, Level ¤tLevel) const
Build dual aggregates based on a given interface row map of the primal and dual problem.
Definition
MueLu_InterfaceAggregationFactory_def.hpp:216
MueLu::InterfaceAggregationFactory::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const override
Input.
Definition
MueLu_InterfaceAggregationFactory_def.hpp:28
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_InterfaceAggregationFactory_decl.hpp
Generated by
1.17.0