symmTransformField.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) 2011-2016 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
26Typedef
27 Foam::symmTransformField
28
29Description
30 Spatial transformation functions for primitive fields.
31
32SourceFiles
33 symmTransformField.C
34
35\*---------------------------------------------------------------------------*/
36
37#ifndef symmTransformField_H
38#define symmTransformField_H
39
40#include "symmTransform.H"
41#include "symmTensorField.H"
42#include "sphericalTensor.H"
43
44// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46namespace Foam
47{
48
49// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50
51template<class Type>
52void transform(Field<Type>&, const symmTensorField&, const Field<Type>&);
53
54template<class Type>
55tmp<Field<Type>> transform(const symmTensorField&, const Field<Type>&);
56
57template<class Type>
58tmp<Field<Type>> transform(const symmTensorField&, const tmp<Field<Type>>&);
59
60template<class Type>
61tmp<Field<Type>> transform(const tmp<symmTensorField>&, const Field<Type>&);
62
63template<class Type>
64tmp<Field<Type>> transform
65(
66 const tmp<symmTensorField>&,
67 const tmp<Field<Type>>&
68);
69
70
71template<class Type>
72void transform(Field<Type>&, const tensor&, const Field<Type>&);
73
74template<class Type>
76
77template<class Type>
79
80
81template<>
83(
84 const symmTensorField&
85);
86
87template<>
89(
91);
92
93
94template<>
96(
97 const symmTensorField&
98);
99
100template<>
102(
104);
105
106
107template<>
109(
110 const symmTensorField&
111);
112
113template<>
115(
117);
118
119
120// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121
122} // End namespace Foam
123
124// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125
126#ifdef NoRepository
127 #include "symmTransformField.C"
128#endif
129
130// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
131
132#endif
133
134// ************************************************************************* //
Generic templated field type.
Definition: Field.H:82
Tensor of scalars, i.e. Tensor<scalar>.
A class for managing temporary objects.
Definition: tmp.H:65
Namespace for OpenFOAM.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
Definition: dimensionSet.C:536
tmp< Field< sphericalTensor > > transformFieldMask< sphericalTensor >(const tensorField &tf)
tmp< Field< symmTensor > > transformFieldMask< symmTensor >(const tensorField &tf)
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
tmp< Field< tensor > > transformFieldMask< tensor >(const symmTensorField &)
Definition: tensorField.C:131
3D symmetric tensor transformation operations.