SquareMatrix, SymmetricSquareMatrix: Changed the constructor from size to require only n

This avoids the need to check that the m and n dimensions are the same.
This commit is contained in:
Henry Weller
2016-03-22 14:13:48 +00:00
parent feada18b40
commit 055a113f10
14 changed files with 116 additions and 80 deletions

View File

@ -675,7 +675,6 @@ int main(int argc, char *argv[])
// Matrix sum in j(Fij) for each i (if enclosure sum = 1)
scalarSquareMatrix sumViewFactorPatch
(
totalPatches,
totalPatches,
0.0
);
@ -888,7 +887,7 @@ int main(int argc, char *argv[])
if (Pstream::master())
{
scalarSquareMatrix Fmatrix(totalNCoarseFaces, totalNCoarseFaces, 0.0);
scalarSquareMatrix Fmatrix(totalNCoarseFaces, 0.0);
labelListList globalFaceFaces(visibleFaceFaces.size());