Fix tutorials: typo in tutorials/viscoelastic/viscoelasticFluidFoam/S-MDCPP/constant...
[OpenFOAM-1.6-ext.git] / src / engine / engineTopoChangerMesh / noEngineMesh / noEngineMesh.H
blobf050419bfc1555d0bc4100d2547fd57b5573531c
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright held by original author
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
11     OpenFOAM is free software; you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation; either version 2 of the License, or (at your
14     option) any later version.
16     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM; if not, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 Class
26     Foam::noEngineMesh
28 Description
29     Dummy engine mesh
31 Author
32     Tommaso Lucchini, Politecnico di Milano.
34 SourceFiles
35     noEngineMesh.C
37 \*---------------------------------------------------------------------------*/
39 #ifndef noEngineMesh_H
40 #define noEngineMesh_H
42 #include "engineTopoChangerMesh.H"
43 #include "simpleEnginePiston.H"
44 #include "motionSolver.H"
45 #include "polyPatchID.H"
46 #include "polyMesh.H"
47 #include "volPointInterpolation.H"
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 namespace Foam
54 /*---------------------------------------------------------------------------*\
55                            Class noEngineMesh Declaration
56 \*---------------------------------------------------------------------------*/
58 class noEngineMesh
60     public engineTopoChangerMesh
62     // Private Member Functions
64         //- Disallow default bitwise copy construct
65         noEngineMesh(const noEngineMesh&);
67         //- Disallow default bitwise assignment
68         void operator=(const noEngineMesh&);
71 public:
73     //- Runtime type information
74     TypeName("noEngineMesh");
77     // Constructors
79         //- Construct from database
80         explicit noEngineMesh(const IOobject& io);
83     // Destructor
85         virtual ~noEngineMesh();
87     // Member Functions
90         //- Move and morph
91         virtual bool update()
92         {
93             return false;
94         }
96         //- Set boundary velocities
97         void setBoundaryVelocity(volVectorField& U){};
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 } // End namespace Foam
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 #endif
110 // ************************************************************************* //