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

Functions that allow for fused residual calculation. More...

#include "TpetraCore_config.h"
#include "Tpetra_CrsMatrix.hpp"
#include "Tpetra_LocalCrsMatrixOperator.hpp"
#include "Tpetra_MultiVector.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_ScalarTraits.hpp"
#include "Tpetra_Details_Behavior.hpp"
#include "Tpetra_Details_Profiling.hpp"
#include "KokkosSparse_spmv_impl.hpp"

Go to the source code of this file.

Classes

struct  Tpetra::Details::LocalResidualFunctor< AMatrix, MV, ConstMV, Offsets, is_MV, restrictedMode, skipOffRank >
 Functor for computing the residual. More...
 
struct  Tpetra::Details::OffRankUpdateFunctor< AMatrix, MV, ConstMV, Offsets, is_MV >
 Functor for computing R -= A_offRank*X_colmap. More...
 

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 SC , class LO , class GO , class NO >
void Tpetra::Details::residual (const Operator< SC, LO, GO, NO > &Aop, const MultiVector< SC, LO, GO, NO > &X_in, const MultiVector< SC, LO, GO, NO > &B_in, MultiVector< SC, LO, GO, NO > &R_in)
 Computes R = B - A * X. More...
 

Detailed Description

Functions that allow for fused residual calculation.

Warning
This file, and its contents, are implementation details of Tpetra. The file itself or its contents may disappear or change at any time.-

Definition in file Tpetra_Details_residual.hpp.