1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2005-2010 Tommaso Lucchini
7 -------------------------------------------------------------------------------
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
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
28 \*---------------------------------------------------------------------------*/
33 inline const enginePiston& thoboisSliding::piston() const
39 inline const thoboisSlidingValveBank& thoboisSliding::valves() const
44 inline const scalar& thoboisSliding::deformSwitch() const
49 inline const scalar& thoboisSliding::delta() const
54 inline const scalar& thoboisSliding::offSet() const
60 inline const scalar& thoboisSliding::valveTopTol() const
66 inline const scalar& thoboisSliding::pistonPosition() const
68 return pistonPosition_;
71 inline scalar& thoboisSliding::pistonPosition()
73 return pistonPosition_;
76 inline const scalar& thoboisSliding::virtualPistonPosition() const
78 return virtualPistonPosition_;
81 inline scalar& thoboisSliding::virtualPistonPosition()
83 return virtualPistonPosition_;
87 inline const scalarField& thoboisSliding::valveTopPosition() const
89 return valveTopPosition_;
92 inline scalarField& thoboisSliding::valveTopPosition()
94 return valveTopPosition_;
98 inline const scalarField& thoboisSliding::valveBottomPosition() const
100 return valveBottomPosition_;
103 inline scalarField& thoboisSliding::valveBottomPosition()
105 return valveBottomPosition_;
108 inline const scalarField& thoboisSliding::valvePistonPosition() const
110 return valvePistonPosition_;
113 inline scalarField& thoboisSliding::valvePistonPosition()
115 return valvePistonPosition_;
118 inline const scalar& thoboisSliding::deckHeight() const
123 inline scalar& thoboisSliding::deckHeight()
128 inline const scalarField& thoboisSliding::minValveZ() const
133 inline scalarField& thoboisSliding::maxValveZ()
138 inline const scalar& thoboisSliding::poppetValveTol() const
140 return poppetValveTol_;
143 inline boolList& thoboisSliding::isReallyClosed()
145 return isReallyClosed_;
148 inline const boolList& thoboisSliding::isReallyClosed() const
150 return isReallyClosed_;
152 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
154 } // End namespace Foam
156 // ************************************************************************* //