mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -25,7 +25,6 @@ License
|
|||||||
|
|
||||||
#include "cloud.H"
|
#include "cloud.H"
|
||||||
#include "Time.H"
|
#include "Time.H"
|
||||||
#include "polyMesh.H"
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -50,20 +49,7 @@ Foam::cloud::cloud(const objectRegistry& obr, const word& cloudName)
|
|||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{
|
{}
|
||||||
if (isA<polyMesh>(obr))
|
|
||||||
{
|
|
||||||
if (debug)
|
|
||||||
{
|
|
||||||
Pout<< "cloud: Initialising polyMesh nGeometricD" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
// initialise mesh dimensions - needed for parallel runs
|
|
||||||
// due to lazy evaluation of valid mesh dimensions
|
|
||||||
const polyMesh& mesh = dynamic_cast<const polyMesh&>(obr);
|
|
||||||
const_cast<polyMesh&>(mesh).nGeometricD();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -309,6 +309,9 @@ Foam::polyMesh::polyMesh(const IOobject& io)
|
|||||||
WarningIn("polyMesh(const IOobject&)")
|
WarningIn("polyMesh(const IOobject&)")
|
||||||
<< "no cells in mesh" << endl;
|
<< "no cells in mesh" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Initialise demand-driven data
|
||||||
|
calcDirections();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user