Updates to faMesh
Initialisation of communicator for parallel runs + minor formatting
This commit is contained in:
parent
0249319d5e
commit
84fd718786
2 changed files with 3 additions and 4 deletions
|
@ -262,7 +262,7 @@ Foam::faMesh::faMesh(const polyMesh& pMesh)
|
|||
// Calculate the geometry for the patches (transformation tensors etc.)
|
||||
boundary_.calcGeometry();
|
||||
|
||||
if (isFile(pMesh.time().timePath()/pMesh.dbDir()/"S0"))
|
||||
if (isFile(pMesh.time().timePath()/"S0"))
|
||||
{
|
||||
S0Ptr_ = new DimensionedField<scalar, areaMesh>
|
||||
(
|
||||
|
@ -811,7 +811,7 @@ Foam::faMesh::faMesh
|
|||
// Calculate the geometry for the patches (transformation tensors etc.)
|
||||
boundary_.calcGeometry();
|
||||
|
||||
if (isFile(mesh().time().timePath()/mesh().dbDir()/"S0"))
|
||||
if (isFile(mesh().time().timePath()/"S0"))
|
||||
{
|
||||
S0Ptr_ = new DimensionedField<scalar, areaMesh>
|
||||
(
|
||||
|
@ -1292,7 +1292,7 @@ bool Foam::faMesh::movePoints() const
|
|||
if (debug)
|
||||
{
|
||||
InfoIn("bool faMesh::movePoints() const")
|
||||
<< "Creating old cell volumes." << endl;
|
||||
<< "Creating old face areas." << endl;
|
||||
}
|
||||
|
||||
S0Ptr_ = new DimensionedField<scalar, areaMesh>
|
||||
|
|
|
@ -237,7 +237,6 @@ void Foam::faMesh::mapOldAreas(const faMeshMapper& mapper) const
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue