complexField.H File Reference
Include dependency graph for complexField.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define TEMPLATE
 

Typedefs

typedef Field< complex > complexField
 Specialisation of Field<T> for complex. More...
 

Functions

void zip (complexField &result, const UList< scalar > &realValues, const UList< scalar > &imagValues)
 Zip together complex field from real/imag components. More...
 
void zip (complexField &result, const UList< scalar > &realValues, const scalar imagValue)
 Zip together complex field from real components and constant imag component. More...
 
void zip (complexField &result, const scalar realValue, const UList< scalar > &imagValues)
 Zip together complex field from constant real component and imag components. More...
 
void unzip (const UList< complex > &input, scalarField &realValues, scalarField &imagValues)
 Unzip complex field into components. More...
 
complexField ComplexField (const UList< scalar > &realValues, const UList< scalar > &imagValues)
 Create complex field by zipping two lists of real/imag values. More...
 
complexField ComplexField (const UList< scalar > &realValues, const scalar imagValue)
 Create complex field by zipping a list of real components and a constant imag component. More...
 
complexField ComplexField (const scalar realValue, const UList< scalar > &imagValues)
 Create complex field by zipping a constant real component and a list of imag components. More...
 
scalarField Re (const UList< complex > &cmplx)
 Extract real component. More...
 
scalarField Im (const UList< complex > &cmplx)
 Extract imag component. More...
 
scalarField ReImSum (const UList< complex > &cmplx)
 Sum real and imag components. More...
 
complexField ReComplexField (const UList< scalar > &realValues)
 Create complex field from a list of real (using imag == 0) More...
 
complexField ImComplexField (const UList< scalar > &imagValues)
 Create complex field from a list of imag (using real == 0) More...
 
template<>
complex sumProd (const UList< complex > &f1, const UList< complex > &f2)
 Sum product. More...
 

Detailed Description

Original source file complexField.H

Definition in file complexField.H.

Macro Definition Documentation

◆ TEMPLATE

#define TEMPLATE

Definition at line 40 of file complexField.H.