38#ifndef Foam_complexVectorField_H
39#define Foam_complexVectorField_H
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
scalarField ReImSum(const UList< complex > &cmplx)
Sum real and imag components.
scalarField Im(const UList< complex > &cmplx)
Extract imag component.
complexField ReComplexField(const UList< scalar > &realValues)
Create complex field from a list of real (using imag == 0).
Field< complexVector > complexVectorField
Specialisation of Field<T> for complexVector.
Field< vector > vectorField
Specialisation of Field<T> for vector.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
complexField ComplexField(const UList< scalar > &realValues, const UList< scalar > &imagValues)
Create complex field by zipping two lists of real/imag values.
complexField ImComplexField(const UList< scalar > &imagValues)
Create complex field from a list of imag (using real == 0).
void zip(FieldField< Field, SphericalTensor< Cmpt > > &result, const FieldField< Field, Cmpt > &ii)
Zip together sphericalTensor field field from components.