particle: Removed polyMesh reference
This reference represents unnecessary storage. The mesh can be obtained from tracking data or passed to the particle evolution functions by argument. In addition, removing the mesh reference makes it possible to construct as particle from an Istream without the need for an iNew class. This simplifies stream-based transfer, and makes it possible for particles to be communicated by a polyDistributionMap.
This commit is contained in:
@ -70,7 +70,7 @@ void Foam::reconstructLagrangianPositions
|
||||
ppi.coordinates(),
|
||||
mappedCell,
|
||||
mappedTetFace,
|
||||
ppi.procTetPt(mesh, mappedCell, mappedTetFace)
|
||||
ppi.procTetPt(meshes[i], mesh, mappedCell, mappedTetFace)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user