motionSmootherData.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2013 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Class
27 Foam::motionSmootherData
28
29Description
30
31SourceFiles
32 motionSmootherData.C
33
34\*---------------------------------------------------------------------------*/
35
36#ifndef motionSmootherData_H
37#define motionSmootherData_H
38
39#include "pointFields.H"
40
41// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43namespace Foam
44{
45
46/*---------------------------------------------------------------------------*\
47 Class motionSmootherData Declaration
48\*---------------------------------------------------------------------------*/
51{
52protected:
53
54 // Private data
55
56 //- Displacement field
58
59 //- Scale factor for displacement
61
62 //- Starting mesh position
64
65
66public:
67
68 // Constructors
69
70 //- Construct read
71 explicit motionSmootherData(const pointMesh& pMesh);
72
73 //- Construct from pointDisplacement
75
76
77 // Member Functions
78
79 //- Reference to displacement field
81
82 //- Reference to displacement field
83 const pointVectorField& displacement() const;
84
85 //- Reference to scale field
86 const pointScalarField& scale() const;
87
88 //- Starting mesh position
89 const pointField& oldPoints() const;
90
91};
92
93
94// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95
96} // End namespace Foam
97
98// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99
100#endif
101
102// ************************************************************************* //
pointVectorField & displacement()
Reference to displacement field.
pointField oldPoints_
Starting mesh position.
const pointScalarField & scale() const
Reference to scale field.
pointScalarField scale_
Scale factor for displacement.
const pointField & oldPoints() const
Starting mesh position.
pointVectorField displacement_
Displacement field.
Mesh representing a set of points created from polyMesh.
Definition: pointMesh.H:55
Namespace for OpenFOAM.