Commit 29c5ebaf authored by Sebastian Aland's avatar Sebastian Aland
Browse files

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

parent 81cffe8c
...@@ -60,8 +60,8 @@ namespace AMDiS { ...@@ -60,8 +60,8 @@ namespace AMDiS {
MatCreateAIJ(domainComm, MatCreateAIJ(domainComm,
nRankRows * blockSize[i], nRankRows * blockSize[j], nRankRows * blockSize[i], nRankRows * blockSize[j],
nOverallRows * blockSize[i], nOverallRows * blockSize[j], nOverallRows * blockSize[i], nOverallRows * blockSize[j],
30 * blockSize[i], PETSC_NULL, 300 * blockSize[i], PETSC_NULL,
30 * blockSize[j], PETSC_NULL, 300 * blockSize[j], PETSC_NULL,
&(nestMat[i * nBlocks + j])); &(nestMat[i * nBlocks + j]));
for (int i = 0; i < nComponents; i++) for (int i = 0; i < nComponents; i++)
...@@ -260,8 +260,8 @@ namespace AMDiS { ...@@ -260,8 +260,8 @@ namespace AMDiS {
vector<int> cols; vector<int> cols;
vector<double> values; vector<double> values;
cols.reserve(300); cols.reserve(3000);
values.reserve(300); values.reserve(3000);
// === Traverse all rows of the dof matrix and insert row wise the values === // === Traverse all rows of the dof matrix and insert row wise the values ===
// === to the PETSc matrix. === // === to the PETSc matrix. ===
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment