STYLE: minor cleanup after merge

This commit is contained in:
Mark Olesen
2017-09-22 16:25:17 +02:00
parent b55ab4b0c3
commit 610854af03
44 changed files with 50 additions and 84 deletions

View File

@ -34,8 +34,7 @@ See also
#include "argList.H"
#include "FixedList.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "IPstream.H"
#include "OPstream.H"

View File

@ -31,8 +31,7 @@ Description
#include "Time.H"
#include "polyMesh.H"
#include "primitivePatch.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
using namespace Foam;

View File

@ -35,8 +35,7 @@ Description
#include "joints.H"
#include "rigidBodyRestraint.H"
#include "rigidBodyModelState.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "constants.H"
using namespace Foam;

View File

@ -35,8 +35,7 @@ Description
#include "joints.H"
#include "rigidBodyRestraint.H"
#include "rigidBodyModelState.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
using namespace Foam;
using namespace RBD;

View File

@ -35,8 +35,7 @@ Description
#include "joints.H"
#include "rigidBodyRestraint.H"
#include "rigidBodyModelState.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
using namespace Foam;
using namespace RBD;

View File

@ -28,8 +28,7 @@ Description
#include "argList.H"
#include "label.H"
#include "labelList.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "point.H"
#include "Time.H"
#include "fvMesh.H"

View File

@ -38,9 +38,8 @@ Description
#include "Time.H"
#include "hexRef8.H"
#include "cellSet.H"
#include "OFstream.H"
#include "Fstream.H"
#include "meshTools.H"
#include "IFstream.H"
#include "polyTopoChange.H"
#include "mapPolyMesh.H"
#include "volMesh.H"

View File

@ -35,8 +35,7 @@ Description
#include "argList.H"
#include "Time.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "pointField.H"
#include "unitConversion.H"

View File

@ -35,8 +35,7 @@ Description
#include "argList.H"
#include "Time.H"
#include "polyMesh.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "cellShape.H"
#include "cellModeller.H"
#include "preservePatchTypes.H"

View File

@ -41,8 +41,7 @@ Description
#include "faceSet.H"
#include "pointSet.H"
#include "topoSetSource.H"
#include "OFstream.H"
#include "IFstream.H"
#include "Fstream.H"
#include "demandDrivenData.H"
#include "foamVtkWriteCellSetFaces.H"
#include "foamVtkWriteFaceSet.H"

View File

@ -114,8 +114,7 @@ Usage
#include "argList.H"
#include "profiling.H"
#include "Time.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "includeEntry.H"
using namespace Foam;

View File

@ -38,8 +38,7 @@ Description
#include "argList.H"
#include "fileName.H"
#include "triSurface.H"
#include "OFstream.H"
#include "IFstream.H"
#include "Fstream.H"
#include "triFace.H"
#include "triFaceList.H"

View File

@ -36,8 +36,7 @@ Description
#include "triSurface.H"
#include "triSurfaceSearch.H"
#include "argList.H"
#include "OFstream.H"
#include "IFstream.H"
#include "Fstream.H"
#include "Switch.H"
#include "IOdictionary.H"
#include "boundBox.H"

View File

@ -41,8 +41,7 @@ Description
\*---------------------------------------------------------------------------*/
#include "argList.H"
#include "OFstream.H"
#include "IFstream.H"
#include "Fstream.H"
#include "boundBox.H"
#include "transformField.H"
#include "Pair.H"

View File

@ -27,9 +27,8 @@ License
#include "OPstream.H"
#include "IPstream.H"
#include "PstreamBuffers.H"
#include "OFstream.H"
#include "IFstream.H"
#include "IStringStream.H"
#include "Fstream.H"
#include "StringStream.H"
#include "dictionary.H"
#include <sys/time.h>
#include "objectRegistry.H"

View File

@ -53,10 +53,11 @@ Foam::OFstreamAllocator::OFstreamAllocator
InfoInFunction << "Cannot open null file " << endl;
}
}
ofstream::openmode mode(ofstream::out);
std::ios_base::openmode mode(std::ios_base::out);
if (append)
{
mode |= ofstream::app;
mode |= std::ios_base::app;
}
if (compression == IOstream::COMPRESSED)

View File

@ -35,7 +35,7 @@ SourceFiles
#ifndef masterOFstream_H
#define masterOFstream_H
#include "OStringStream.H"
#include "StringStream.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -34,7 +34,7 @@ SourceFiles
#ifndef dummyISstream_H
#define dummyISstream_H
#include "IStringStream.H"
#include "StringStream.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -26,8 +26,7 @@ License
#include "dynamicCode.H"
#include "dynamicCodeContext.H"
#include "stringOps.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "OSspecific.H"
#include "etcFiles.H"
#include "dictionary.H"

View File

@ -35,7 +35,7 @@ SourceFiles
#ifndef threadedCollatedOFstream_H
#define threadedCollatedOFstream_H
#include "OStringStream.H"
#include "StringStream.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -25,8 +25,7 @@ License
#include "uncollatedFileOperation.H"
#include "Time.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "addToRunTimeSelectionTable.H"
#include "masterUncollatedFileOperation.H"
#include "decomposedBlockData.H"

View File

@ -72,7 +72,7 @@ public:
return true;
}
//- Binary predicate returning false
//- Binary predicate returning true
template<class T1, class T2>
inline bool operator()(const T1&, const T2&) const
{

View File

@ -587,7 +587,8 @@ void Foam::ccm::reader::writeMesh
(
fmt,
IOstream::currentVersion,
IOstream::UNCOMPRESSED
IOstream::UNCOMPRESSED,
true
);
writeAux(mesh);
}

View File

@ -174,7 +174,8 @@ void Foam::ccm::reader::writeMeshLabelList
(
fmt,
IOstream::currentVersion,
IOstream::UNCOMPRESSED
IOstream::UNCOMPRESSED,
true
);
}

View File

@ -28,8 +28,7 @@ License
#include "emptyPolyPatch.H"
#include "symmetryPolyPatch.H"
#include "wallPolyPatch.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "IOdictionary.H"
#include "ccmBoundaryInfo.H"

View File

@ -29,8 +29,7 @@ License
#include "fvPatchFieldMapper.H"
#include "momentOfInertia.H"
#include "cartesianCS.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "globalIndex.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

View File

@ -26,8 +26,7 @@ License
#include "externalCoupled.H"
#include "addToRunTimeSelectionTable.H"
#include "OSspecific.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "volFields.H"
#include "globalIndex.H"
#include "fvMesh.H"

View File

@ -26,8 +26,7 @@ License
#include "externalCoupled.H"
//#include "fvMesh.H"
#include "OSspecific.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "volFields.H"
#include "externalCoupledMixedFvPatchFields.H"
#include "mixedFvPatchFields.H"

View File

@ -27,8 +27,7 @@ License
#include "lumpedPointIOMovement.H"
#include "demandDrivenData.H"
#include "linearInterpolationWeights.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "volFields.H"
#include "surfaceFields.H"
#include "PtrMap.H"

View File

@ -26,8 +26,7 @@ License
#include "edgeMeshFormatsCore.H"
#include "Time.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "edgeMesh.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

View File

@ -25,10 +25,9 @@ License
#include "OBJedgeFormat.H"
#include "clock.H"
#include "IFstream.H"
#include "StringStream.H"
#include "Fstream.H"
#include "Ostream.H"
#include "OFstream.H"
#include "StringStream.H"
#include "ListOps.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

View File

@ -38,9 +38,8 @@ SourceFiles
#define OBJedgeFormat_H
#include "edgeMesh.H"
#include "IFstream.H"
#include "Fstream.H"
#include "Ostream.H"
#include "OFstream.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -44,9 +44,8 @@ SourceFiles
#include "edgeMesh.H"
#include "STARCDCore.H"
#include "IFstream.H"
#include "Fstream.H"
#include "Ostream.H"
#include "OFstream.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -24,9 +24,8 @@ License
\*---------------------------------------------------------------------------*/
#include "VTKedgeFormat.H"
#include "OFstream.H"
#include "Fstream.H"
#include "clock.H"
#include "IFstream.H"
#include "vtkUnstructuredReader.H"
#include "Time.H"

View File

@ -30,8 +30,7 @@ License
#include "treeDataPoint.H"
#include "meshTools.H"
#include "linePointRef.H"
#include "OFstream.H"
#include "IFstream.H"
#include "Fstream.H"
#include "unitConversion.H"
#include "EdgeMap.H"

View File

@ -24,8 +24,7 @@ License
\*---------------------------------------------------------------------------*/
#include "IOmanip.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "OSspecific.H"
#include "ensightPartFaces.H"
#include "ensightSerialOutput.H"

View File

@ -26,8 +26,7 @@ License
#include "MeshedSurface.H"
#include "UnsortedMeshedSurface.H"
#include "MeshedSurfaceProxy.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "Time.H"
#include "ListOps.H"
#include "polyBoundaryMesh.H"

View File

@ -35,9 +35,8 @@ SourceFiles
#ifndef AC3DsurfaceFormatCore_H
#define AC3DsurfaceFormatCore_H
#include "IFstream.H"
#include "Fstream.H"
#include "Ostream.H"
#include "OFstream.H"
#include "MeshedSurface.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -26,9 +26,8 @@ License
#include "GTSsurfaceFormat.H"
#include "surfaceFormatsCore.H"
#include "clock.H"
#include "IFstream.H"
#include "Fstream.H"
#include "StringStream.H"
#include "OFstream.H"
#include "faceTraits.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

View File

@ -25,9 +25,8 @@ License
#include "OBJsurfaceFormat.H"
#include "clock.H"
#include "IFstream.H"
#include "Fstream.H"
#include "StringStream.H"
#include "OFstream.H"
#include "ListOps.H"
#include "faceTraits.H"

View File

@ -25,10 +25,9 @@ License
#include "OFFsurfaceFormat.H"
#include "clock.H"
#include "IFstream.H"
#include "Fstream.H"
#include "StringStream.H"
#include "faceTraits.H"
#include "OFstream.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

View File

@ -35,9 +35,8 @@ SourceFiles
#ifndef STARCDsurfaceFormatCore_H
#define STARCDsurfaceFormatCore_H
#include "IFstream.H"
#include "Fstream.H"
#include "Ostream.H"
#include "OFstream.H"
#include "MeshedSurface.H"
#include "STARCDCore.H"

View File

@ -27,8 +27,7 @@ License
#include "Time.H"
#include "ListOps.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "surfMesh.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

View File

@ -25,8 +25,7 @@ License
#include "triSurface.H"
#include "demandDrivenData.H"
#include "IFstream.H"
#include "OFstream.H"
#include "Fstream.H"
#include "Time.H"
#include "boundBox.H"
#include "SortableList.H"