Ifpack2 Templated Preconditioning Package  Version 1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
Ifpack2::LocalFilter< MatrixType > Class Template Reference

Access only local rows and columns of a sparse matrix. More...

#include <Ifpack2_LocalFilter_decl.hpp>

Inherits RowMatrix< MatrixType::scalar_type, MatrixType::local_ordinal_type, MatrixType::global_ordinal_type, MatrixType::node_type >.

Public Member Functions

Constructor and destructor
 LocalFilter (const Teuchos::RCP< const Tpetra::RowMatrix< scalar_type, local_ordinal_type, global_ordinal_type, node_type > > &Matrix)
 Constructor. More...
 
virtual ~LocalFilter ()
 Destructor. More...
 
Matrix Query Methods
virtual const Teuchos::RCP
< const Teuchos::Comm< int > > & 
getComm () const
 Returns the communicator. More...
 
virtual Teuchos::RCP< node_type > getNode () const
 Returns the underlying Kokkos Node object. More...
 
virtual const Teuchos::RCP
< const Tpetra::Map
< local_ordinal_type,
global_ordinal_type, node_type > > & 
getRowMap () const
 Returns the Map that describes the row distribution in this matrix. More...
 
virtual const Teuchos::RCP
< const Tpetra::Map
< local_ordinal_type,
global_ordinal_type, node_type > > & 
getColMap () const
 Returns the Map that describes the column distribution in this matrix. More...
 
virtual const Teuchos::RCP
< const Tpetra::Map
< local_ordinal_type,
global_ordinal_type, node_type > > & 
getDomainMap () const
 Returns the Map that describes the domain distribution in this matrix. More...
 
virtual const Teuchos::RCP
< const Tpetra::Map
< local_ordinal_type,
global_ordinal_type, node_type > > & 
getRangeMap () const
 Returns the Map that describes the range distribution in this matrix. More...
 
virtual Teuchos::RCP< const
Tpetra::RowGraph
< local_ordinal_type,
global_ordinal_type, node_type > > 
getGraph () const
 The (locally filtered) matrix's graph. More...
 
virtual global_size_t getGlobalNumRows () const
 The number of global rows in this matrix. More...
 
virtual global_size_t getGlobalNumCols () const
 The number of global columns in this matrix. More...
 
virtual size_t getNodeNumRows () const
 The number of rows owned on the calling process. More...
 
virtual size_t getNodeNumCols () const
 The number of columns in the (locally filtered) matrix. More...
 
virtual global_ordinal_type getIndexBase () const
 Returns the index base for global indices for this matrix. More...
 
virtual global_size_t getGlobalNumEntries () const
 Returns the global number of entries in this matrix. More...
 
virtual size_t getNodeNumEntries () const
 Returns the local number of entries in this matrix. More...
 
virtual size_t getNumEntriesInGlobalRow (global_ordinal_type globalRow) const
 The current number of entries on this node in the specified global row. More...
 
virtual size_t getNumEntriesInLocalRow (local_ordinal_type localRow) const
 The current number of entries on this node in the specified local row. More...
 
virtual global_size_t getGlobalNumDiags () const
 The number of global diagonal entries, based on global row/column index comparisons. More...
 
virtual size_t getNodeNumDiags () const
 The number of local diagonal entries, based on global row/column index comparisons. More...
 
virtual size_t getGlobalMaxNumRowEntries () const
 The maximum number of entries across all rows/columns on all processes. More...
 
virtual size_t getNodeMaxNumRowEntries () const
 The maximum number of entries across all rows/columns on this process. More...
 
virtual bool hasColMap () const
 Whether this matrix has a well-defined column Map. More...
 
virtual bool isLowerTriangular () const
 Whether this matrix is lower triangular. More...
 
virtual bool isUpperTriangular () const
 Whether this matrix is upper triangular. More...
 
virtual bool isLocallyIndexed () const
 Whether the underlying sparse matrix is locally (opposite of globally) indexed. More...
 
virtual bool isGloballyIndexed () const
 Whether the underlying sparse matrix is globally (opposite of locally) indexed. More...
 
virtual bool isFillComplete () const
 Returns true if fillComplete() has been called. More...
 
virtual bool supportsRowViews () const
 Returns true if RowViews are supported. More...
 
