36 Foam::surfacePatchIOList::surfacePatchIOList
45 "surfacePatchIOList::surfacePatchIOList"
46 "(const IOobject& io)";
49 if (readOpt() == IOobject::MUST_READ)
54 Istream& is = readStream(typeName);
63 const dictionary& dict = patchEntries[patchI].dict();
65 label patchSize = readLabel(dict.
lookup(
"nFaces"));
66 label startFaceI = readLabel(dict.
lookup(
"startFace"));
72 patchEntries[patchI].keyword(),
79 if (startFaceI != faceI)
82 <<
"Patches are not ordered. Start of patch " << patchI
83 <<
" does not correspond to sum of preceding patches."
93 is.
check(functionName.c_str());
100 Foam::surfacePatchIOList::surfacePatchIOList
136 patches[patchI].writeDict(os);