Skip to content

[LinAlg] Prepare vector class for Tpetra #1121

@knarfnitram

Description

@knarfnitram

Description

Sub issue from #875 to prepare the class Core::LinAlg::Vector for the switch.
Here notes, steps and open problems can be found.

Data access - Tpetra has no [] Operator and it core's concept relies on views:
Therefore all occurrences of the [] operator should be substituted with the function called get_values() or get_local_values or local_values_as_span , since this functions can be substituted with an unmanaged view in first stage.

Catch Epetra error in the wrapper itself #1190:

Bulk local/global setters/adders - Tpetra offers only scalar versions (keep interface function: sum_into_global_values in case we want to try switching to FE_Vector )

Simple vector functions (with probably a 1:1 substitution)

  • Norms / dot / scale / update / abs / reciprocal / reciprocalMultiply
  • Multiplication
  • lengths and & maps
  • Print

Obvious Functions and Constructurs related to Epetra objects:

  • Epetra_BlockMap, Epetra_FEVector, Importer/ Exporter

Interested Parties

Metadata

Metadata

Labels

taskforce: 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