Fix tutorials: typo in tutorials/viscoelastic/viscoelasticFluidFoam/S-MDCPP/constant...
[OpenFOAM-1.6-ext.git] / src / engine / include / addPistonLayerAdditionRemovalMeshModifier.H
blob9457a597265adf555983cb953270d309e09853d4
1     // Add piston layer addition/removal
2     if (piston().patchID().active())
3     {
5         Info << "Adding a layer addition/removal mesh modifier to the piston" << endl;
6     
7         topoChanger_.setSize(nMods+1);
8          
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++;
23         Info << "pistonLayer" << endl;
24         Info << nMods << endl;            
25     }