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

doubleScalar.H File Reference


Detailed Description

View doubleScalar.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
Double precision floating point scalar type.

Source files

Definition in file doubleScalar.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Defines

#define Scalar   doubleScalar
#define ScalarVSMALL   doubleScalarVSMALL
#define readScalar   readDoubleScalar
#define transFunc(func)

Typedefs

typedef double doubleScalar

Functions

doubleScalar mag (const doubleScalar s)
doubleScalar hypot (const doubleScalar x, const doubleScalar y)
doubleScalar atan2 (const doubleScalar y, const doubleScalar x)
doubleScalar jn (const int n, const doubleScalar s)
doubleScalar yn (const int n, const doubleScalar s)

Variables

static const doubleScalar doubleScalarGREAT = 1.0e+15
static const doubleScalar doubleScalarVGREAT = 1.0e+300
static const doubleScalar doubleScalarSMALL = 1.0e-15
static const doubleScalar doubleScalarVSMALL = 1.0e-300

Define Documentation

#define Scalar   doubleScalar

Definition at line 68 of file doubleScalar.H.

#define ScalarVSMALL   doubleScalarVSMALL

Definition at line 69 of file doubleScalar.H.

#define readScalar   readDoubleScalar

Definition at line 70 of file doubleScalar.H.

Referenced by if().

#define transFunc ( func   ) 

Value:

inline Scalar func(const Scalar s) \
{                                  \
    return ::func(s);              \
}

Definition at line 77 of file doubleScalar.H.

Copyright © 2000-2007 OpenCFD Ltd