Amesos2 - Direct Sparse Solver Interfaces
Version of the Day
|
A templated MultiVector class adapter for Amesos2. More...
#include <Amesos2_MultiVecAdapter_decl.hpp>
Related Functions | |
(Note that these are not member functions.) | |
template<class MV > | |
Teuchos::RCP< MultiVecAdapter < MV > > | createMultiVecAdapter (Teuchos::RCP< MV > mv) |
Factory creation method for MultiVecAdapters. More... | |
A templated MultiVector class adapter for Amesos2.
Specializations of this templated class provide a unified interface to MultiVector types for Amesos2. Any specializations are expected to implement the following methods:
Implementation Requirements:
Wrapper constructor
Method to get locality of multivec, either globally or locally indexed.
Method to get multi-vector communicator.
Methods to get the local and global length of vectors and number of vectors.
Get access to multi-vector stride
Ask whether this multi-vector has constant stride between vectors on this node.
Vector access methods.
Data access methods
Method to export an array of new values into the global multi-vector.
Get a description of this adapter.
Print the multivec to the os
output stream.
|
related |
Factory creation method for MultiVecAdapters.
Developers should favor this method for creating Amesos2 MultiVector adapters over using the constructors.