62 procMeshes_[procI].time().timeName(),
81 labelList gStarts(mesh_.boundary().size(), -1);
83 if (mesh_.boundary().size() > 0)
85 gStarts[0] = mesh_.nInternalEdges();
88 for(label i=1; i<mesh_.boundary().size(); i++)
90 gStarts[i] = gStarts[i-1] + mesh_.boundary()[i-1].labelList::size();
102 faceProcAddressing_[procI]
111 if(procMeshes_[procI].
boundary().size() > 0)
113 starts[0] = procMeshes_[procI].nInternalEdges();
116 for(label i=1; i<procMeshes_[procI].boundary().size(); i++)
120 + procMeshes_[procI].boundary()[i-1].labelList::size();
123 forAll(boundaryProcAddressing_[procI], patchI)
126 const label curBPatch = boundaryProcAddressing_[procI][patchI];
139 edgeProcAddressing_[procI],
140 procMeshes_[procI].
boundary()[patchI].size(),
149 if (!patchFields(curBPatch))
157 mesh_.boundary()[curBPatch],
161 mesh_.boundary()[curBPatch].size(),
168 const label curPatchStart = gStarts[curBPatch];
178 reverseAddressing[edgeI] =
cp[edgeI] - curPatchStart;
181 patchFields[curBPatch].rmap
199 label curE =
cp[edgeI];
202 if (curE >= mesh_.nInternalEdges())
205 label curBPatch = -1;
207 forAll(mesh_.boundary(), pI)
215 + mesh_.boundary()[pI].labelList::size()
223 if (!patchFields(curBPatch))
230 mesh_.boundary()[curBPatch].type(),
231 mesh_.boundary()[curBPatch],
242 label curPatchEdge = curE - gStarts[curBPatch];
244 patchFields[curBPatch][curPatchEdge] =
252 forAll(mesh_.boundary(), patchI)
257 isA<emptyFaPatch>(mesh_.boundary()[patchI])
258 && !patchFields(patchI)
267 mesh_.boundary()[patchI],
281 fieldIoObject.
name(),
282 mesh_.time().timeName(),
288 procFields[0].dimensions(),
308 forAll(procMeshes_, procI)
317 fieldIoObject.
name(),
318 procMeshes_[procI].time().timeName(),
319 procMeshes_[procI](),
336 labelList gStarts(mesh_.boundary().size(), -1);
338 if(mesh_.boundary().size() > 0)
340 gStarts[0] = mesh_.nInternalEdges();
343 for(label i=1; i<mesh_.boundary().size(); i++)
345 gStarts[i] = gStarts[i-1] + mesh_.boundary()[i-1].labelList::size();
349 forAll(procMeshes_, procI)
360 labelList curAddr(edgeProcAddressing_[procI]);
378 if(procMeshes_[procI].
boundary().size() > 0)
380 starts[0] = procMeshes_[procI].nInternalEdges();
383 for(label i=1; i<procMeshes_[procI].boundary().size(); i++)
387 + procMeshes_[procI].boundary()[i-1].labelList::size();
390 forAll(boundaryProcAddressing_[procI], patchI)
393 const label curBPatch = boundaryProcAddressing_[procI][patchI];
406 edgeProcAddressing_[procI],
407 procMeshes_[procI].
boundary()[patchI].size(),
416 if (!patchFields(curBPatch))
424 mesh_.boundary()[curBPatch],
428 mesh_.boundary()[curBPatch].size(),
435 const label curPatchStart = gStarts[curBPatch];
445 reverseAddressing[edgeI] =
cp[edgeI] - curPatchStart;
448 patchFields[curBPatch].rmap
464 label curE =
cp[edgeI];
470 if (curE >= mesh_.nInternalEdges())
475 label curBPatch = -1;
477 forAll(mesh_.boundary(), pI)
485 + mesh_.boundary()[pI].labelList::size()
493 if (!patchFields(curBPatch))
500 mesh_.boundary()[curBPatch].type(),
501 mesh_.boundary()[curBPatch],
513 label curPatchEdge = curE - gStarts[curBPatch];
515 patchFields[curBPatch][curPatchEdge] =
521 internalField[curE] = curProcPatch[edgeI];
529 forAll(mesh_.boundary(), patchI)
534 isA<emptyFaPatch>(mesh_.boundary()[patchI])
535 && !patchFields(patchI)
544 mesh_.boundary()[patchI],
558 fieldIoObject.
name(),
559 mesh_.time().timeName(),
565 procFields[0].dimensions(),
579 const word& clsName =
586 Info<<
" Reconstructing " << clsName <<
"s\n" <<
endl;
592 reconstructFaAreaField<Type>(*(objects[fieldName]))().
write();
606 const word& clsName =
613 Info<<
" Reconstructing " << clsName <<
"s\n" <<
endl;
620 reconstructFaEdgeField<Type>(*(objects[fieldName]))().
write();