Bug fixes, gcc

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

View file

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

View file

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