1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | foam-extend: Open Source CFD
4 \\ / O peration | Version: 3.2
5 \\ / A nd | Web: http://www.foam-extend.org
6 \\/ M anipulation | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
9 This file is part of foam-extend.
11 foam-extend is free software: you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation, either version 3 of the License, or (at your
14 option) any later version.
16 foam-extend is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
25 Foam::dimensionedScalar
28 Dimensioned scalar obtained from generic dimensioned type.
33 \*---------------------------------------------------------------------------*/
35 #ifndef dimensionedScalar_H
36 #define dimensionedScalar_H
38 #include "dimensionedType.H"
40 #include "dimensionedScalarFwd.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 dimensionedScalar operator+(const dimensionedScalar&, const scalar);
50 dimensionedScalar operator+(const scalar, const dimensionedScalar&);
52 dimensionedScalar operator-(const dimensionedScalar&, const scalar);
53 dimensionedScalar operator-(const scalar, const dimensionedScalar&);
55 dimensionedScalar operator*(const dimensionedScalar&, const scalar);
56 dimensionedScalar operator/(const scalar, const dimensionedScalar&);
58 dimensionedScalar pow(const dimensionedScalar&, const dimensionedScalar&);
59 dimensionedScalar pow3(const dimensionedScalar&);
60 dimensionedScalar pow4(const dimensionedScalar&);
61 dimensionedScalar pow5(const dimensionedScalar&);
62 dimensionedScalar pow6(const dimensionedScalar&);
64 dimensionedScalar sqrt(const dimensionedScalar&);
65 dimensionedScalar cbrt(const dimensionedScalar&);
66 dimensionedScalar hypot(const dimensionedScalar&, const dimensionedScalar&);
68 dimensionedScalar sign(const dimensionedScalar&);
69 dimensionedScalar pos(const dimensionedScalar&);
70 dimensionedScalar neg(const dimensionedScalar&);
72 dimensionedScalar exp(const dimensionedScalar&);
73 dimensionedScalar log(const dimensionedScalar&);
74 dimensionedScalar log10(const dimensionedScalar&);
75 dimensionedScalar sin(const dimensionedScalar&);
76 dimensionedScalar cos(const dimensionedScalar&);
77 dimensionedScalar tan(const dimensionedScalar&);
78 dimensionedScalar asin(const dimensionedScalar&);
79 dimensionedScalar acos(const dimensionedScalar&);
80 dimensionedScalar atan(const dimensionedScalar&);
81 dimensionedScalar sinh(const dimensionedScalar&);
82 dimensionedScalar cosh(const dimensionedScalar&);
83 dimensionedScalar tanh(const dimensionedScalar&);
84 dimensionedScalar asinh(const dimensionedScalar&);
85 dimensionedScalar acosh(const dimensionedScalar&);
86 dimensionedScalar atanh(const dimensionedScalar&);
87 dimensionedScalar erf(const dimensionedScalar&);
88 dimensionedScalar erfc(const dimensionedScalar&);
89 dimensionedScalar lgamma(const dimensionedScalar&);
90 dimensionedScalar j0(const dimensionedScalar&);
91 dimensionedScalar j1(const dimensionedScalar&);
92 dimensionedScalar jn(const int, const dimensionedScalar&);
93 dimensionedScalar y0(const dimensionedScalar&);
94 dimensionedScalar y1(const dimensionedScalar&);
95 dimensionedScalar yn(const int, const dimensionedScalar&);
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 } // End namespace Foam
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 // ************************************************************************* //