MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_UserPFactory_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_USERPFACTORY_DECL_HPP
11
#define MUELU_USERPFACTORY_DECL_HPP
12
13
#include <Xpetra_MultiVectorFactory_fwd.hpp>
14
15
#include "
MueLu_ConfigDefs.hpp
"
16
#include "
MueLu_PerfUtils_fwd.hpp
"
17
#include "MueLu_PFactory.hpp"
18
#include "
MueLu_UserPFactory_fwd.hpp
"
19
20
#include "
MueLu_Level_fwd.hpp
"
21
22
namespace
MueLu
{
23
24
template
<
class
Scalar
=
DefaultScalar
,
25
class
LocalOrdinal
=
DefaultLocalOrdinal
,
26
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
27
class
Node
=
DefaultNode
>
28
class
UserPFactory
:
public
PFactory
{
29
#undef MUELU_USERPFACTORY_SHORT
30
#include "
MueLu_UseShortNames.hpp
"
31
32
public
:
34
35
37
UserPFactory
() {}
38
40
virtual
~UserPFactory
() {}
42
43
RCP<const ParameterList>
GetValidParameterList
()
const
;
44
46
47
48
void
DeclareInput
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
49
51
53
54
55
void
Build
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
56
void
BuildP
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
57
59
60
};
// class UserPFactory
61
62
}
// namespace MueLu
63
64
#define MUELU_USERPFACTORY_SHORT
65
#endif
// MUELU_USERPFACTORY_DECL_HPP
MueLu_ConfigDefs.hpp
MueLu_Level_fwd.hpp
MueLu_PerfUtils_fwd.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_UserPFactory_fwd.hpp
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::PFactory::PFactory
PFactory()
Constructor.
Definition
MueLu_PFactory_decl.hpp:37
MueLu::UserPFactory::Build
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Definition
MueLu_UserPFactory_def.hpp:42
MueLu::UserPFactory::DeclareInput
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Definition
MueLu_UserPFactory_def.hpp:36
MueLu::UserPFactory::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Definition
MueLu_UserPFactory_def.hpp:24
MueLu::UserPFactory::UserPFactory
UserPFactory()
Constructor.
Definition
MueLu_UserPFactory_decl.hpp:37
MueLu::UserPFactory::BuildP
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
Definition
MueLu_UserPFactory_def.hpp:47
MueLu::UserPFactory::~UserPFactory
virtual ~UserPFactory()
Destructor.
Definition
MueLu_UserPFactory_decl.hpp:40
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
Transfers
User
MueLu_UserPFactory_decl.hpp
Generated by
1.17.0