Skip to content
Snippets Groups Projects
Commit 4ae41deb authored by Oliver Sander's avatar Oliver Sander
Browse files

Test UMFPack with BCRSMatrix<FieldMatrix<double,2,2> >

parent 72f16adc
No related branches found
No related tags found
1 merge request!271Implement umfpack for scalar matrices
......@@ -72,6 +72,14 @@ int main(int argc, char** argv) try
runUMFPack<Matrix,Vector>(N);
}
// ------------------------------------------------------------------------------
std::cout<<"testing for N="<<N<<" BCRSMatrix<FieldMatrix<double,2,2> >"<<std::endl;
{
using Matrix = Dune::BCRSMatrix<Dune::FieldMatrix<double,2,2> >;
using Vector = Dune::BlockVector<Dune::FieldVector<double,2> >;
runUMFPack<Matrix,Vector>(N);
}
return 0;
#else // HAVE_SUITESPARSE_UMFPACK
std::cerr << "You need SuiteSparse's UMFPack to run this test." << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment