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

Declare and define Tpetra::Details::copyConvert, an implementation detail of Tpetra (in particular, of FixedHashTable, CrsGraph, and CrsMatrix). More...

#include "TpetraCore_config.h"
#include "Kokkos_Core.hpp"
#include "Kokkos_ArithTraits.hpp"
#include <sstream>
#include <stdexcept>
#include <type_traits>

Go to the source code of this file.

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 
 Tpetra::Details
 Nonmember function that computes a residual Computes R = B - A * X.
 

Functions

template<class OutputViewType , class InputViewType >
void Tpetra::Details::copyConvert (const OutputViewType &dst, const InputViewType &src)
 Copy values from the 1-D Kokkos::View src, to the 1-D Kokkos::View dst, of the same length. The entries of src and dst may have different types, but it must be possible to copy-construct each entry of dst with its corresponding entry of src. More...
 

Detailed Description

Declare and define Tpetra::Details::copyConvert, an implementation detail of Tpetra (in particular, of FixedHashTable, CrsGraph, and CrsMatrix).

Definition in file Tpetra_Details_copyConvert.hpp.