|
| static const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > | Map2TpetraMap (const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &map) |
| | Helper utility to pull out the underlying Tpetra objects from an Xpetra object.
|
| static void | Write (const std::string &fileName, const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &M) |
| | Read/Write methods.
|
| static void | Write (const std::string &fileName, const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &vec) |
| | Save multivector to file in Matrix Market format.
|
| static void | WriteLOMV (const std::string &fileName, const Xpetra::MultiVector< LocalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &vec) |
| | Save multivector with Scalar=LocalOrdinal to file in Matrix Market format.
|
| static void | WriteGOMV (const std::string &fileName, const Xpetra::MultiVector< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &vec) |
| | Save multivector with Scalar=GlobalOrdinal to file in Matrix Market format.
|
| static void | Write (const std::string &fileName, const Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > &Op, const bool &writeAllMaps=false) |
| | Save matrix to file in Matrix Market format.
|
| static void | WriteLocal (const std::string &fileName, const Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > &Op) |
| | Save local parts of matrix to files in Matrix Market format.
|
| static void | WriteBlockedCrsMatrix (const std::string &fileName, const Xpetra::BlockedCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > &Op, const bool &writeAllMaps=false) |
| | Save block matrix to one file per block in Matrix Market format.
|
| static Teuchos::RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Read (const std::string &fileName, Xpetra::UnderlyingLib lib, const RCP< const Teuchos::Comm< int > > &comm, bool binary=false) |
| | Read matrix from file in Matrix Market or binary format.
|
| static Teuchos::RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Read (const std::string &filename, const RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > rowMap, RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > colMap=Teuchos::null, const RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > domainMap=Teuchos::null, const RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > rangeMap=Teuchos::null, const bool callFillComplete=true, const bool binary=false, const bool tolerant=false, const bool debug=false) |
| | Read matrix from file in Matrix Market or binary format.
|
| static Teuchos::RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | ReadLocal (const std::string &filename, const RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > rowMap, RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > colMap, const RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > domainMap=Teuchos::null, const RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > rangeMap=Teuchos::null, const bool callFillComplete=true, const bool binary=false, const bool tolerant=false, const bool debug=false) |
| | Read matrix from local files in Matrix Market or binary format.
|
| static RCP< MultiVector > | ReadMultiVector (const std::string &fileName, const RCP< const Map > &map, const bool binary=false) |
| | Read a MultiVector from file in Matrix Matrix or binary format.
|
| static RCP< Xpetra::MultiVector< LocalOrdinal, LocalOrdinal, GlobalOrdinal, Node > > | ReadMultiVectorLO (const std::string &fileName, const RCP< const Map > &map, const bool binary=false) |
| | Read a MultiVector with Scalar=LocalOrdinal from file in Matrix Matrix or binary format.
|
| static RCP< const Map > | ReadMap (const std::string &fileName, Xpetra::UnderlyingLib lib, const RCP< const Teuchos::Comm< int > > &comm, const bool binary=false) |
| static RCP< const Xpetra::BlockedCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | ReadBlockedCrsMatrix (const std::string &fileName, Xpetra::UnderlyingLib lib, const RCP< const Teuchos::Comm< int > > &comm) |
| | Read block matrix from one file per block in Matrix Market format.
|
| template<class T> |
| static std::string | toString (const T &what) |
| | Little helper function to convert non-string types to strings.
|
template<class Scalar, class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
class Xpetra::IO< Scalar, LocalOrdinal, GlobalOrdinal, Node >
Xpetra utility class containing IO routines to read/write vectors, matrices etc...
Definition at line 53 of file Xpetra_IO_decl.hpp.