38 #ifndef GeometricTensorField_H
39 #define GeometricTensorField_H
45 #define TEMPLATE template<template<class> class PatchField, class GeoMesh>
56 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
59 GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>& result,
60 const GeometricField<Cmpt, PatchField, GeoMesh>& xx,
61 const GeometricField<Cmpt, PatchField, GeoMesh>& xy,
62 const GeometricField<Cmpt, PatchField, GeoMesh>& xz,
63 const GeometricField<Cmpt, PatchField, GeoMesh>& yx,
64 const GeometricField<Cmpt, PatchField, GeoMesh>& yy,
65 const GeometricField<Cmpt, PatchField, GeoMesh>& yz,
66 const GeometricField<Cmpt, PatchField, GeoMesh>& zx,
67 const GeometricField<Cmpt, PatchField, GeoMesh>& zy,
68 const GeometricField<Cmpt, PatchField, GeoMesh>& zz
72 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
75 const GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>&
input,
76 GeometricField<Cmpt, PatchField, GeoMesh>& xx,
77 GeometricField<Cmpt, PatchField, GeoMesh>& xy,
78 GeometricField<Cmpt, PatchField, GeoMesh>& xz,
79 GeometricField<Cmpt, PatchField, GeoMesh>& yx,
80 GeometricField<Cmpt, PatchField, GeoMesh>& yy,
81 GeometricField<Cmpt, PatchField, GeoMesh>& yz,
82 GeometricField<Cmpt, PatchField, GeoMesh>& zx,
83 GeometricField<Cmpt, PatchField, GeoMesh>& zy,
84 GeometricField<Cmpt, PatchField, GeoMesh>& zz
90 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
93 GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>& result,
94 const GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
x,
95 const GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
y,
96 const GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& z
100 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
103 GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>& result,
104 const GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
x,
105 const GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
y,
106 const GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& z
110 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
113 const GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>&
input,
114 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
x,
115 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
y,
116 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& z
120 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
123 const GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>&
input,
124 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
x,
125 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>&
y,
126 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& z
131 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
134 const GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>&
input,
136 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& result
140 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
143 const GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>&
input,
145 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& result
149 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
152 const GeometricField<Tensor<Cmpt>, PatchField, GeoMesh>&
input,
153 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& result