Tpetra parallel linear algebra  Version of the Day
Classes | Namespaces | Enumerations | Functions
Tpetra_DistObject_decl.hpp File Reference

Declaration of the Tpetra::DistObject class. More...

#include "Tpetra_Map.hpp"
#include "Tpetra_Import.hpp"
#include "Tpetra_Export.hpp"
#include "Tpetra_SrcDistObject.hpp"
#include "Tpetra_DistObject_fwd.hpp"
#include "Kokkos_ArithTraits.hpp"
#include <type_traits>

Go to the source code of this file.

Classes

class  Tpetra::Classes::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >
 Base class for distributed Tpetra objects that support data redistribution. More...
 

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 
 Tpetra::Classes
 Implementation detail of Tpetra, to aid in deprecating template parameters.
 

Enumerations

enum  KokkosClassic::ReadWriteOption { KokkosClassic::ReadWrite = 0, KokkosClassic::WriteOnly = 1 }
 Read/write options for non-const views. More...
 

Functions

template<class DistObjectType >
void Tpetra::removeEmptyProcessesInPlace (Teuchos::RCP< DistObjectType > &input, const Teuchos::RCP< const Map< typename DistObjectType::local_ordinal_type, typename DistObjectType::global_ordinal_type, typename DistObjectType::node_type > > &newMap)
 Remove processes which contain no elements in this object's Map. More...
 
template<class DistObjectType >
void Tpetra::removeEmptyProcessesInPlace (Teuchos::RCP< DistObjectType > &input)
 Remove processes which contain no elements in this object's Map. More...
 

Detailed Description

Declaration of the Tpetra::DistObject class.

If you want to use Tpetra::DistObject, include "Tpetra_DistObject.hpp" (a file which CMake generates and installs for you). If you only want the declaration of Tpetra::DistObject, include this file (Tpetra_DistObject_decl.hpp).

Definition in file Tpetra_DistObject_decl.hpp.

Enumeration Type Documentation

◆ ReadWriteOption

Read/write options for non-const views.

Warning
This is NOT for users! This only exists for backwards compatibility.
Enumerator
ReadWrite 

Indicates that the view may be safely read and written.

WriteOnly 

Indicates that the contents of the view are undefined until set on the host.

Definition at line 74 of file Tpetra_DistObject_decl.hpp.