List of all members.
Static Public Member Functions |
| static void | sendToMatvis (String server, int port, CisMatrix cisMatrix, Comm comm) throws java.io.IOException |
| static void | write (String fileName, CisMatrix cisMatrix, Comm comm) throws java.io.IOException |
Detailed Description
Writes a CisMatrix to a plain text MatrixMarket formatted file or to a TCP/IP socket for display in Matvis.
- Author:
- Jason Cross
Member Function Documentation
| static void Jpetra::MatrixMarketIO::CisMatrixWriter::sendToMatvis |
( |
String |
server, |
|
|
int |
port, |
|
|
CisMatrix |
cisMatrix, |
|
|
Comm |
comm |
|
) |
| throws java.io.IOException [inline, static] |
Opens a TCP/IP connection to Matvis and sends the CisMatrix to Matvis for dispaly.
- Parameters:
-
| server | The server to send to. The server can be an IP address or a name. Ex: 127.0.0.1 or localhost |
| port | The TCP/IP port on which Matvis is listening for connections. |
| cisMatrix | The CisMatri to send to Matvis. |
- Exceptions:
-
| IOException | Any errors that occur while trying to connect to or send the CisMatrix> to Matvis are thrown. |
| static void Jpetra::MatrixMarketIO::CisMatrixWriter::write |
( |
String |
fileName, |
|
|
CisMatrix |
cisMatrix, |
|
|
Comm |
comm |
|
) |
| throws java.io.IOException [inline, static] |
Writes a CisMatrix to a plan text file in MatrixMarket format.
- Parameters:
-
| fileName | the absolute or relative path of the file to write to |
| cisMatrix | the CisMatrix to write to the file |
- Exceptions:
-
| IOException | Any errors that occur while trying to open or read form the file are thrown. |
The documentation for this class was generated from the following file: