50 template<
class Type, direction r>
104 #define BINARY_FUNCTION(func) \
106 template<class Type> \
109 pointPatchField<Type>& f, \
110 const pointPatchField<Type>& f1, \
111 const pointPatchField<Type>& f2 \
115 template<class Type> \
118 pointPatchField<Type>& f, \
119 const pointPatchField<Type>& f1, \
132 #define UNARY_OPERATOR(op, opFunc) \
134 template<class Type> \
137 pointPatchField<Type>& f, \
138 const pointPatchField<Type>& f1 \
144 #define BINARY_OPERATOR(Type1, Type2, op, opFunc) \
146 template<class Type> \
149 pointPatchField<Type>& f, \
150 const pointPatchField<Type1>& f1, \
151 const pointPatchField<Type2>& f2 \
159 #define BINARY_TYPE_OPERATOR_SF(TYPE, op, opFunc) \
161 template<class Type> \
164 pointPatchField<Type>& f, \
166 const pointPatchField<Type>& f1 \
171 #define BINARY_TYPE_OPERATOR_FS(TYPE, op, opFunc) \
173 template<class Type> \
176 pointPatchField<Type>& f, \
177 const pointPatchField<Type>& f1, \
188 #define PRODUCT_OPERATOR(product, op, opFunc) \
198 <typename product<Type1, Type2>::type>& f, \
199 const pointPatchField<Type1>& f1, \
200 const pointPatchField<Type2>& f2 \
214 <typename product<Type, Form>::type>& f, \
215 const pointPatchField<Type>& f1, \
216 const VectorSpace<Form,Cmpt,nCmpt>& vs \
230 <typename product<Form, Type>::type>& f, \
231 const VectorSpace<Form,Cmpt,nCmpt>& vs, \
232 const pointPatchField<Type>& f1 \
244 #undef PRODUCT_OPERATOR
Pre-declare SubField and related Field type.
pTraits< Type >::cmptType cmptType
Component type.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
Abstract base class for point-mesh patch fields.
symmTypeOfRank< typename pTraits< arg1 >::cmptType, arg2 *direction(pTraits< arg1 >::rank) >::type type
volScalarField sf(fieldObject, mesh)
void subtract(LagrangianPatchField< typename typeOfSum< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
void dot(LagrangianPatchField< typename innerProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
void skew(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
void negate(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
void cmptMultiply(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< Type > &f2)
void outer(LagrangianPatchField< typename outerProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
void divide(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< scalar > &f2)
void dotdot(LagrangianPatchField< typename scalarProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
void dev2(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
void cmptDivide(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< Type > &f2)
void dev(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
void twoSymm(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
void eigenValues(LagrangianPatchField< vector > &f, const LagrangianPatchField< tensor > &f1)
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
void cross(LagrangianPatchField< typename crossProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
void det(LagrangianPatchField< scalar > &f, const LagrangianPatchField< tensor > &f1)
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void component(LagrangianPatchField< typename LagrangianPatchField< Type >::cmptType > &sf, const LagrangianPatchField< Type > &f, const direction d)
void symm(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
void multiply(LagrangianPatchField< Type > &f, const LagrangianPatchField< scalar > &f1, const LagrangianPatchField< Type > &f2)
void hdual(LagrangianPatchField< vector > &f, const LagrangianPatchField< tensor > &f1)
void cmptAv(LagrangianPatchField< typename LagrangianPatchField< Type >::cmptType > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
void diag(LagrangianPatchField< vector > &f, const LagrangianPatchField< tensor > &f1)
void eigenVectors(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
void tr(LagrangianPatchField< scalar > &f, const LagrangianPatchField< tensor > &f1)
void inv(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
void magSqr(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
void add(LagrangianPatchField< typename typeOfSum< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
void cmptMag(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
#define BINARY_TYPE_OPERATOR_FS(TYPE, op, opFunc)
#define BINARY_FUNCTION(func)
#define PRODUCT_OPERATOR(product, op, opFunc)
#define BINARY_OPERATOR(Type1, Type2, op, opFunc)
#define UNARY_OPERATOR(op, opFunc)
#define BINARY_TYPE_OPERATOR_SF(TYPE, op, opFunc)