OpenFOAM logo
Open Source CFD Toolkit

complexI.H File Reference


Detailed Description

View complexI.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
Complex number.

Definition in file complexI.H.

Go to the source code of this file.

Namespaces

namespace  Foam

Functions

scalar magSqr (const complex &c)
complex sqr (const complex &c)
scalar mag (const complex &c)
const complex & max (const complex &c1, const complex &c2)
const complex & min (const complex &c1, const complex &c2)
complex limit (const complex &c1, const complex &c2)
const complex & sum (const complex &c)
complex transform (const Tensor< scalar > &, const complex c)
complex operator+ (const complex &c1, const complex &c2)
complex operator- (const complex &c)
complex operator- (const complex &c1, const complex &c2)
complex operator * (const complex &c1, const complex &c2)
complex operator/ (const complex &c1, const complex &c2)
complex operator * (const scalar s, const complex &c)
complex operator * (const complex &c, const scalar s)
complex operator/ (const complex &c, const scalar s)
complex operator/ (const scalar s, const complex &c)


Function Documentation

complex limit const complex &  c1,
const complex &  c2
[inline]
 

Definition at line 221 of file complexI.H.

scalar mag const complex &  c  )  [inline]
 

Definition at line 189 of file complexI.H.

scalar magSqr const complex &  c  )  [inline]
 

Definition at line 177 of file complexI.H.

const complex& max const complex &  c1,
const complex &  c2
[inline]
 

Definition at line 195 of file complexI.H.

const complex& min const complex &  c1,
const complex &  c2
[inline]
 

Definition at line 208 of file complexI.H.

complex operator * const complex &  c,
const scalar  s
[inline]
 

Definition at line 302 of file complexI.H.

complex operator * const scalar  s,
const complex &  c
[inline]
 

Definition at line 296 of file complexI.H.

complex operator * const complex &  c1,
const complex &  c2
[inline]
 

Definition at line 274 of file complexI.H.

References complex::im, Foam::magSqr(), and complex::re.

Here is the call graph for this function:

complex operator+ const complex &  c1,
const complex &  c2
[inline]
 

Definition at line 244 of file complexI.H.

References complex::im, and complex::re.

complex operator- const complex &  c1,
const complex &  c2
[inline]
 

Definition at line 264 of file complexI.H.

References complex::im, and complex::re.

complex operator- const complex &  c  )  [inline]
 

Definition at line 254 of file complexI.H.

References complex::im, and complex::re.

complex operator/ const scalar  s,
const complex &  c
[inline]
 

Definition at line 314 of file complexI.H.

complex operator/ const complex &  c,
const scalar  s
[inline]
 

Definition at line 308 of file complexI.H.

complex operator/ const complex &  c1,
const complex &  c2
[inline]
 

Definition at line 284 of file complexI.H.

complex sqr const complex &  c  )  [inline]
 

Definition at line 183 of file complexI.H.

const complex& sum const complex &  c  )  [inline]
 

Definition at line 227 of file complexI.H.

complex transform const Tensor< scalar > &  ,
const complex  c
[inline]
 

Definition at line 236 of file complexI.H.

References complex::im, and complex::re.

For further information go to www.openfoam.org