src/export_Epetra_CrsMatrix.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void export_Epetra_CrsMatrix (const Epetra_CrsMatrix &mat, int precision, std::ostream &ostr)
void export_Epetra_CrsMatrix (const Epetra_CrsMatrix &mat, int precision, const std::string &file_name)
void export_Epetra_Map (const Epetra_Map &map, std::ostream &ostr)
void export_Epetra_Map (const Epetra_Map &map, const std::string &file_name)


Function Documentation

void export_Epetra_CrsMatrix ( const Epetra_CrsMatrix &  mat,
int  precision,
const std::string &  file_name 
)

Export an Epetra_CrsMatrix to a file in MatrixMarket format.

Parameters:
mat matrix to be exported. FillComplete has to be executed on the matrix before calling this function
precision number of digits of floating-point values to be exported
file_name name of the file to be created

Definition at line 89 of file export_Epetra_CrsMatrix.cpp.

void export_Epetra_CrsMatrix ( const Epetra_CrsMatrix &  mat,
int  precision,
std::ostream &  ostr 
)

Export an Epetra_CrsMatrix to a output stream in MatrixMarket format.

Parameters:
mat matrix to be exported. FillComplete has to be executed on the matrix before calling this function
precision number of digits of floating-point values to be exported
ostr output stream
This function only works in single-processor mode.

Definition at line 51 of file export_Epetra_CrsMatrix.cpp.

void export_Epetra_Map ( const Epetra_Map &  map,
const std::string &  file_name 
)

Export an Epetra_Map to an ascii file.

The generated ascii file has three columns: 1. processor id, 2. local id, 3. global id.

Parameters:
[in] map Epetra_Map to export.
[in] file_name name of the file to be created

Definition at line 169 of file export_Epetra_CrsMatrix.cpp.

References comm.

void export_Epetra_Map ( const Epetra_Map &  map,
std::ostream &  ostr 
)

Export an Epetra_Map to an ascii file.

The generated ascii file has three columns: 1. processor id, 2. local id, 3. global id.

Parameters:
[in] map Epetra_Map to export.
[in,out] ostr stream to write to.

Definition at line 154 of file export_Epetra_CrsMatrix.cpp.

References comm.


Generated on Fri Oct 26 13:35:14 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7