more review comments addressed

This commit is contained in:
hnil
2022-12-19 11:38:16 +01:00
parent e5c76f6eb2
commit da1c174770

View File

@@ -445,7 +445,7 @@ private:
short loc = 0;
for (const auto& nbInfo : nbInfos) {
unsigned globJ = nbInfo.neighbor;
//assert(globJ != globI);
assert(globJ != globI);
res = 0.0;
bMat = 0.0;
adres = 0.0;
@@ -515,7 +515,7 @@ private:
adres *= bdyInfo.bcdata.faceArea;
setResAndJacobi(res, bMat, adres);
residual_[globI] += res;
//jacobian_->addToBlock(globI, globI, bMat);
////SparseAdapter syntax: jacobian_->addToBlock(globI, globI, bMat);
*diagMatAddress_[globI] += bMat;
}
}