Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / src / postProcessing / functionObjects / forces / pointPatchFields / derived / sixDoFRigidBodyMotion / sixDoFRigidBodyMotionStateI.H
blob24a0330aeec08e3be12da0ff2b23a7a2100a4451
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2009-2010 OpenCFD Ltd.
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
13     the Free Software Foundation, either version 3 of the License, or
14     (at your 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, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
28 // * * * * * * * * * * * * * * * Member Functions  * * * * * * * * * * * * * //
29 inline const Foam::point& Foam::sixDoFRigidBodyMotionState::centreOfMass() const
31     return centreOfMass_;
35 inline const Foam::tensor& Foam::sixDoFRigidBodyMotionState::Q() const
37     return Q_;
41 inline const Foam::vector& Foam::sixDoFRigidBodyMotionState::v() const
43     return v_;
47 inline const Foam::vector& Foam::sixDoFRigidBodyMotionState::a() const
49     return a_;
53 inline const Foam::vector& Foam::sixDoFRigidBodyMotionState::pi() const
55     return pi_;
59 inline const Foam::vector& Foam::sixDoFRigidBodyMotionState::tau() const
61     return tau_;
65 inline Foam::point& Foam::sixDoFRigidBodyMotionState::centreOfMass()
67     return centreOfMass_;
71 inline Foam::tensor& Foam::sixDoFRigidBodyMotionState::Q()
73     return Q_;
77 inline Foam::vector& Foam::sixDoFRigidBodyMotionState::v()
79     return v_;
83 inline Foam::vector& Foam::sixDoFRigidBodyMotionState::a()
85     return a_;
89 inline Foam::vector& Foam::sixDoFRigidBodyMotionState::pi()
91     return pi_;
95 inline Foam::vector& Foam::sixDoFRigidBodyMotionState::tau()
97     return tau_;
101 // ************************************************************************* //