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

Declare and define Tpetra::applyDirichletBoundaryConditionToLocalMatrixRows. More...

#include "Tpetra_CrsMatrix.hpp"
#include "Tpetra_Vector.hpp"
#include "Tpetra_Map.hpp"
#include "KokkosSparse_CrsMatrix.hpp"
#include "Kokkos_ArithTraits.hpp"

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 CrsMatrixType >
void Tpetra::applyDirichletBoundaryConditionToLocalMatrixRows (const typename CrsMatrixType::execution_space &execSpace, CrsMatrixType &A, const Kokkos::View< typename CrsMatrixType::local_ordinal_type *, typename CrsMatrixType::device_type > &lclRowInds)
 For all k in [0, lclRowInds.extent(0)), set local row lclRowInds[k] of A to have 1 on the diagonal and 0 elsewhere. Run on device. More...
 
template<class CrsMatrixType >
void Tpetra::applyDirichletBoundaryConditionToLocalMatrixRows (CrsMatrixType &A, const Kokkos::View< typename CrsMatrixType::local_ordinal_type *, typename CrsMatrixType::device_type > &lclRowInds)
 For all k in [0, lclRowInds.extent(0)), set local row lclRowInds[k] of A to have 1 on the diagonal and 0 elsewhere. Run on device, using the default execution space instance. More...
 
template<class CrsMatrixType >
void Tpetra::applyDirichletBoundaryConditionToLocalMatrixRows (CrsMatrixType &A, const Kokkos::View< typename CrsMatrixType::local_ordinal_type *, Kokkos::HostSpace > &lclRowInds)
 For all k in [0, lclRowInds.extent(0)), set local row lclRowInds[k] of A to have 1 on the diagonal and 0 elsewhere. Run on host, using the default host execution space instance. More...
 
template<class CrsMatrixType >
void Tpetra::applyDirichletBoundaryConditionToLocalMatrixRowsAndColumns (const typename CrsMatrixType::execution_space &execSpace, CrsMatrixType &A, const Kokkos::View< typename CrsMatrixType::local_ordinal_type *, typename CrsMatrixType::device_type > &lclRowInds)
 For all k in [0, lclRowInds.extent(0)), set local row and column lclRowInds[k] of A to have 1 on the diagonal and 0 elsewhere. Run on host, using the default host execution space instance. More...
 
template<class CrsMatrixType >
void Tpetra::applyDirichletBoundaryConditionToLocalMatrixRowsAndColumns (CrsMatrixType &A, const Kokkos::View< typename CrsMatrixType::local_ordinal_type *, Kokkos::HostSpace > &lclRowInds)
 For all k in [0, lclRowInds.extent(0)), set local row and column lclRowInds[k] of A to have 1 on the diagonal and 0 elsewhere. Run on host, using the default host execution space instance. More...
 
template<class CrsMatrixType >
void Tpetra::applyDirichletBoundaryConditionToLocalMatrixRowsAndColumns (CrsMatrixType &A, const Kokkos::View< typename CrsMatrixType::local_ordinal_type *, typename CrsMatrixType::device_type > &lclRowInds)
 For all k in [0, lclRowInds.extent(0)), set local row and column lclRowInds[k] of A to have 1 on the diagonal and 0 elsewhere. Run on host, using the default host execution space instance. More...
 

Detailed Description

Declare and define Tpetra::applyDirichletBoundaryConditionToLocalMatrixRows.

Definition in file Tpetra_applyDirichletBoundaryCondition.hpp.