MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_BlockedCoordinatesTransferFactory_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_BLOCKEDCOORDINATESTRANSFER_FACTORY_DECL_HPP
11
#define MUELU_BLOCKEDCOORDINATESTRANSFER_FACTORY_DECL_HPP
12
13
#include "
MueLu_ConfigDefs.hpp
"
14
#include "
MueLu_TwoLevelFactoryBase.hpp
"
15
#include "Xpetra_MultiVector_fwd.hpp"
16
#include "Xpetra_Matrix_fwd.hpp"
17
18
#include "
MueLu_BlockedCoordinatesTransferFactory_fwd.hpp
"
19
20
namespace
MueLu
{
21
53
template
<
class
Scalar
=
DefaultScalar
,
54
class
LocalOrdinal
=
DefaultLocalOrdinal
,
55
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
56
class
Node
=
DefaultNode
>
57
class
BlockedCoordinatesTransferFactory
:
public
TwoLevelFactoryBase
{
58
#undef MUELU_BLOCKEDCOORDINATESTRANSFERFACTORY_SHORT
59
#include "
MueLu_UseShortNames.hpp
"
60
61
public
:
63
64
73
BlockedCoordinatesTransferFactory
() {}
74
76
virtual
~BlockedCoordinatesTransferFactory
() {}
77
78
RCP<const ParameterList>
GetValidParameterList
()
const
;
79
81
83
84
90
void
DeclareInput
(
Level
&finelevel,
Level
&coarseLevel)
const
;
91
93
95
96
98
void
Build
(
Level
&fineLevel,
Level
&coarseLevel)
const
;
99
101
103
106
void
AddFactory
(
const
RCP<const FactoryBase> &factory);
107
109
size_t
NumFactories
()
const
{
return
subFactories_
.size(); }
110
112
private
:
114
std::vector<RCP<const FactoryBase> >
subFactories_
;
115
116
};
// class BlockedCoordinatesTransferFactory
117
118
}
// namespace MueLu
119
120
#define MUELU_BLOCKEDCOORDINATESTRANSFERFACTORY_SHORT
121
#endif
// MUELU_BLOCKEDCOORDINATESTRANSFER_FACTORY_DECL_HPP
MueLu_BlockedCoordinatesTransferFactory_fwd.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::BlockedCoordinatesTransferFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::subFactories_
std::vector< RCP< const FactoryBase > > subFactories_
Definition
MueLu_BlockedCoordinatesTransferFactory_decl.hpp:114
MueLu::BlockedCoordinatesTransferFactory::Build
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Definition
MueLu_BlockedCoordinatesTransferFactory_def.hpp:51
MueLu::BlockedCoordinatesTransferFactory::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Definition
MueLu_BlockedCoordinatesTransferFactory_def.hpp:26
MueLu::BlockedCoordinatesTransferFactory::NumFactories
size_t NumFactories() const
Returns number of sub factories.
Definition
MueLu_BlockedCoordinatesTransferFactory_decl.hpp:109
MueLu::BlockedCoordinatesTransferFactory::DeclareInput
void DeclareInput(Level &finelevel, Level &coarseLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_BlockedCoordinatesTransferFactory_def.hpp:35
MueLu::BlockedCoordinatesTransferFactory::AddFactory
void AddFactory(const RCP< const FactoryBase > &factory)
Add (sub) coords factory in the end of list of factories in BlockedCoordinatesTransferFactory.
Definition
MueLu_BlockedCoordinatesTransferFactory_def.hpp:123
MueLu::BlockedCoordinatesTransferFactory::BlockedCoordinatesTransferFactory
BlockedCoordinatesTransferFactory()
Constructor.
Definition
MueLu_BlockedCoordinatesTransferFactory_decl.hpp:73
MueLu::BlockedCoordinatesTransferFactory::~BlockedCoordinatesTransferFactory
virtual ~BlockedCoordinatesTransferFactory()
Destructor.
Definition
MueLu_BlockedCoordinatesTransferFactory_decl.hpp:76
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
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
Misc
MueLu_BlockedCoordinatesTransferFactory_decl.hpp
Generated by
1.17.0