mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: codedFunctionObject: add timeSet functionality
This commit is contained in:
@ -183,10 +183,6 @@ void Foam::distributedTriSurfaceMesh::distributeSegment
|
||||
List<DynamicList<label> >& sendMap
|
||||
) const
|
||||
{
|
||||
// Work points
|
||||
point clipPt;
|
||||
|
||||
|
||||
// 1. Fully local already handled outside. Note: retest is cheap.
|
||||
if (isLocal(procBb_[Pstream::myProcNo()], start, end))
|
||||
{
|
||||
@ -227,6 +223,9 @@ void Foam::distributedTriSurfaceMesh::distributeSegment
|
||||
// Scheme a: any processor that intersects the segment gets
|
||||
// the segment.
|
||||
|
||||
// Intersection point
|
||||
point clipPt;
|
||||
|
||||
if (bb.intersects(start, end, clipPt))
|
||||
{
|
||||
sendMap[procI].append(allSegments.size());
|
||||
|
||||
Reference in New Issue
Block a user