/[escript]/trunk/finley/test/MMtest/MMtest.c
ViewVC logotype

Annotation of /trunk/finley/test/MMtest/MMtest.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 117 - (hide annotations)
Fri Apr 1 05:48:57 2005 UTC (17 years, 11 months ago) by jgs
Original Path: trunk/esys2/finley/test/MMtest/MMtest.c
File MIME type: text/plain
File size: 469 byte(s)
*** empty log message ***

1 jgs 117 #include "finley/finleyC/System.h"
2     #include "finley/finleyC/Finley.h"
3    
4     #include <stdio.h>
5    
6     int main( int argc, char *argv[] )
7     {
8     Finley_SystemMatrix *fsm = NULL;
9    
10     if( argc != 3 )
11     {
12     printf( "usage: %s infile.mm outfile.mm\n", argv[0] );
13     return -1;
14     }
15    
16     fsm = Finley_SystemMatrix_loadMM_toCSR( argv[1] );
17     if( Finley_ErrorCode != NO_ERROR )
18     {
19     printf( "Error:: %s\n", Finley_ErrorMsg );
20     return -1;
21     }
22    
23     Finley_SystemMatrix_saveMM( fsm, argv[2] );
24    
25     return 0;
26     }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26