Extraction Methods
virtual void getGlobalRowCopy (global_ordinal_type GlobalRow, const Teuchos::ArrayView< global_ordinal_type > &Indices, const Teuchos::ArrayView< scalar_type > &Values, size_t &NumEntries) const
 Extract a list of entries in a specified global row of this matrix. Put into pre-allocated storage. More...
 
virtual void getLocalRowCopy (local_ordinal_type LocalRow, const Teuchos::ArrayView< local_ordinal_type > &Indices, const Teuchos::ArrayView< scalar_type > &Values, size_t &NumEntries) const
 Extract a list of entries in a specified local row of the graph. Put into storage allocated by calling routine. More...
 
virtual void getGlobalRowView (global_ordinal_type GlobalRow, Teuchos::ArrayView< const global_ordinal_type > &indices, Teuchos::ArrayView< const scalar_type > &values) const
 Extract a const, non-persisting view of global indices in a specified row of the matrix. More...
 
virtual void getLocalRowView (local_ordinal_type LocalRow, Teuchos::ArrayView< const local_ordinal_type > &indices, Teuchos::ArrayView< const scalar_type > &values) const
 Extract a const, non-persisting view of local indices in a specified row of the matrix. More...
 
virtual void getLocalDiagCopy (Tpetra::Vector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &diag) const
 Get a copy of the diagonal entries owned by this node, with local row indices. More...
 
Mathematical Methods
virtual void leftScale (const Tpetra::Vector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &x)
 Scales the RowMatrix on the left with the Vector x. More...
 
virtual void rightScale (const Tpetra::Vector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &x)
 Scales the RowMatrix on the right with the Vector x. More...
 
virtual magnitude_type getFrobeniusNorm () const
 The Frobenius norm of the (locally filtered) matrix. More...
 
virtual void apply (const Tpetra::MultiVector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &X, Tpetra::MultiVector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, scalar_type alpha=Teuchos::ScalarTraits< scalar_type >::one(), scalar_type beta=Teuchos::ScalarTraits< scalar_type >::zero()) const
 Computes the operator-multivector application. More...
 
virtual bool hasTransposeApply () const
 Indicates whether this operator supports applying the adjoint operator. More...
 
Deprecated routines to be removed at some point in the future.
virtual TPETRA_DEPRECATED void getGlobalRowView (global_ordinal_type GlobalRow, Teuchos::ArrayRCP< const global_ordinal_type > &indices, Teuchos::ArrayRCP< const scalar_type > &values) const
 Deprecated. Get a persisting const view of the entries in a specified global row of this matrix. More...
 
virtual TPETRA_DEPRECATED void getLocalRowView (local_ordinal_type LocalRow, Teuchos::ArrayRCP< const local_ordinal_type > &indices, Teuchos::ArrayRCP< const scalar_type > &values) const
 Deprecated. Get a persisting const view of the entries in a specified local row of this matrix. More...
 

Typedefs

typedef MatrixType::scalar_type scalar_type
 The type of the entries of the input MatrixType. More...
 
typedef
MatrixType::local_ordinal_type 
local_ordinal_type
 The type of local indices in the input MatrixType. More...
 
typedef
MatrixType::global_ordinal_type 
global_ordinal_type
 The type of global indices in the input MatrixType. More...
 
typedef MatrixType::node_type node_type
 The type of the Kokkos Node used by the input MatrixType. More...
 
typedef Teuchos::ScalarTraits
< scalar_type >::magnitudeType 
magnitude_type
 The type of the magnitude (absolute value) of a matrix entry. More...
 
TEUCHOS_DEPRECATED typedef
MatrixType::scalar_type 
Scalar
 Preserved only for backwards compatibility. Please use "scalar_type". More...
 
TEUCHOS_DEPRECATED typedef
MatrixType::local_ordinal_type 
LocalOrdinal
 Preserved only for backwards compatibility. Please use "local_ordinal_type". More...
 
TEUCHOS_DEPRECATED typedef
MatrixType::global_ordinal_type 
GlobalOrdinal
 Preserved only for backwards compatibility. Please use "global_ordinal_type". More...
 
TEUCHOS_DEPRECATED typedef
MatrixType::node_type 
Node
 Preserved only for backwards compatibility. Please use "node_type". More...
 
