All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
transformFieldField.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 InNamespace
25  Foam
26 
27 Description
28  transformFieldField
29  Spatial transformation functions for FieldField.
30 
31 SourceFiles
32  transformFieldField.C
33 
34 \*---------------------------------------------------------------------------*/
35 
36 #ifndef transformFieldField_H
37 #define transformFieldField_H
38 
39 #include "transform.H"
40 #include "tensorFieldField.H"
41 
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 
44 namespace Foam
45 {
46 
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 
49 template<template<class> class Field, class Type>
50 void transform
51 (
52  FieldField<Field, Type>&,
53  const FieldField<Field, tensor>&,
54  const FieldField<Field, Type>&
55 );
56 
57 template<template<class> class Field, class Type>
58 tmp<FieldField<Field, Type>> transform
59 (
60  const FieldField<Field, tensor>&,
61  const FieldField<Field, Type>&
62 );
63 
64 template<template<class> class Field, class Type>
65 tmp<FieldField<Field, Type>> transform
66 (
67  const FieldField<Field, tensor>&,
68  const tmp<FieldField<Field, Type>>&
69 );
70 
71 template<template<class> class Field, class Type>
72 tmp<FieldField<Field, Type>> transform
73 (
74  const tmp<FieldField<Field, tensor>>&,
75  const FieldField<Field, Type>&
76 );
77 
78 template<template<class> class Field, class Type>
79 tmp<FieldField<Field, Type>> transform
80 (
81  const tmp<FieldField<Field, tensor>>&,
82  const tmp<FieldField<Field, Type>>&
83 );
84 
85 
86 template<template<class> class Field, class Type>
87 void transform
88 (
89  FieldField<Field, Type>&,
90  const tensor&,
91  const FieldField<Field, Type>&
92 );
93 
94 template<template<class> class Field, class Type>
95 tmp<FieldField<Field, Type>> transform
96 (
97  const tensor&,
98  const FieldField<Field, Type>&
99 );
100 
101 template<template<class> class Field, class Type>
102 tmp<FieldField<Field, Type>> transform
103 (
104  const tensor&,
105  const tmp<FieldField<Field, Type>>&
106 );
107 
108 
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 
111 } // End namespace Foam
112 
113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114 
115 #ifdef NoRepository
116  #include "transformFieldField.C"
117 #endif
118 
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 
121 #endif
122 
123 // ************************************************************************* //
Specialisation of FieldField<T> for tensor.
Spatial transformation functions for FieldField.
3D tensor transformation operations.
Tensor< scalar > tensor
Tensor of scalars.
Definition: tensor.H:51
Namespace for OpenFOAM.
dimensionSet transform(const dimensionSet &)
Definition: dimensionSet.C:477