Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Tpetra::SolverMap_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Referenceabstract

#include <Tpetra_SolverMap_CrsMatrix_decl.hpp>

Inherits Tpetra::StructuralSameTypeTransform< T >.

Public Types

Typedefs for templated classes
using OriginalConstType = Teuchos::RCP< const T >
 
using NewConstType = Teuchos::RCP< const T >
 

Public Member Functions

 SolverMap_CrsMatrix ()
 
 ~SolverMap_CrsMatrix ()
 
NewType operator() (OriginalType const &origMatrix)
 
Pure Virtual Methods which must be implemented by subclasses
virtual NewType operator() (const OriginalType &orig)=0
 Analysis of transform operation on original object and construction of new object. More...
 
Virtual functions with default implements allowing for optional

implementation by the Transform developer

virtual void analyze (const OriginalType &orig)
 Initial analysis phase of transform. More...
 
virtual NewType construct ()
 Construction of new object as a result of the transform. More...
 
virtual bool isConstructed ()
 Check if transformed object has been constructed. More...
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class Tpetra::SolverMap_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Given an input CrsMatrix, the column map is checked for missing indices associated with the local rows. If found, a new CrsMatrix is formed using a new CrsGraph with a fixed column mapping including all local row indices.

Definition at line 30 of file Tpetra_SolverMap_CrsMatrix_decl.hpp.

Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Tpetra::SolverMap_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SolverMap_CrsMatrix ( )

Constructor

Definition at line 34 of file Tpetra_SolverMap_CrsMatrix_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Tpetra::SolverMap_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::~SolverMap_CrsMatrix ( )

Destructor

Definition at line 45 of file Tpetra_SolverMap_CrsMatrix_def.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
SolverMap_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::NewType Tpetra::SolverMap_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::operator() ( OriginalType const &  origMatrix)

Constructs fixed view of CrsMatrix as necessary.

Definition at line 54 of file Tpetra_SolverMap_CrsMatrix_def.hpp.

virtual NewType Tpetra::Transform< T, T >::operator() ( const OriginalType &  orig)
pure virtualinherited

Analysis of transform operation on original object and construction of new object.

Returns
Returns an RCP to the newly created object of type NewType.
virtual void Tpetra::Transform< T, T >::analyze ( const OriginalType &  orig)
virtualinherited

Initial analysis phase of transform.

Initial analysis phase of transform to confirm the transform is possible allowing methods construct(), fwd() and rvs() to be successfully utilized.

The default implementation calls method operator() and stores the resulting object in an internal attribute newObj_.

virtual NewType Tpetra::Transform< T, T >::construct ( )
virtualinherited

Construction of new object as a result of the transform.

The default implementation returns internal attribute newObj_.

virtual bool Tpetra::Transform< T, T >::isConstructed ( )
virtualinherited

Check if transformed object has been constructed.

The default implementation returns true if newObj_ != 0.


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