// All rays expressed as start face (local) index end end face (global) // Pre-size by assuming a certain percentage is visible. // Maximum lenght for dynamicList const label maxDynListLength = 10000; for (label procI = 0; procI < Pstream::nProcs(); procI++) { // Shoot rays from me to procI. Note that even if processor has // 0 faces we still need to call findLine to keep calls synced. DynamicField start(coarseMesh.nFaces()); DynamicField end(start.size()); DynamicList