OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

Scalar.H File Reference


Detailed Description

View Scalar.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
Single floating point number

Source files

Definition in file Scalar.H.

Go to the source code of this file.


Classes

class  pTraits< Scalar >

Functions

word name (const Scalar s)
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 pow3 (const Scalar s)
Scalar pow4 (const Scalar s)
Scalar cmptMax (const Scalar s)
Scalar cmptMin (const Scalar s)
Scalar cmptAv (const Scalar s)
Scalar cmptMag (const Scalar s)
Scalar scale (const Scalar s, const Scalar d)
 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)

Function Documentation

word name ( const Scalar  s  ) 

Referenced by primitiveEntry::clone(), dictionaryEntry::clone(), if(), primitiveEntry::name(), dictionaryEntry::name(), and fvMesh::time().

Here is the caller graph for this function:

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

Definition at line 92 of file Scalar.H.

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

Definition at line 97 of file Scalar.H.

Scalar sign ( const Scalar  s  )  [inline]

Definition at line 102 of file Scalar.H.

Scalar pos ( const Scalar  s  )  [inline]

Definition at line 107 of file Scalar.H.

Scalar neg ( const Scalar  s  )  [inline]

Definition at line 112 of file Scalar.H.

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

Definition at line 117 of file Scalar.H.

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

Definition at line 122 of file Scalar.H.

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

Definition at line 127 of file Scalar.H.

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

Definition at line 132 of file Scalar.H.

Scalar magSqr ( const Scalar  s  )  [inline]

Definition at line 137 of file Scalar.H.

Scalar sqr ( const Scalar  s  )  [inline]

Definition at line 142 of file Scalar.H.

Scalar pow3 ( const Scalar  s  )  [inline]

Definition at line 147 of file Scalar.H.

Scalar pow4 ( const Scalar  s  )  [inline]

Definition at line 152 of file Scalar.H.

Scalar cmptMax ( const Scalar  s  )  [inline]

Definition at line 157 of file Scalar.H.

Scalar cmptMin ( const Scalar  s  )  [inline]

Definition at line 162 of file Scalar.H.

Scalar cmptAv ( const Scalar  s  )  [inline]

Definition at line 167 of file Scalar.H.

Scalar cmptMag ( const Scalar  s  )  [inline]

Definition at line 172 of file Scalar.H.

Scalar scale ( const Scalar  s,
const Scalar  d 
) [inline]

Definition at line 177 of file Scalar.H.

transFunc ( sqrt   )  const

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

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

Copyright © 2000-2007 OpenCFD Ltd