Bug fixes, gcc

This commit is contained in:
Hrvoje Jasak 2011-08-25 11:18:21 +01:00
parent e4e4a5f967
commit 72adb55986
2 changed files with 1 additions and 7 deletions

View file

@ -224,11 +224,6 @@ void Foam::faAreaMapper::calcAddressing() const
// Get addressing
const labelList& mo = fff[fffI].masterObjects();
forAll (ffe, ffeI)
{
// Get addressing
const labelList& mo = ffe[ffeI].masterObjects();
// Check if master objects are in faMesh
labelList validMo(mo.size());
label nValidMo = 0;
@ -257,7 +252,6 @@ void Foam::faAreaMapper::calcAddressing() const
nNewFaces++;
}
}
}
// All faces collected. Reset sizes of lists
newFaceLabels.setSize(nNewFaces);

View file

@ -51,7 +51,7 @@ ddt
return fa::faDdtScheme<Type>::New
(
mesh,
mesh.ddtScheme("ddt(" + dt.name() + ')')
mesh.schemesDict().ddtScheme("ddt(" + dt.name() + ')')
)().facDdt(dt);
}