Update for segregated FEM matrix

This commit is contained in:
Hrvoje Jasak 2014-04-10 20:55:00 +01:00
parent e732980a53
commit dd81042998

View file

@ -230,7 +230,7 @@ addBoundarySourceDiag
const vectorField& pointNormals = this->patch().pointNormals(); const vectorField& pointNormals = this->patch().pointNormals();
const label nFaces = this->patch().nFaces(); const label nFaces = this->patch().nFaces();
vectorField& b = matrix.b(); vectorField& b = matrix.source();
for (label faceI = 0; faceI < nFaces; faceI++) for (label faceI = 0; faceI < nFaces; faceI++)
{ {