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

Matrix-free tentative restrictor operator. More...

#include <MueLu_MatrixFreeTentativeP_decl.hpp>

Inheritance diagram for MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >:

Public Types

typedef LocalOrdinal local_ordinal_type
 
typedef GlobalOrdinal global_ordinal_type
 
typedef Node::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 Node node_type
 
typedef Teuchos::ScalarTraits< Scalar >::coordinateType real_type
 

Constructors/Destructors.

const Teuchos::RCP< const Map > fine_map_
 
const Teuchos::RCP< const Map > coarse_map_
 
const Teuchos::RCP< const Aggregatesaggregates_
 
 MatrixFreeTentativeP (Teuchos::RCP< const Map > coarse_map, Teuchos::RCP< const Map > fine_map, Teuchos::RCP< const Aggregates > aggregates)
 Constructor.
 
 ~MatrixFreeTentativeP ()=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
 
const Teuchos::RCP< const Map > getRangeMap () const override
 
const Teuchos::RCP< const Map > getDomainMap () const override
 
Teuchos::RCP< const AggregatesgetAggregates () const
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Matrix-free tentative restrictor operator.

Definition at line 37 of file MueLu_MatrixFreeTentativeP_decl.hpp.

Member Typedef Documentation

◆ local_ordinal_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef LocalOrdinal MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_ordinal_type

Definition at line 39 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ global_ordinal_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef GlobalOrdinal MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::global_ordinal_type

Definition at line 40 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ execution_space

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef Node::execution_space MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::execution_space

Definition at line 41 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ range_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef Kokkos::RangePolicy<local_ordinal_type, execution_space> MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::range_type

Definition at line 42 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ md_range_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef Kokkos::MDRangePolicy<local_ordinal_type, execution_space, Kokkos::Rank<2> > MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::md_range_type

Definition at line 43 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ node_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef Node MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::node_type

Definition at line 44 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ real_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef Teuchos::ScalarTraits<Scalar>::coordinateType MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::real_type

Definition at line 45 of file MueLu_MatrixFreeTentativeP_decl.hpp.

Constructor & Destructor Documentation

◆ MatrixFreeTentativeP()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::MatrixFreeTentativeP ( Teuchos::RCP< const Map >  coarse_map,
Teuchos::RCP< const Map >  fine_map,
Teuchos::RCP< const Aggregates aggregates 
)
inline

Constructor.

Definition at line 56 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ ~MatrixFreeTentativeP()

Destructor.

Member Function Documentation

◆ apply()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::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 30 of file MueLu_MatrixFreeTentativeP_def.hpp.

◆ residual()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::residual ( const MultiVector &  X,
const MultiVector &  B,
MultiVector &  R 
) const
override

Definition at line 85 of file MueLu_MatrixFreeTentativeP_def.hpp.

◆ getRangeMap()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Teuchos::RCP< const Map > MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getRangeMap ( ) const
inlineoverride

Definition at line 72 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ getDomainMap()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Teuchos::RCP< const Map > MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getDomainMap ( ) const
inlineoverride

Definition at line 77 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ getAggregates()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Aggregates > MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getAggregates ( ) const
inline

Definition at line 82 of file MueLu_MatrixFreeTentativeP_decl.hpp.

Member Data Documentation

◆ fine_map_

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Teuchos::RCP<const Map> MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::fine_map_
private

Definition at line 88 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ coarse_map_

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Teuchos::RCP<const Map> MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::coarse_map_
private

Definition at line 91 of file MueLu_MatrixFreeTentativeP_decl.hpp.

◆ aggregates_

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Teuchos::RCP<const Aggregates> MueLu::MatrixFreeTentativeP< Scalar, LocalOrdinal, GlobalOrdinal, Node >::aggregates_
private

Definition at line 94 of file MueLu_MatrixFreeTentativeP_decl.hpp.


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