decomposePar: Corrected construction of cloud for processors

Resolves bug-report http://bugs.openfoam.org/view.php?id=2239
This commit is contained in:
Henry Weller
2016-09-21 17:19:58 +01:00
parent ee3cf86008
commit a27eb13ad6
12 changed files with 23 additions and 79 deletions

View File

@ -60,7 +60,12 @@ void Foam::functionObjects::nearWallFields::calcAddressing()
DebugInFunction << "nPatchFaces: " << globalWalls.size() << endl;
// Construct cloud
Cloud<findCellParticle> cloud(mesh_, IDLList<findCellParticle>());
Cloud<findCellParticle> cloud
(
mesh_,
cloud::defaultName,
IDLList<findCellParticle>()
);
// Add particles to track to sample locations
nPatchFaces = 0;