Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
readMatrixFromBinaryFile.hpp File Reference
#include <climits>
#include "Tpetra_Details_makeColMap.hpp"
Include dependency graph for readMatrixFromBinaryFile.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename global_ordinal_type , typename local_ordinal_type , typename scalar_type , typename map_type >
void distribute (Teuchos::ArrayRCP< size_t > &myNumEntriesPerRow, Teuchos::ArrayRCP< size_t > &myRowPtr, Teuchos::ArrayRCP< global_ordinal_type > &myColInd, Teuchos::ArrayRCP< scalar_type > &myValues, const Teuchos::RCP< const map_type > &pRowMap, global_ordinal_type *rowPtr, global_ordinal_type *colInd, const bool debug=false)
 
template<typename crs_matrix_type >
Teuchos::RCP< crs_matrix_type > readBinaryFile (std::string filename, const Teuchos::RCP< const Teuchos::Comm< int >> pComm, bool callFillComplete=true, bool debug=false)
 
template<typename crs_matrix_type >
Teuchos::RCP< crs_matrix_type > readBinaryFileFast (std::string filename, const Teuchos::RCP< const Teuchos::Comm< int >> pComm, bool callFillComplete=true, bool debug=false)
 
template<typename crs_matrix_type >
Teuchos::RCP< crs_matrix_type > readMatrixFromBinaryFile (std::string filename, const Teuchos::RCP< const Teuchos::Comm< int >> pComm, bool binary=true, bool debug=false)
 

Function Documentation

template<typename global_ordinal_type , typename local_ordinal_type , typename scalar_type , typename map_type >
void distribute ( Teuchos::ArrayRCP< size_t > &  myNumEntriesPerRow,
Teuchos::ArrayRCP< size_t > &  myRowPtr,
Teuchos::ArrayRCP< global_ordinal_type > &  myColInd,
Teuchos::ArrayRCP< scalar_type > &  myValues,
const Teuchos::RCP< const map_type > &  pRowMap,
global_ordinal_type *  rowPtr,
global_ordinal_type *  colInd,
const bool  debug = false 
)

Definition at line 59 of file readMatrixFromBinaryFile.hpp.

template<typename crs_matrix_type >
Teuchos::RCP<crs_matrix_type> readBinaryFile ( std::string  filename,
const Teuchos::RCP< const Teuchos::Comm< int >>  pComm,
bool  callFillComplete = true,
bool  debug = false 
)

Definition at line 244 of file readMatrixFromBinaryFile.hpp.

template<typename crs_matrix_type >
Teuchos::RCP<crs_matrix_type> readBinaryFileFast ( std::string  filename,
const Teuchos::RCP< const Teuchos::Comm< int >>  pComm,
bool  callFillComplete = true,
bool  debug = false 
)

Definition at line 368 of file readMatrixFromBinaryFile.hpp.

template<typename crs_matrix_type >
Teuchos::RCP<crs_matrix_type> readMatrixFromBinaryFile ( std::string  filename,
const Teuchos::RCP< const Teuchos::Comm< int >>  pComm,
bool  binary = true,
bool  debug = false 
)

Definition at line 519 of file readMatrixFromBinaryFile.hpp.