TEUCHOS_DEPRECATED typedef
Teuchos::ScalarTraits
< scalar_type >::magnitudeType 
magnitudeType
 Preserved only for backwards compatibility. Please use "magnitude_type". More...
 

Detailed Description

template<class MatrixType>
class Ifpack2::LocalFilter< MatrixType >

Access only local rows and columns of a sparse matrix.

Template Parameters
MatrixTypeA specialization of either Tpetra::RowMatrix, or Tpetra::CrsMatrix (which is a subclass of Tpetra::CrsMatrix).

For the template parameter of this class, it is better to use the most specific type you can, as long as that type is the same as the type of the object you plan to give to LocalFilter's constructor. "Most specific" means, for example, Tpetra::CrsMatrix instead of Tpetra::RowMatrix, if you plan to give a Tpetra::CrsMatrix to this object's constructor.

This class provides a view of only the local rows and columns of an existing sparse matrix. "Local rows" are those owned by the row Map on the calling process; "local columns" are owned by both the column Map and the domain Map on the calling process. The view's communicator contains only the local process (in MPI terms, MPI_COMM_SELF), and each process will have its own distinct view of its local part of the matrix.

Here is an example of how to apply a LocalFilter to an existing Tpetra sparse matrix:

* #include "Ifpack2_LocalFilter.hpp"
* // ...
* using Teuchos::RCP;
* typedef Tpetra::RowMatrix<double> crs_matrix_type;
* typedef Tpetra::CrsMatrix<double> crs_matrix_type;
*
* RCP<crs_matrix_type> A = ...;
* // ... fill the entries of A ...
* A->FillComplete ();
*
*

This class does not necessarily copy the entire sparse matrix; it may choose instead just to "filter out" the nonlocal entries.

The intended use case of this class is to use Ifpack2 incomplete factorizations as subdomain solvers, where each process has exactly one subdomain. LocalFilter "hides" the remote columns of the matrix, making it square and thus a suitable input for local linear solvers.

Member Typedef Documentation

template<class MatrixType>
typedef MatrixType::scalar_type Ifpack2::LocalFilter< MatrixType >::scalar_type

The type of the entries of the input MatrixType.

template<class MatrixType>
typedef MatrixType::local_ordinal_type Ifpack2::LocalFilter< MatrixType >::local_ordinal_type

The type of local indices in the input MatrixType.

template<class MatrixType>
typedef MatrixType::global_ordinal_type Ifpack2::LocalFilter< MatrixType >::global_ordinal_type

The type of global indices in the input MatrixType.

template<class MatrixType>
typedef MatrixType::node_type Ifpack2::LocalFilter< MatrixType >::node_type

The type of the Kokkos Node used by the input MatrixType.

template<class MatrixType>
typedef Teuchos::ScalarTraits<scalar_type>::magnitudeType Ifpack2::LocalFilter< MatrixType >::magnitude_type

The type of the magnitude (absolute value) of a matrix entry.

Constructor & Destructor Documentation

template<class MatrixType >
Ifpack2::LocalFilter< MatrixType >::LocalFilter ( const Teuchos::RCP< const Tpetra::RowMatrix< scalar_type, local_ordinal_type, global_ordinal_type, node_type > > &  Matrix)
explicit

Constructor.

Parameters
A[in] The sparse matrix to which to apply the local filter, as a Tpetra::RowMatrix. (Tpetra::CrsMatrix inherits from this, so you may use a Tpetra::CrsMatrix here instead.)

This class will not modify the input matrix.

template<class MatrixType >
Ifpack2::LocalFilter< MatrixType >::~LocalFilter ( )
virtual

Destructor.

Member Function Documentation

template<class MatrixType >
const Teuchos::RCP< const Teuchos::Comm< int > > & Ifpack2::LocalFilter< MatrixType >::getComm ( ) const
virtual

Returns the communicator.

template<class MatrixType >
Teuchos::RCP< typename MatrixType::node_type > Ifpack2::LocalFilter< MatrixType >::getNode ( ) const
virtual

Returns the underlying Kokkos Node object.

