#undef __FUNCT__ #define __FUNCT__ "petsc::PETScLibTest::testMatPreallocation" void petsc::PETScLibTest::testMatPreallocation(){ _log.debug("testMatPreallocation()","start PETSc mat preallocation test"); Mat matrix; const int rows = 4; const int cols = 4; int nnzCounter[rows]; for (int i=0; i