Forward compatibility: flex
[foam-extend-3.2.git] / src / engine / include / addPistonLayerAdditionRemovalMeshModifier.H
blob80c8dfa29401fb9e8c8a461abcba0ae282483d82
1     // Add piston layer addition/removal
2     if (piston().patchID().active())
3     {
4         Info<< "Adding a layer addition/removal mesh modifier to the piston"
5             << endl;
7         topoChanger_.setSize(nMods + 1);
9         topoChanger_.set
10         (
11             nMods,
12             new layerAdditionRemoval
13             (
14                 "pistonLayer",
15                 nMods,
16                 topoChanger_,
17                 "pistonLayerFaces",
18                 piston().minLayer(),
19                 piston().maxLayer()
20             )
21         );
22         nMods++;
24         Info << "pistonLayer modifier number " << nMods << endl;
25     }