template<class MatrixType >
const Teuchos::RCP< const Tpetra::Map< typename MatrixType::local_ordinal_type, typename MatrixType::global_ordinal_type, typename MatrixType::node_type > > & Ifpack2::LocalFilter< MatrixType >::getRowMap ( ) const
virtual

Returns the Map that describes the row distribution in this matrix.

template<class MatrixType >
const Teuchos::RCP< const Tpetra::Map< typename MatrixType::local_ordinal_type, typename MatrixType::global_ordinal_type, typename MatrixType::node_type > > & Ifpack2::LocalFilter< MatrixType >::getColMap ( ) const
virtual

Returns the Map that describes the column distribution in this matrix.

template<class MatrixType >
const Teuchos::RCP< const Tpetra::Map< typename MatrixType::local_ordinal_type, typename MatrixType::global_ordinal_type, typename MatrixType::node_type > > & Ifpack2::LocalFilter< MatrixType >::getDomainMap ( ) const
virtual

Returns the Map that describes the domain distribution in this matrix.

template<class MatrixType >
const Teuchos::RCP< const Tpetra::Map< typename MatrixType::local_ordinal_type, typename MatrixType::global_ordinal_type, typename MatrixType::node_type > > & Ifpack2::LocalFilter< MatrixType >::getRangeMap ( ) const
virtual

Returns the Map that describes the range distribution in this matrix.

template<class MatrixType >
Teuchos::RCP< const Tpetra::RowGraph< typename MatrixType::local_ordinal_type, typename MatrixType::global_ordinal_type, typename MatrixType::node_type > > Ifpack2::LocalFilter< MatrixType >::getGraph ( ) const
virtual

The (locally filtered) matrix's graph.

template<class MatrixType >
global_size_t Ifpack2::LocalFilter< MatrixType >::getGlobalNumRows ( ) const
virtual

The number of global rows in this matrix.

template<class MatrixType >
global_size_t Ifpack2::LocalFilter< MatrixType >::getGlobalNumCols ( ) const
virtual

The number of global columns in this matrix.

template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getNodeNumRows ( ) const
virtual

The number of rows owned on the calling process.

template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getNodeNumCols ( ) const
virtual

The number of columns in the (locally filtered) matrix.

template<class MatrixType >
MatrixType::global_ordinal_type Ifpack2::LocalFilter< MatrixType >::getIndexBase ( ) const
virtual

Returns the index base for global indices for this matrix.

template<class MatrixType >
global_size_t Ifpack2::LocalFilter< MatrixType >::getGlobalNumEntries ( ) const
virtual

Returns the global number of entries in this matrix.

template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getNodeNumEntries ( ) const
virtual

Returns the local number of entries in this matrix.

template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getNumEntriesInGlobalRow ( global_ordinal_type  globalRow) const
virtual

The current number of entries on this node in the specified global row.

Returns
Teuchos::OrdinalTraits<size_t>::invalid() if the specified row is not owned by this process, otherwise the number of entries in that row on this process.
template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getNumEntriesInLocalRow ( local_ordinal_type  localRow) const
virtual

The current number of entries on this node in the specified local row.

Returns
Teuchos::OrdinalTraits<size_t>::invalid() if the specified local row is not valid on this process, otherwise the number of entries in that row on this process.
template<class MatrixType >
global_size_t Ifpack2::LocalFilter< MatrixType >::getGlobalNumDiags ( ) const
virtual

The number of global diagonal entries, based on global row/column index comparisons.

template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getNodeNumDiags ( ) const
virtual

The number of local diagonal entries, based on global row/column index comparisons.

template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getGlobalMaxNumRowEntries ( ) const
virtual

The maximum number of entries across all rows/columns on all processes.

template<class MatrixType >
size_t Ifpack2::LocalFilter< MatrixType >::getNodeMaxNumRowEntries ( ) const
virtual

The maximum number of entries across all rows/columns on this process.

template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::hasColMap ( ) const
virtual

Whether this matrix has a well-defined column Map.

template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::isLowerTriangular ( ) const
virtual

Whether this matrix is lower triangular.

template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::isUpperTriangular ( ) const
virtual

Whether this matrix is upper triangular.

template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::isLocallyIndexed ( ) const
virtual

Whether the underlying sparse matrix is locally (opposite of globally) indexed.

