Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 165ca9f4 authored by KUHN Matthieu's avatar KUHN Matthieu Committed by Mathieu Faverge
Browse files

Added tests for other matrix storage formats

parent 96d9c0fb
No related branches found
No related tags found
1 merge request!4Feature/matvec 4all
...@@ -94,12 +94,13 @@ int main (int argc, char **argv) ...@@ -94,12 +94,13 @@ int main (int argc, char **argv)
{ {
spmBase( &original, baseval ); spmBase( &original, baseval );
printf(" Matrix type : %s\n", mtxnames[mtxtype - SpmGeneral] ); printf(" Matrix type : %s\n", mtxnames[mtxtype - SpmGeneral] );
printf(" -- Test Matrix * Vector : ");
/* For now only CSC is working */ /* For now only CSC is working */
for( fmttype=0; fmttype<1; fmttype++ ) for( fmttype=SpmCSC; fmttype<=SpmIJV; fmttype++ )
{ {
printf(" Matrix format : %s\n", fmtnames[fmttype - SpmCSC] );
printf(" -- Test Matrix * Vector : ");
spmConvert( fmttype, &original ); spmConvert( fmttype, &original );
spm = spmDofExtend( &original, i, dofmax ); spm = spmDofExtend( &original, i, dofmax );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment