INT: Updated dependent code following latest set of integrations

This commit is contained in:
Andrew Heather
2017-09-06 16:05:12 +01:00
parent d8d6030ab6
commit fb20bc107e
31 changed files with 228 additions and 97 deletions

View File

@ -68,7 +68,6 @@ Foam::direction Foam::edgeStats::getNormalDir
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct from mesh
Foam::edgeStats::edgeStats(const polyMesh& mesh)
:
mesh_(mesh),
@ -144,7 +143,7 @@ Foam::scalar Foam::edgeStats::minLen(Ostream& os) const
const edgeList& edges = mesh_.edges();
forAll(const edge& e : edges)
for (const edge& e : edges)
{
vector eVec(e.vec(mesh_.points()));
@ -208,5 +207,4 @@ Foam::scalar Foam::edgeStats::minLen(Ostream& os) const
}
// ************************************************************************* //

View File

@ -61,7 +61,7 @@ inline bool writeMeshObject
bool writeOk = false;
if (io.typeHeaderOk<T>(true, true, false))
if (io.typeHeaderOk<CheckType>(true, true, false))
{
Info<< " Reading " << io.headerClassName()
<< " : " << name << endl;

View File

@ -451,6 +451,8 @@ int main(int argc, char *argv[])
fileOperations::collatedFileOperation::maxThreadFileBufferSize;
fileOperations::collatedFileOperation::maxThreadFileBufferSize = 0;
mesh.decomposeMesh();
mesh.writeDecomposition(decomposeSets);
if (writeCellDist)

View File

@ -231,6 +231,7 @@ Foam::parLagrangianRedistributor::redistributeLagrangianPositions
)
{
passiveParticle& newp = newpIter();
newp.relocate();
lagrangianPositions.addParticle(newParticles.remove(&newp));
}

View File

@ -92,7 +92,8 @@ public:
(
IOstream::streamFormat fmt,
IOstream::versionNumber ver,
IOstream::compressionType cmp
IOstream::compressionType cmp,
const bool valid
) const
{
return true;

View File

@ -58,7 +58,7 @@ public:
explicit zonesEntries(const IOobject& io)
:
regIOobject(io),
PtrList<entry>(readStream("regIOobject"))
PtrList<entry>(readStream(word("regIOobject")))
{
close();
}

View File

@ -199,7 +199,8 @@ void createFieldFiles
(
IOstream::ASCII,
IOstream::currentVersion,
IOstream::UNCOMPRESSED
IOstream::UNCOMPRESSED,
true
);
}
}