MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_MatrixFreeTentativePFactory_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_MATRIXFREETENTATIVEPFACTORY_DECL_HPP
11
#define MUELU_MATRIXFREETENTATIVEPFACTORY_DECL_HPP
12
13
#include "
MueLu_ConfigDefs.hpp
"
14
15
#include "
MueLu_MatrixFreeTentativePFactory_fwd.hpp
"
16
17
#include <Tpetra_KokkosCompat_ClassicNodeAPI_Wrapper.hpp>
18
19
#include "Teuchos_ScalarTraits.hpp"
20
21
#include "
MueLu_Aggregates_fwd.hpp
"
22
#include "
MueLu_AmalgamationInfo_fwd.hpp
"
23
#include "
MueLu_Level_fwd.hpp
"
24
#include "MueLu_PFactory.hpp"
25
26
namespace
MueLu
{
27
65
template
<
class
Scalar,
class
LocalOrdinal,
class
GlobalOrdinal,
class
Node>
66
class
MatrixFreeTentativePFactory
:
public
PFactory
{
67
public
:
68
typedef
LocalOrdinal
local_ordinal_type
;
69
typedef
GlobalOrdinal
global_ordinal_type
;
70
typedef
typename
Node::execution_space
execution_space
;
71
typedef
Kokkos::RangePolicy<local_ordinal_type, execution_space>
range_type
;
72
typedef
Node
node_type
;
73
typedef
typename
Teuchos::ScalarTraits<Scalar>::coordinateType
real_type
;
74
75
private
:
76
#undef MUELU_MATRIXFREETENTATIVEPFACTORY_SHORT
77
#include "
MueLu_UseShortNames.hpp
"
78
79
public
:
81
82
84
MatrixFreeTentativePFactory
() {}
85
87
virtual
~MatrixFreeTentativePFactory
() {}
89
90
RCP<const ParameterList>
GetValidParameterList
()
const
;
91
93
94
95
void
DeclareInput
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
96
98
100
101
102
void
Build
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
103
void
BuildP
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
104
106
};
107
108
}
// namespace MueLu
109
110
#define MUELU_MATRIXFREETENTATIVEPFACTORY_SHORT
111
#endif
// MUELU_MATRIXFREETENTATIVEPFACTORY_DECL_HPP
MueLu_Aggregates_fwd.hpp
MueLu_AmalgamationInfo_fwd.hpp
MueLu_ConfigDefs.hpp
MueLu_Level_fwd.hpp
MueLu_MatrixFreeTentativePFactory_fwd.hpp
LocalOrdinal
MueLu::DefaultLocalOrdinal LocalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:13
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::MatrixFreeTentativePFactory::~MatrixFreeTentativePFactory
virtual ~MatrixFreeTentativePFactory()
Destructor.
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:87
MueLu::MatrixFreeTentativePFactory::global_ordinal_type
GlobalOrdinal global_ordinal_type
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:69
MueLu::MatrixFreeTentativePFactory::node_type
Node node_type
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:72
MueLu::MatrixFreeTentativePFactory::MatrixFreeTentativePFactory
MatrixFreeTentativePFactory()
Constructor.
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:84
MueLu::MatrixFreeTentativePFactory::Build
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Definition
MueLu_MatrixFreeTentativePFactory_def.hpp:58
MueLu::MatrixFreeTentativePFactory::DeclareInput
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Definition
MueLu_MatrixFreeTentativePFactory_def.hpp:45
MueLu::MatrixFreeTentativePFactory::local_ordinal_type
LocalOrdinal local_ordinal_type
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:68
MueLu::MatrixFreeTentativePFactory::real_type
Teuchos::ScalarTraits< Scalar >::coordinateType real_type
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:73
MueLu::MatrixFreeTentativePFactory::execution_space
Node::execution_space execution_space
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:70
MueLu::MatrixFreeTentativePFactory::BuildP
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
Definition
MueLu_MatrixFreeTentativePFactory_def.hpp:63
MueLu::MatrixFreeTentativePFactory::range_type
Kokkos::RangePolicy< local_ordinal_type, execution_space > range_type
Definition
MueLu_MatrixFreeTentativePFactory_decl.hpp:71
MueLu::MatrixFreeTentativePFactory::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Definition
MueLu_MatrixFreeTentativePFactory_def.hpp:25
MueLu::PFactory::PFactory
PFactory()
Constructor.
Definition
MueLu_PFactory_decl.hpp:37
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
src
Transfers
Matrix-Free
MueLu_MatrixFreeTentativePFactory_decl.hpp
Generated by
1.17.0