38#ifndef complexVectorField_H
39#define complexVectorField_H
Generic templated field type.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Field< complexVector > complexVectorField
Specialisation of Field<T> for complexVector.
scalarField Re(const UList< complex > &cf)
Extract real component.
complexField ImComplexField(const UList< scalar > &im)
Create complex field from a list of imag (using real == 0)
complexField ReComplexField(const UList< scalar > &re)
Create complex field from a list of real (using imag == 0)
complexField ComplexField(const UList< scalar > &re, const UList< scalar > &im)
Zip up two lists of values into a list of complex.
scalarField Im(const UList< complex > &cf)
Extract imag component.
scalarField ReImSum(const UList< complex > &cf)
Sum real and imag components.