template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::isGloballyIndexed ( ) const
virtual

Whether the underlying sparse matrix is globally (opposite of locally) indexed.

template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::isFillComplete ( ) const
virtual

Returns true if fillComplete() has been called.

template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::supportsRowViews ( ) const
virtual

Returns true if RowViews are supported.

template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::getGlobalRowCopy ( global_ordinal_type  GlobalRow,
const Teuchos::ArrayView< global_ordinal_type > &  Indices,
const Teuchos::ArrayView< scalar_type > &  Values,
size_t &  NumEntries 
) const
virtual

Extract a list of entries in a specified global row of this matrix. Put into pre-allocated storage.

Parameters
LocalRow- (In) Global row number for which indices are desired.
Indices- (Out) Global column indices corresponding to values.
Values- (Out) Matrix values.
NumEntries- (Out) Number of indices.

Note: A std::runtime_error exception is thrown if either Indices or Values is not large enough to hold the data associated with row GlobalRow. If GlobalRow does not belong to this node, then Indices and Values are unchanged and NumIndices is returned as Teuchos::OrdinalTraits<size_t>::invalid().

template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::getLocalRowCopy ( local_ordinal_type  LocalRow,
const Teuchos::ArrayView< local_ordinal_type > &  Indices,
const Teuchos::ArrayView< scalar_type > &  Values,
size_t &  NumEntries 
) const
virtual

Extract a list of entries in a specified local row of the graph. Put into storage allocated by calling routine.

Parameters
LocalRow- (In) Local row number for which indices are desired.
Indices- (Out) Local column indices corresponding to values.
Values- (Out) Matrix values.
NumIndices- (Out) Number of indices.

Note: A std::runtime_error exception is thrown if either Indices or Values is not large enough to hold the data associated with row LocalRow. If LocalRow is not valid for this node, then Indices and Values are unchanged and NumIndices is returned as Teuchos::OrdinalTraits<size_t>::invalid().

template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::getGlobalRowView ( global_ordinal_type  GlobalRow,
Teuchos::ArrayView< const global_ordinal_type > &  indices,
Teuchos::ArrayView< const scalar_type > &  values 
) const
virtual

Extract a const, non-persisting view of global indices in a specified row of the matrix.

Parameters
GlobalRow- (In) Global row number for which indices are desired.
Indices- (Out) Global column indices corresponding to values.
Values- (Out) Row values
Precondition
isLocallyIndexed() == false
Postcondition
indices.size() == getNumEntriesInGlobalRow(GlobalRow)

Note: If GlobalRow does not belong to this node, then indices is set to null.

template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::getLocalRowView ( local_ordinal_type  LocalRow,
Teuchos::ArrayView< const local_ordinal_type > &  indices,
Teuchos::ArrayView< const scalar_type > &  values 
) const
virtual

Extract a const, non-persisting view of local indices in a specified row of the matrix.

Parameters
LocalRow- (In) Local row number for which indices are desired.
Indices- (Out) Global column indices corresponding to values.
Values- (Out) Row values
Precondition
isGloballyIndexed() == false
Postcondition
indices.size() == getNumEntriesInLocalRow(LocalRow)

Note: If LocalRow does not belong to this node, then indices is set to null.

template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::getLocalDiagCopy ( Tpetra::Vector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &  diag) const
virtual

Get a copy of the diagonal entries owned by this node, with local row indices.

Returns a distributed Vector object partitioned according to this matrix's row map, containing the the zero and non-zero diagonals owned by this node.

template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::leftScale ( const Tpetra::Vector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &  x)
virtual

Scales the RowMatrix on the left with the Vector x.

This matrix will be scaled such that A(i,j) = x(i)*A(i,j) where i denoes the global row number of A and j denotes the global column number of A.

Parameters
xA vector to left scale this matrix.
template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::rightScale ( const Tpetra::Vector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &  x)
virtual

Scales the RowMatrix on the right with the Vector x.

This matrix will be scaled such that A(i,j) = x(j)*A(i,j) where i denoes the global row number of A and j denotes the global column number of A.

Parameters
xA vector to right scale this matrix.
template<class MatrixType >
Teuchos::ScalarTraits< typename MatrixType::scalar_type >::magnitudeType Ifpack2::LocalFilter< MatrixType >::getFrobeniusNorm ( ) const
virtual

