initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / OpenFOAM / fields / Fields / symmTransformField / symmTransformField.H
blobba223f7aebce6dc18db3dd3f0563d65bbfbd6a07
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2009 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 the
13     Free Software Foundation; either version 2 of the License, or (at your
14     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, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 Typedef
26     Foam::symmTransformField
28 Description
29     Spatial transformation functions for primitive fields.
31 SourceFiles
32     symmTransformField.C
34 \*---------------------------------------------------------------------------*/
36 #ifndef symmTransformField_H
37 #define symmTransformField_H
39 #include "symmTransform.H"
40 #include "symmTensorField.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 namespace Foam
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 template<class Type>
50 void transform(Field<Type>&, const symmTensorField&, const Field<Type>&);
52 template<class Type>
53 tmp<Field<Type> > transform(const symmTensorField&, const Field<Type>&);
55 template<class Type>
56 tmp<Field<Type> > transform(const symmTensorField&, const tmp<Field<Type> >&);
58 template<class Type>
59 tmp<Field<Type> > transform(const tmp<symmTensorField>&, const Field<Type>&);
61 template<class Type>
62 tmp<Field<Type> > transform(const tmp<symmTensorField>&, const tmp<Field<Type> >&);
65 template<class Type>
66 void transform(Field<Type>&, const tensor&, const Field<Type>&);
68 template<class Type>
69 tmp<Field<Type> > transform(const tensor&, const Field<Type>&);
71 template<class Type>
72 tmp<Field<Type> > transform(const tensor&, const tmp<Field<Type> >&);
75 template<>
76 tmp<Field<sphericalTensor> > transformFieldMask<sphericalTensor>
78     const symmTensorField&
81 template<>
82 tmp<Field<sphericalTensor> > transformFieldMask<sphericalTensor>
84     const tmp<symmTensorField>&
88 template<>
89 tmp<Field<symmTensor> > transformFieldMask<symmTensor>
91     const symmTensorField&
94 template<>
95 tmp<Field<symmTensor> > transformFieldMask<symmTensor>
97     const tmp<symmTensorField>&
101 template<>
102 tmp<Field<tensor> > transformFieldMask<tensor>
104     const symmTensorField&
107 template<>
108 tmp<Field<tensor> > transformFieldMask<tensor>
110     const tmp<symmTensorField>&
114 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
116 } // End namespace Foam
118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 #ifdef NoRepository
121 #   include "symmTransformField.C"
122 #endif
124 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126 #endif
128 // ************************************************************************* //