Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
Tpetra_Vector_def.hpp File Reference

Definition of the Tpetra::Vector class. More...

#include "Tpetra_MultiVector.hpp"
#include "Tpetra_Details_gathervPrint.hpp"
#include "KokkosCompat_View.hpp"
#include "KokkosBlas1_nrm2w_squared.hpp"
#include "Teuchos_CommHelpers.hpp"

Go to the source code of this file.

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 

Macros

#define TPETRA_VECTOR_INSTANT(SCALAR, LO, GO, NODE)
 Explicit instantiation macro for Tpetra::Vector. More...
 

Functions

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Vector< Scalar, LocalOrdinal,
GlobalOrdinal, Node > 
Tpetra::createCopy (const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &src)
 Return a deep copy of the given Vector. More...
 

Detailed Description

Definition of the Tpetra::Vector class.

If you want to use Tpetra::Vector, include "Tpetra_Vector.hpp" (a file which CMake generates and installs for you). If you only want the declaration of Tpetra::Vector, include "Tpetra_Vector_decl.hpp".

Definition in file Tpetra_Vector_def.hpp.

Macro Definition Documentation

#define TPETRA_VECTOR_INSTANT (   SCALAR,
  LO,
  GO,
  NODE 
)
Value:
template class Vector< SCALAR , LO , GO , NODE >; \
template Vector< SCALAR , LO , GO , NODE > createCopy (const Vector< SCALAR , LO , GO , NODE >& src);
MultiVector< ST, LO, GO, NT > createCopy(const MultiVector< ST, LO, GO, NT > &src)
Return a deep copy of the given MultiVector.

Explicit instantiation macro for Tpetra::Vector.

TPETRA_VECTOR_INSTANT

Warning
This is ONLY for Trilinos developers and expert users. If you don't know what explicit template instantiation is, you shouldn't even THINK about using this macro.
This macro must be invoked within the Tpetra namespace!

Definition at line 291 of file Tpetra_Vector_def.hpp.