Loading...
Searching...
No Matches
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

namespace  Foam
 Namespace for OpenFOAM.

Macros

#define TEMPLATE

Typedefs

typedef Field< complexcomplexField
 Specialisation of Field<T> for complex.

Functions

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

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.