complexI.H File Reference
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 transFunc(func)
 
#define powFuncs(type2)
 

Functions

scalar magSqr (const complex &)
 
scalar mag (const complex &)
 
complex sqr (const complex &)
 
complex sign (const complex &c)
 
scalar csign (const complex &c)
 
const complex & min (const complex &, const complex &)
 
const complex & max (const complex &, const complex &)
 
complex limit (const complex &, const complex &)
 
const complex & sum (const complex &)
 
complex transform (const Tensor< scalar > &, const complex c)
 
complex operator- (const complex &)
 
complex operator+ (const complex &, const complex &)
 
complex operator+ (const complex &, const scalar)
 
complex operator+ (const scalar, const complex &)
 
complex operator- (const complex &, const complex &)
 
complex operator- (const complex &, const scalar)
 
complex operator- (const scalar, const complex &)
 
complex operator* (const complex &, const complex &)
 
complex operator* (const complex &, const scalar)
 
complex operator* (const scalar, const complex &)
 
complex operator/ (const complex &, const complex &)
 
complex operator/ (const complex &, const scalar)
 
complex operator/ (const scalar, const complex &)
 
complex sqrt (const complex &c)
 
complex exp (const complex &c)
 
complex log (const complex &c)
 
complex log10 (const complex &c)
 
complex sin (const complex &c)
 
complex cos (const complex &c)
 
complex tan (const complex &c)
 
complex asin (const complex &c)
 
complex acos (const complex &c)
 
complex atan (const complex &c)
 
complex sinh (const complex &c)
 
complex cosh (const complex &c)
 
complex tanh (const complex &c)
 
complex asinh (const complex &c)
 
complex acosh (const complex &c)
 
complex atanh (const complex &c)
 
complex pow (const complex &x, const complex &y)
 
complex pow (const complex &x, const int y)
 
complex pow (const int x, const complex &y)
 
complex pow (const complex &x, const long y)
 
complex pow (const long x, const complex &y)
 
complex pow (const complex &x, const float y)
 
complex pow (const float x, const complex &y)
 
complex pow (const complex &x, const double y)
 
complex pow (const double x, const complex &y)
 
complex pow3 (const complex &c)
 
complex pow4 (const complex &c)
 
complex pow5 (const complex &c)
 
complex pow6 (const complex &c)
 
complex pow025 (const complex &c)
 

Detailed Description

Original source file complexI.H

Definition in file complexI.H.

Macro Definition Documentation

◆ transFunc

#define transFunc (   func)
Value:
inline complex func(const complex& c) \
{ \
return std:: func (static_cast<std::complex<scalar>>(c)); \
}

Definition at line 391 of file complexI.H.

◆ powFuncs

#define powFuncs (   type2)
Value:
inline complex pow(const complex& x, const type2 y) \
{ \
return std::pow(static_cast<std::complex<scalar>>(x), y); \
} \
\
inline complex pow(const type2 x, const complex& y) \
{ \
return std::pow \
( \
static_cast<std::complex<scalar>>(x), \
static_cast<std::complex<scalar>>(y) \
); \
}
scalar y

Definition at line 426 of file complexI.H.