The Frobenius norm of the (locally filtered) matrix.

This method may return a different value on each process, because this method computes the norm of the locally filtered matrix, which may be different on each process.

The Frobenius norm of a matrix \(A\) is defined as \(\|A\|_F = \sqrt{\sum_{i,j} \|A_{ij}\|^2}\).

template<class MatrixType >
void Ifpack2::LocalFilter< MatrixType >::apply ( const Tpetra::MultiVector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &  X,
Tpetra::MultiVector< scalar_type, local_ordinal_type, global_ordinal_type, node_type > &  Y,
Teuchos::ETransp  mode = Teuchos::NO_TRANS,
scalar_type  alpha = Teuchos::ScalarTraits<scalar_type>::one(),
scalar_type  beta = Teuchos::ScalarTraits<scalar_type>::zero() 
) const
virtual

Computes the operator-multivector application.

Loosely, performs \(Y = \alpha \cdot A^{\textrm{mode}} \cdot X + \beta \cdot Y\). However, the details of operation vary according to the values of alpha and beta. Specifically

  • if beta == 0, apply() must overwrite Y, so that any values in Y (including NaNs) are ignored.
  • if alpha == 0, apply() may short-circuit the operator, so that any values in X (including NaNs) are ignored.
template<class MatrixType >
bool Ifpack2::LocalFilter< MatrixType >::hasTransposeApply ( ) const
virtual

Indicates whether this operator supports applying the adjoint operator.

template<class MatrixType >
TPETRA_DEPRECATED void Ifpack2::LocalFilter< MatrixType >::getGlobalRowView ( global_ordinal_type  GlobalRow,
Teuchos::ArrayRCP< const global_ordinal_type > &  indices,
Teuchos::ArrayRCP< const scalar_type > &  values 
) const
virtual

Deprecated. Get a persisting const view of the entries in a specified global row of this matrix.

Parameters
GlobalRow- (In) Global row from which to retrieve matrix entries.
Indices- (Out) Indices for the global row.
Values- (Out) Values for the global row.

Note: If GlobalRow does not belong to this node, then Indices and Values are set to Teuchos::null</t>>.

Precondition
isLocallyIndexed()==false

template<class MatrixType >
TPETRA_DEPRECATED void Ifpack2::LocalFilter< MatrixType >::getLocalRowView ( local_ordinal_type  LocalRow,
Teuchos::ArrayRCP< const local_ordinal_type > &  indices,
Teuchos::ArrayRCP< const scalar_type > &  values 
) const
virtual

Deprecated. Get a persisting const view of the entries in a specified local row of this matrix.

Parameters
LocalRow- (In) Local row from which to retrieve matrix entries.
Indices- (Out) Indices for the local row.
Values- (Out) Values for the local row.

Note: If LocalRow is not valid for this node, then Indices and Values are set to Teuchos::null.

Precondition
isGloballyIndexed()==false

Member Data Documentation

template<class MatrixType>
TEUCHOS_DEPRECATED typedef MatrixType::scalar_type Ifpack2::LocalFilter< MatrixType >::Scalar

Preserved only for backwards compatibility. Please use "scalar_type".

template<class MatrixType>
TEUCHOS_DEPRECATED typedef MatrixType::local_ordinal_type Ifpack2::LocalFilter< MatrixType >::LocalOrdinal

Preserved only for backwards compatibility. Please use "local_ordinal_type".

template<class MatrixType>
TEUCHOS_DEPRECATED typedef MatrixType::global_ordinal_type Ifpack2::LocalFilter< MatrixType >::GlobalOrdinal

Preserved only for backwards compatibility. Please use "global_ordinal_type".

template<class MatrixType>
TEUCHOS_DEPRECATED typedef MatrixType::node_type Ifpack2::LocalFilter< MatrixType >::Node

Preserved only for backwards compatibility. Please use "node_type".

template<class MatrixType>
TEUCHOS_DEPRECATED typedef Teuchos::ScalarTraits<scalar_type>::magnitudeType Ifpack2::LocalFilter< MatrixType >::magnitudeType

Preserved only for backwards compatibility. Please use "magnitude_type".


The documentation for this class was generated from the following files: