OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

Scalar.H File Reference

Go to the source code of this file.


Classes

class  pTraits< Scalar >

Functions

word name (const Scalar)
 Return a string representation of a Scalar.
Scalar & setComponent (Scalar &s, const direction)
Scalar component (const Scalar s, const direction)
Scalar sign (const Scalar s)
Scalar pos (const Scalar s)
Scalar neg (const Scalar s)
bool equal (const Scalar &s1, const Scalar &s2)
bool notEqual (const Scalar s1, const Scalar s2)
Scalar limit (const Scalar s1, const Scalar s2)
Scalar minMod (const Scalar s1, const Scalar s2)
Scalar magSqr (const Scalar s)
Scalar sqr (const Scalar s)
Scalar sqrtSumSqr (const Scalar a, const Scalar b)
Scalar pow3 (const Scalar s)
Scalar pow4 (const Scalar s)
Scalar pow5 (const Scalar s)
Scalar pow6 (const Scalar s)
Scalar inv (const Scalar s)
Scalar dot (const Scalar s1, const Scalar s2)
Scalar cmptMultiply (const Scalar s1, const Scalar s2)
Scalar cmptDivide (const Scalar s1, const Scalar s2)
Scalar cmptMax (const Scalar s)
Scalar cmptMin (const Scalar s)
Scalar cmptAv (const Scalar s)
Scalar cmptMag (const Scalar s)
 transFunc (sqrt) transFunc(cbrt) transFunc(exp) transFunc(log) transFunc(log10) transFunc(sin) transFunc(cos) transFunc(tan) transFunc(asin) transFunc(acos) transFunc(atan) transFunc(sinh) transFunc(cosh) transFunc(tanh) transFunc(asinh) transFunc(acosh) transFunc(atanh) transFunc(erf) transFunc(erfc) transFunc(lgamma) transFunc(j0) transFunc(j1) transFunc(y0) transFunc(y1) inline Scalar stabilise(const Scalar s
Istream & operator>> (Istream &, Scalar &)
Ostream & operator<< (Ostream &, const Scalar)

Detailed Description

Original source file Scalar.H

Definition in file Scalar.H.


Function Documentation

word name ( const   Scalar  ) 

Return a string representation of a Scalar.

Referenced by for(), forAll(), if(), STLASCIILexer::lex(), and USERD_get_gold_variable_info().

Here is the caller graph for this function:

Scalar& setComponent ( Scalar &  s,
const   direction 
) [inline]

Definition at line 82 of file Scalar.H.

Scalar component ( const Scalar  s,
const   direction 
) [inline]

Definition at line 87 of file Scalar.H.

Referenced by if(), dimensioned< Type >::operator+=(), and Field< Type >::replace().

Here is the caller graph for this function:

Scalar sign ( const Scalar  s  )  [inline]

Definition at line 92 of file Scalar.H.

Scalar pos ( const Scalar  s  )  [inline]

Definition at line 97 of file Scalar.H.

Scalar neg ( const Scalar  s  )  [inline]

Definition at line 102 of file Scalar.H.

bool equal ( const Scalar &  s1,
const Scalar &  s2 
) [inline]

Definition at line 107 of file Scalar.H.

bool notEqual ( const Scalar  s1,
const Scalar  s2 
) [inline]

Definition at line 112 of file Scalar.H.

References Foam::mag(), and ScalarVSMALL.

Here is the call graph for this function:

Scalar limit ( const Scalar  s1,
const Scalar  s2 
) [inline]

Definition at line 117 of file Scalar.H.

References Foam::mag(), and ScalarVSMALL.

Here is the call graph for this function:

Scalar minMod ( const Scalar  s1,
const Scalar  s2 
) [inline]

Definition at line 122 of file Scalar.H.

References Foam::mag().

Here is the call graph for this function:

Scalar magSqr ( const Scalar  s  )  [inline]

Definition at line 127 of file Scalar.H.

References Foam::mag().

Referenced by if().

Here is the call graph for this function:

Here is the caller graph for this function:

Scalar sqr ( const Scalar  s  )  [inline]

Definition at line 132 of file Scalar.H.

Referenced by if(), inv(), Foam::operator<<(), pow3(), pow4(), and pow5().

Here is the caller graph for this function:

Scalar sqrtSumSqr ( const Scalar  a,
const Scalar  b 
) [inline]

Definition at line 137 of file Scalar.H.

Referenced by SVD::SVD().

Here is the caller graph for this function:

Scalar pow3 ( const Scalar  s  )  [inline]

Definition at line 152 of file Scalar.H.

References ScalarVSMALL, sqr(), and Foam::sqrt().

Referenced by inv().

Here is the call graph for this function:

Here is the caller graph for this function:

Scalar pow4 ( const Scalar  s  )  [inline]

Definition at line 157 of file Scalar.H.

References sqr().

Referenced by pow6().

Here is the call graph for this function:

Here is the caller graph for this function:

Scalar pow5 ( const Scalar  s  )  [inline]

Definition at line 162 of file Scalar.H.

References sqr().

Here is the call graph for this function:

Scalar pow6 ( const Scalar  s  )  [inline]

Definition at line 167 of file Scalar.H.

References pow4().

Here is the call graph for this function:

Scalar inv ( const Scalar  s  )  [inline]

Definition at line 172 of file Scalar.H.

References pow3(), and sqr().

Referenced by if(), and Foam::operator*().

Here is the call graph for this function:

Here is the caller graph for this function:

Scalar dot ( const Scalar  s1,
const Scalar  s2 
) [inline]

Definition at line 177 of file Scalar.H.

Scalar cmptMultiply ( const Scalar  s1,
const Scalar  s2 
) [inline]

Definition at line 182 of file Scalar.H.

Scalar cmptDivide ( const Scalar  s1,
const Scalar  s2 
) [inline]

Definition at line 187 of file Scalar.H.

Scalar cmptMax ( const Scalar  s  )  [inline]

Definition at line 192 of file Scalar.H.

Scalar cmptMin ( const Scalar  s  )  [inline]

Definition at line 197 of file Scalar.H.

Scalar cmptAv ( const Scalar  s  )  [inline]

Definition at line 202 of file Scalar.H.

Scalar cmptMag ( const Scalar  s  )  [inline]

Definition at line 207 of file Scalar.H.

transFunc ( sqrt   )  const

Istream& operator>> ( Istream &  ,
Scalar &   
)

Referenced by Foam::operator>>().

Here is the caller graph for this function:

Ostream& operator<< ( Ostream &  ,
const   Scalar 
)

Copyright © 2000-2009 OpenCFD Ltd