meshTools/coordinateSystems cosmetic cleanup

This commit is contained in:
Mark Olesen
2008-08-07 11:05:28 +02:00
parent f5e73da8aa
commit fd7dcffd50
4 changed files with 7 additions and 125 deletions

View File

@ -117,10 +117,7 @@ Foam::autoPtr<Foam::coordinateSystem> Foam::coordinateSystem::New
// default type is self
word coordType(typeName_());
if (dict.found("type"))
{
dict.lookup("type") >> coordType;
}
dict.readIfPresent("type", coordType);
// can (must) construct base class directly
if (coordType == typeName_())