Go to the documentation of this file.
38 #ifndef complexField_H
39 #define complexField_H
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedScalar tan(const dimensionedScalar &ds)
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
void unzip(const FieldField< Field, SphericalTensor< Cmpt >> &input, FieldField< Field, Cmpt > &ii)
dimensionedScalar cosh(const dimensionedScalar &ds)
dimensionedScalar sin(const dimensionedScalar &ds)
complexField ComplexField(const UList< scalar > &re, const UList< scalar > &im)
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
dimensionedScalar exp(const dimensionedScalar &ds)
complex sumProd(const UList< complex > &f1, const UList< complex > &f2)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensionedScalar pow025(const dimensionedScalar &ds)
complexField ReComplexField(const UList< scalar > &re)
dimensionedScalar atanh(const dimensionedScalar &ds)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar pow6(const dimensionedScalar &ds)
scalarField Im(const UList< complex > &cf)
Generic templated field type.
dimensionedScalar tanh(const dimensionedScalar &ds)
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedScalar log10(const dimensionedScalar &ds)
dimensionedScalar asinh(const dimensionedScalar &ds)
const dimensionedScalar re
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedScalar pow5(const dimensionedScalar &ds)
dimensionedScalar log(const dimensionedScalar &ds)
A complex number, similar to the C++ complex type.
complexField ImComplexField(const UList< scalar > &im)
scalarField ReImSum(const UList< complex > &cf)
dimensionedScalar acosh(const dimensionedScalar &ds)
Field< complex > complexField
Specialisation of Field<T> for complex.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensionedScalar acos(const dimensionedScalar &ds)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
scalarField Re(const UList< complex > &cf)
static Istream & input(Istream &is, IntRange< T > &range)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
dimensionedScalar atan(const dimensionedScalar &ds)
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensionedScalar asin(const dimensionedScalar &ds)
dimensionedScalar cos(const dimensionedScalar &ds)
dimensionedScalar sinh(const dimensionedScalar &ds)