STYLE: Updated general comments

This commit is contained in:
andy
2011-06-01 17:39:19 +01:00
parent e40b86a7b3
commit f657cd91ed

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -35,7 +35,7 @@ void Foam::readFields
PtrList<GeoField>& fields PtrList<GeoField>& fields
) )
{ {
// Search list of objects for volScalarFields // Search list of objects for fields of type GeomField
IOobjectList fieldObjects(objects.lookupClass(GeoField::typeName)); IOobjectList fieldObjects(objects.lookupClass(GeoField::typeName));
// Remove the cellDist field // Remove the cellDist field
@ -45,7 +45,7 @@ void Foam::readFields
fieldObjects.erase(celDistIter); fieldObjects.erase(celDistIter);
} }
// Construct the vol scalar fields // Construct the fields
fields.setSize(fieldObjects.size()); fields.setSize(fieldObjects.size());
label fieldI = 0; label fieldI = 0;