Skip to content

[LinAlg] Clean-up of sparse algebra wrappers #875

@maxfirmbach

Description

@maxfirmbach

Description

Now that some of our sparse algebra wrappers are quite stable, we should think about cleaning them up and take a brief look at how things are done in their Tpetra counterpart:

  • Does a respective method still exist?
  • Which input arguments does a specific method take?
  • ...
  • Move error messages into the wrapper itself and directly throw there.

Small example, in Tpetra it's not possible to index a global vector by using [] anymore. So if our wrapper and code would use this, we need to replace it.

This issue is mainly for documentation purpose.

Overview of classes to exchange with Tpetra counterpart:

Epetra 4C Tpetra Related issues ready for switch
Epetra_Vector LinAlg::Vector<double> Tpetra::Vector<double> #1121
Epetra_IntVector LinAlg::Vector<int> Tpetra::Vector<int> #1121
Epetra_MultiVector LinAlg::MultiVector Tpetra::MultiVector #1462
Epetra_FEVector LinAlg::FEVector Tpetra::FEMultiVector
Epetra_Map LinAlg::Map Tpetra::Map #1391
Epetra_CrsGraph LinAlg::Graph Tpetra::CrsGraph #1389
Epetra_FECrsGraph LinAlg::Graph Tpetra::FECrsGraph #1389
Epetra_Import LinAlg::Import Tpetra::Import
Epetra_Export LinAlg::Export Tpetra::Export
Epetra_Operator LinAlg::SparseOperator Tpetra::Operator
Epetra_CrsMatrix LinAlg::SparseMatrix Tpetra::CrsMatrix
Epetra_FECrsMatrix LinAlg::SparseMatrix Tpetra::FECrsMatrix

Possible Solution and Definition of Done

  • Verify that the list above is complete
  • Open for each of the wrapper an issue and document what seems to be missing or what needs to be changed (or work on it directly)

Interested Parties

Metadata

Metadata

Labels

status: in progressIssues that are currently being worked ontaskforce: tpetraIssues related to the migration from Epetra to Tpetratype: enhancementA new feature or enhancement to be implemented

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions