mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
INT: Updated dependent code following latest set of integrations
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -451,6 +451,8 @@ int main(int argc, char *argv[])
|
||||
fileOperations::collatedFileOperation::maxThreadFileBufferSize;
|
||||
fileOperations::collatedFileOperation::maxThreadFileBufferSize = 0;
|
||||
|
||||
mesh.decomposeMesh();
|
||||
|
||||
mesh.writeDecomposition(decomposeSets);
|
||||
|
||||
if (writeCellDist)
|
||||
|
||||
@ -231,6 +231,7 @@ Foam::parLagrangianRedistributor::redistributeLagrangianPositions
|
||||
)
|
||||
{
|
||||
passiveParticle& newp = newpIter();
|
||||
newp.relocate();
|
||||
|
||||
lagrangianPositions.addParticle(newParticles.remove(&newp));
|
||||
}
|
||||
|
||||
@ -92,7 +92,8 @@ public:
|
||||
(
|
||||
IOstream::streamFormat fmt,
|
||||
IOstream::versionNumber ver,
|
||||
IOstream::compressionType cmp
|
||||
IOstream::compressionType cmp,
|
||||
const bool valid
|
||||
) const
|
||||
{
|
||||
return true;
|
||||
|
||||
@ -58,7 +58,7 @@ public:
|
||||
explicit zonesEntries(const IOobject& io)
|
||||
:
|
||||
regIOobject(io),
|
||||
PtrList<entry>(readStream("regIOobject"))
|
||||
PtrList<entry>(readStream(word("regIOobject")))
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
||||
@ -199,7 +199,8 @@ void createFieldFiles
|
||||
(
|
||||
IOstream::ASCII,
|
||||
IOstream::currentVersion,
|
||||
IOstream::UNCOMPRESSED
|
||||
IOstream::UNCOMPRESSED,
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user