MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > > Class Template Reference

#include <MueLu_MatrixFreeTentativeP_kokkos_decl.hpp>

Inheritance diagram for MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >:

Public Types

typedef LocalOrdinal local_ordinal_type
 
typedef GlobalOrdinal global_ordinal_type
 
typedef DeviceType::execution_space execution_space
 
typedef Kokkos::RangePolicy< local_ordinal_type, execution_spacerange_type
 
typedef Kokkos::MDRangePolicy< local_ordinal_type, execution_space, Kokkos::Rank< 2 > > md_range_type
 
typedef Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > node_type
 
typedef Teuchos::ScalarTraits< Scalar >::coordinateType real_type
 

Private Types

typedef node_type Node
 

Constructors/Destructors.

const Teuchos::RCP< const Map > fine_map_
 
const Teuchos::RCP< const Map > coarse_map_
 
const Teuchos::RCP< const Aggregates_kokkosaggregates_
 
 MatrixFreeTentativeP_kokkos (Teuchos::RCP< const Map > coarse_map, Teuchos::RCP< const Map > fine_map, Teuchos::RCP< const Aggregates_kokkos > aggregates)
 Constructor.
 
 ~MatrixFreeTentativeP_kokkos ()=default
 Destructor.
 
void apply (const MultiVector &X, MultiVector &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, Scalar alpha=Teuchos::ScalarTraits< Scalar >::one(), Scalar beta=Teuchos::ScalarTraits< Scalar >::zero()) const override
 
void residual (const MultiVector &X, const MultiVector &B, MultiVector &R) const override
 
Teuchos::RCP< const Map > getRangeMap () const override
 
Teuchos::RCP< const Map > getDomainMap () const override
 
Teuchos::RCP< const Aggregates_kokkosgetAggregates () const
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class DeviceType>
class MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >

Definition at line 72 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

Member Typedef Documentation

◆ local_ordinal_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef LocalOrdinal MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::local_ordinal_type

Definition at line 74 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ global_ordinal_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef GlobalOrdinal MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::global_ordinal_type

Definition at line 75 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ execution_space

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef DeviceType::execution_space MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::execution_space

Definition at line 76 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ range_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef Kokkos::RangePolicy<local_ordinal_type, execution_space> MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::range_type

Definition at line 77 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ md_range_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef Kokkos::MDRangePolicy<local_ordinal_type, execution_space, Kokkos::Rank<2> > MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::md_range_type

Definition at line 78 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ node_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef Kokkos::Compat::KokkosDeviceWrapperNode<DeviceType> MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::node_type

Definition at line 79 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ real_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef Teuchos::ScalarTraits<Scalar>::coordinateType MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::real_type

Definition at line 80 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ Node

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
typedef node_type MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::Node
private

Definition at line 84 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

Constructor & Destructor Documentation

◆ MatrixFreeTentativeP_kokkos()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::MatrixFreeTentativeP_kokkos ( Teuchos::RCP< const Map > coarse_map,
Teuchos::RCP< const Map > fine_map,
Teuchos::RCP< const Aggregates_kokkos > aggregates )
inline

Constructor.

Definition at line 93 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ ~MatrixFreeTentativeP_kokkos()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::~MatrixFreeTentativeP_kokkos ( )
default

Destructor.

Member Function Documentation

◆ apply()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
void MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::apply ( const MultiVector & X,
MultiVector & Y,
Teuchos::ETransp mode = Teuchos::NO_TRANS,
Scalar alpha = Teuchos::ScalarTraits<Scalar>::one(),
Scalar beta = Teuchos::ScalarTraits<Scalar>::zero() ) const
override

Definition at line 67 of file MueLu_MatrixFreeTentativeP_kokkos_def.hpp.

◆ residual()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
void MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::residual ( const MultiVector & X,
const MultiVector & B,
MultiVector & R ) const
override

Definition at line 117 of file MueLu_MatrixFreeTentativeP_kokkos_def.hpp.

◆ getRangeMap()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
Teuchos::RCP< const Map > MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::getRangeMap ( ) const
inlineoverride

Definition at line 110 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ getDomainMap()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
Teuchos::RCP< const Map > MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::getDomainMap ( ) const
inlineoverride

Definition at line 115 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ getAggregates()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
Teuchos::RCP< const Aggregates_kokkos > MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::getAggregates ( ) const
inline

Definition at line 120 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

Member Data Documentation

◆ fine_map_

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
const Teuchos::RCP<const Map> MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::fine_map_
private

Definition at line 127 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ coarse_map_

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
const Teuchos::RCP<const Map> MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::coarse_map_
private

Definition at line 130 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.

◆ aggregates_

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class DeviceType >
const Teuchos::RCP<const Aggregates_kokkos> MueLu::MatrixFreeTentativeP_kokkos< Scalar, LocalOrdinal, GlobalOrdinal, Kokkos::Compat::KokkosDeviceWrapperNode< DeviceType > >::aggregates_
private

Definition at line 133 of file MueLu_MatrixFreeTentativeP_kokkos_decl.hpp.


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