1 if (piston().patchID().active())
3 // Add faces for piston layering
4 faceSet pistonFaceSet(*this, piston().pistonFaceSetName());
6 boolList flipPistonFaces(pistonFaceSet.toc().size(), false);
7 // label nSet = pistonFaceSet.size();
8 label nSet = pistonFaceSet.toc().size();
11 forAll (flipPistonFaces, facei)
14 (faceAreas()[pistonFaceSet.toc()[facei]] & vector(0, 0, 1));
18 flipPistonFaces[facei] = true;
23 Info << "nSet = " << nSet << endl;
24 Info << "nFlip = " << nFlip << endl;
40 pointSet movingPistonPoints(*this, piston().pistonPointSetName());
47 movingPistonPoints.toc(),