Skip to content
Snippets Groups Projects
Commit 29c5ebaf authored by Sebastian Aland's avatar Sebastian Aland
Browse files

Fehler in AMDiS/src/parallel/PetscSolverGlobalBlockMatrix.cc korrigiert

parent 81cffe8c
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,8 @@ namespace AMDiS {
MatCreateAIJ(domainComm,
nRankRows * blockSize[i], nRankRows * blockSize[j],
nOverallRows * blockSize[i], nOverallRows * blockSize[j],
30 * blockSize[i], PETSC_NULL,
30 * blockSize[j], PETSC_NULL,
300 * blockSize[i], PETSC_NULL,
300 * blockSize[j], PETSC_NULL,
&(nestMat[i * nBlocks + j]));
for (int i = 0; i < nComponents; i++)
......@@ -260,8 +260,8 @@ namespace AMDiS {
vector<int> cols;
vector<double> values;
cols.reserve(300);
values.reserve(300);
cols.reserve(3000);
values.reserve(3000);
// === Traverse all rows of the dof matrix and insert row wise the values ===
// === to the PETSc matrix. ===
......
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