[Trilinos-Users] an array of matrices

Nikhil Kriplani nmkripla at ncsu.edu
Thu Jul 10 15:39:44 MDT 2008


I am wondering how to create an array of Epetra_CrsMatrices.
Essentially, I need to have several such matrices (say Num) in my
program. Each matrix will be LU factored and solved, so I need to do
something like

for (int i = 0; i < Num; i++)

Is there a way to perform this creation?


P.S. the standard way for creating multidimensional containers for
native C++ types (int, double) does not work.

More information about the Trilinos-Users mailing list