transformGeometricField.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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.
20 
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/>.
23 
24 InClass
25  Foam::transformGeometricField
26 
27 Description
28  Spatial transformation functions for FieldFields.
29 
30 SourceFiles
31  transformGeometricField.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef transformGeometricField_H
36 #define transformGeometricField_H
37 
38 #include "transform.H"
39 #include "GeometricField.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 
48 template<class Type, template<class> class PatchField, class GeoMesh>
49 void transform
50 (
51  GeometricField<Type, PatchField, GeoMesh>&,
52  const GeometricField<tensor, PatchField, GeoMesh>&,
53  const GeometricField<Type, PatchField, GeoMesh>&
54 );
55 
56 template<class Type, template<class> class PatchField, class GeoMesh>
57 tmp<GeometricField<Type, PatchField, GeoMesh>> transform
58 (
59  const GeometricField<tensor, PatchField, GeoMesh>&,
60  const GeometricField<Type, PatchField, GeoMesh>&
61 );
62 
63 template<class Type, template<class> class PatchField, class GeoMesh>
64 tmp<GeometricField<Type, PatchField, GeoMesh>> transform
65 (
66  const GeometricField<tensor, PatchField, GeoMesh>&,
67  const tmp<GeometricField<Type, PatchField, GeoMesh>>&
68 );
69 
70 template<class Type, template<class> class PatchField, class GeoMesh>
71 tmp<GeometricField<Type, PatchField, GeoMesh>> transform
72 (
73  const tmp<GeometricField<tensor, PatchField, GeoMesh>>&,
74  const GeometricField<Type, PatchField, GeoMesh>&
75 );
76 
77 template<class Type, template<class> class PatchField, class GeoMesh>
78 tmp<GeometricField<Type, PatchField, GeoMesh>> transform
79 (
80  const tmp<GeometricField<tensor, PatchField, GeoMesh>>&,
81  const tmp<GeometricField<Type, PatchField, GeoMesh>>&
82 );
83 
84 
85 template<class Type, template<class> class PatchField, class GeoMesh>
86 void transform
87 (
88  GeometricField<Type, PatchField, GeoMesh>&,
89  const dimensionedTensor&,
90  const GeometricField<Type, PatchField, GeoMesh>&
91 );
92 
93 template<class Type, template<class> class PatchField, class GeoMesh>
94 tmp<GeometricField<Type, PatchField, GeoMesh>> transform
95 (
96  const dimensionedTensor&,
97  const GeometricField<Type, PatchField, GeoMesh>&
98 );
99 
100 template<class Type, template<class> class PatchField, class GeoMesh>
101 tmp<GeometricField<Type, PatchField, GeoMesh>> transform
102 (
103  const dimensionedTensor&,
104  const tmp<GeometricField<Type, PatchField, GeoMesh>>&
105 );
106 
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #ifdef NoRepository
115  #include "transformGeometricField.C"
116 #endif
117 
118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119 
120 #endif
121 
122 // ************************************************************************* //
Spatial transformation functions for FieldFields.
3D tensor transformation operations.
dimensioned< tensor > dimensionedTensor
Dimensioned tensor obtained from generic dimensioned type.
Namespace for OpenFOAM.
dimensionSet transform(const dimensionSet &)
Definition: dimensionSet.C:477