MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <MueLu_AggregationStructuredAlgorithm_kokkos_decl.hpp>

Inheritance diagram for MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >:
MueLu::AggregationAlgorithmBase_kokkos< DefaultLocalOrdinal, DefaultGlobalOrdinal, DefaultNode > MueLu::BaseClass MueLu::VerboseObject MueLu::Describable

Classes

struct  fillAggregatesFunctor
struct  computeGraphDataConstantFunctor
struct  computeGraphRowPtrFunctor
struct  computeGraphDataLinearFunctor

Public Types

using local_graph_type = typename LWGraph_kokkos::local_graph_type
using non_const_row_map_type = typename local_graph_type::row_map_type::non_const_type
using size_type = typename local_graph_type::size_type
using entries_type = typename local_graph_type::entries_type
using device_type = typename local_graph_type::device_type
using execution_space = typename local_graph_type::device_type::execution_space
using memory_space = typename local_graph_type::device_type::memory_space
using LOVectorView = decltype(std::declval<LOVector>().getDeviceLocalView(Xpetra::Access::ReadWrite))
using constIntTupleView = typename Kokkos::View<const int[3], device_type>
using constLOTupleView = typename Kokkos::View<const LO[3], device_type>
Public Types inherited from MueLu::AggregationAlgorithmBase_kokkos< DefaultLocalOrdinal, DefaultGlobalOrdinal, DefaultNode >
using device_type

Private Types

using IndexManager_kokkos = MueLu::IndexManager_kokkos<LocalOrdinal,GlobalOrdinal,Node>

Constructors/Destructors.

 AggregationStructuredAlgorithm_kokkos ()
 Constructor.
virtual ~AggregationStructuredAlgorithm_kokkos ()
 Destructor.

Aggregation methods.

void BuildAggregates (const Teuchos::ParameterList &params, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const
 Build aggregates object.
void BuildGraph (const LWGraph_kokkos &graph, RCP< IndexManager_kokkos > &geoData, const LO dofsPerNode, RCP< CrsGraph > &myGraph) const
 Build a CrsGraph instead of aggregates.
std::string description () const
 Return a simple one-line description of this object.

Additional Inherited Members

virtual ~AggregationAlgorithmBase_kokkos ()
 Destructor.
virtual void BuildAggregates (const Teuchos::ParameterList &params, const LWGraph_kokkos &graph, Aggregates &aggregates, Kokkos::View< unsigned *, device_type > &aggStat, LO &numNonAggregatedNodes) const=0
 BuildAggregates routine.
virtual ~BaseClass ()
 Destructor.
 VerboseObject ()
virtual ~VerboseObject ()
 Destructor.
VerbLevel GetVerbLevel () const
 Get the verbosity level.
void SetVerbLevel (const VerbLevel verbLevel)
 Set the verbosity level of this object.
int GetProcRankVerbose () const
 Get proc rank used for printing. Do not use this information for any other purpose..
int SetProcRankVerbose (int procRank) const
 Set proc rank used for printing.
bool IsPrint (MsgType type, int thisProcRankOnly=-1) const
 Find out whether we need to print out information for a specific message type.
Teuchos::FancyOStream & GetOStream (MsgType type, int thisProcRankOnly=0) const
 Get an output stream for outputting the input message type.
Teuchos::FancyOStream & GetBlackHole () const
Public Member Functions inherited from MueLu::Describable
virtual ~Describable ()
 Destructor.
virtual void describe (Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
 Print the object with some verbosity level to an FancyOStream object.
virtual std::string ShortClassName () const
 Return the class name of the object, without template parameters and without namespace.
static void SetDefaultVerbLevel (const VerbLevel defaultVerbLevel)
 Set the default (global) verbosity level.
static VerbLevel GetDefaultVerbLevel ()
 Get the default (global) verbosity level.
static void SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream)
static void SetMueLuOFileStream (const std::string &filename)
static Teuchos::RCP< Teuchos::FancyOStream > GetMueLuOStream ()

Detailed Description

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
class MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >

Definition at line 75 of file MueLu_AggregationStructuredAlgorithm_kokkos_decl.hpp.

Member Typedef Documentation

◆ IndexManager_kokkos

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::IndexManager_kokkos = MueLu::IndexManager_kokkos<LocalOrdinal,GlobalOrdinal,Node>
private

◆ local_graph_type

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type = typename LWGraph_kokkos::local_graph_type

◆ non_const_row_map_type

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::non_const_row_map_type = typename local_graph_type::row_map_type::non_const_type

◆ size_type

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::size_type = typename local_graph_type::size_type

◆ entries_type

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::entries_type = typename local_graph_type::entries_type

◆ device_type

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::device_type = typename local_graph_type::device_type

◆ execution_space

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::execution_space = typename local_graph_type::device_type::execution_space

◆ memory_space

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::memory_space = typename local_graph_type::device_type::memory_space

◆ LOVectorView

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::LOVectorView = decltype(std::declval<LOVector>().getDeviceLocalView(Xpetra::Access::ReadWrite))

◆ constIntTupleView

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::constIntTupleView = typename Kokkos::View<const int[3], device_type>

◆ constLOTupleView

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
using MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::constLOTupleView = typename Kokkos::View<const LO[3], device_type>

Constructor & Destructor Documentation

◆ AggregationStructuredAlgorithm_kokkos()

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::AggregationStructuredAlgorithm_kokkos ( )
inline

Constructor.

Definition at line 98 of file MueLu_AggregationStructuredAlgorithm_kokkos_decl.hpp.

◆ ~AggregationStructuredAlgorithm_kokkos()

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
virtual MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::~AggregationStructuredAlgorithm_kokkos ( )
inlinevirtual

Destructor.

Definition at line 101 of file MueLu_AggregationStructuredAlgorithm_kokkos_decl.hpp.

Member Function Documentation

◆ BuildAggregates()

template<class LocalOrdinal, class GlobalOrdinal, class Node>
void MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::BuildAggregates ( const Teuchos::ParameterList & params,
const LWGraph_kokkos & graph,
Aggregates & aggregates,
Kokkos::View< unsigned *, device_type > & aggStat,
LO & numNonAggregatedNodes ) const

Build aggregates object.

Definition at line 69 of file MueLu_AggregationStructuredAlgorithm_kokkos_def.hpp.

◆ BuildGraph()

template<class LocalOrdinal, class GlobalOrdinal, class Node>
void MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::BuildGraph ( const LWGraph_kokkos & graph,
RCP< IndexManager_kokkos > & geoData,
const LO dofsPerNode,
RCP< CrsGraph > & myGraph ) const

Build a CrsGraph instead of aggregates.

Definition at line 110 of file MueLu_AggregationStructuredAlgorithm_kokkos_def.hpp.

◆ description()

template<class LocalOrdinal = DefaultLocalOrdinal, class GlobalOrdinal = DefaultGlobalOrdinal, class Node = DefaultNode>
std::string MueLu::AggregationStructuredAlgorithm_kokkos< LocalOrdinal, GlobalOrdinal, Node >::description ( ) const
inlinevirtual

Return a simple one-line description of this object.

Reimplemented from MueLu::Describable.

Definition at line 125 of file MueLu_AggregationStructuredAlgorithm_kokkos_decl.hpp.


The documentation for this class was generated from the following files: