47 namespace MultiRegions
79 GetSolverInfoAsEnum<MatrixStorageType>(
"GlobalMatrixStorageType");
81 unsigned int brows, bcols;
91 if(pSession->DefinesParameter(
"SparseBlockSize"))
93 pSession->LoadParameter(
"SparseBlockSize", block_size);
94 ASSERTL1(block_size > 0,
"SparseBlockSize parameter must to be positive");
97 brows = rows / block_size + (rows % block_size > 0);
98 bcols = columns / block_size + (columns % block_size > 0);
100 if (rows % block_size > 0)
m_copyOp =
true;
104 m_tmpin = Array<OneD, NekDouble> (brows*block_size, 0.0);
105 m_tmpout = Array<OneD, NekDouble> (brows*block_size, 0.0);
120 brows, bcols, block_size, bcoMat, matStorage );
135 cout <<
"Global matrix storage type: "
137 std::cout <<
"Global matrix memory, bytes = " << matBytes;
138 if (matBytes/(1024*1024) > 0)
140 std::cout <<
" ("<< matBytes/(1024*1024) <<
" MB)" << std::endl;
144 std::cout <<
" ("<< matBytes/1024 <<
" KB)" << std::endl;
146 std::cout <<
"Sparse storage block size = " << block_size << std::endl;
156 Array<OneD, NekDouble> &out)