00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef transformField_H
00037 #define transformField_H
00038
00039 #include "transform.H"
00040 #include "tensorField.H"
00041
00042
00043
00044 namespace Foam
00045 {
00046
00047
00048
00049 template<class Type>
00050 void transform(Field<Type>&, const tensorField&, const Field<Type>&);
00051
00052 template<class Type>
00053 tmp<Field<Type> > transform(const tensorField&, const Field<Type>&);
00054
00055 template<class Type>
00056 tmp<Field<Type> > transform(const tensorField&, const tmp<Field<Type> >&);
00057
00058 template<class Type>
00059 tmp<Field<Type> > transform(const tmp<tensorField>&, const Field<Type>&);
00060
00061 template<class Type>
00062 tmp<Field<Type> > transform(const tmp<tensorField>&, const tmp<Field<Type> >&);
00063
00064
00065 template<class Type>
00066 void transform(Field<Type>&, const tensor&, const Field<Type>&);
00067
00068 template<class Type>
00069 tmp<Field<Type> > transform(const tensor&, const Field<Type>&);
00070
00071 template<class Type>
00072 tmp<Field<Type> > transform(const tensor&, const tmp<Field<Type> >&);
00073
00074
00075 template<class Type1, class Type2>
00076 tmp<Field<Type1> > transformFieldMask(const Field<Type2>&);
00077
00078 template<class Type1, class Type2>
00079 tmp<Field<Type1> > transformFieldMask(const tmp<Field<Type2> >&);
00080
00081
00082 template<>
00083 tmp<Field<symmTensor> > transformFieldMask<symmTensor>
00084 (
00085 const tensorField&
00086 );
00087
00088 template<>
00089 tmp<Field<symmTensor> > transformFieldMask<symmTensor>
00090 (
00091 const tmp<tensorField>&
00092 );
00093
00094
00095 template<>
00096 tmp<Field<sphericalTensor> > transformFieldMask<sphericalTensor>
00097 (
00098 const tensorField&
00099 );
00100
00101 template<>
00102 tmp<Field<sphericalTensor> > transformFieldMask<sphericalTensor>
00103 (
00104 const tmp<tensorField>&
00105 );
00106
00107
00108
00109
00110 }
00111
00112
00113
00114 #ifdef NoRepository
00115 # include "transformField.C"
00116 #endif
00117
00118
00119
00120 #endif
00121
00122
Copyright © 2000-2007 OpenCFD Ltd