80 "pow(" + ds.
name() +
',' + expt.
name() +
')',
91 "pow3(" + ds.
name() +
')',
102 "pow4(" + ds.
name() +
')',
113 "pow5(" + ds.
name() +
')',
124 "pow6(" + ds.
name() +
')',
135 "pow025(" + ds.
name() +
')',
146 "sqrt(" + ds.
name() +
')',
157 "cbrt(" + ds.
name() +
')',
172 "hypot(" + x.
name() +
',' + y.
name() +
')',
183 "sign(" + ds.
name() +
')',
194 "pos(" + ds.
name() +
')',
205 "pos0(" + ds.
name() +
')',
216 "neg(" + ds.
name() +
')',
227 "neg0(" + ds.
name() +
')',
238 "posPart(" + ds.
name() +
')',
249 "negPart(" + ds.
name() +
')',
256 #define transFunc(func) \ 257 dimensionedScalar func(const dimensionedScalar& ds) \ 259 if (!ds.dimensions().dimensionless()) \ 261 FatalErrorInFunction \ 262 << "ds not dimensionless" \ 263 << abort(FatalError); \ 266 return dimensionedScalar \ 268 #func "(" + ds.name() + ')', \ 300 #define transFunc(func) \ 301 dimensionedScalar func(const int n, const dimensionedScalar& ds) \ 303 if (!ds.dimensions().dimensionless()) \ 305 FatalErrorInFunction \ 306 << "ds not dimensionless" \ 307 << abort(FatalError); \ 310 return dimensionedScalar \ 312 #func "(" + name(n) + ',' + ds.name() + ')', \ 314 ::func(n, ds.value()) \ 332 "atan2(" + x.
name() +
',' + y.
name() +
')',
dimensionedScalar sign(const dimensionedScalar &ds)
dimensionedScalar tanh(const dimensionedScalar &ds)
dimensionedScalar acos(const dimensionedScalar &ds)
dimensionedScalar log(const dimensionedScalar &ds)
dimensionedScalar yn(const int n, const dimensionedScalar &ds)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensionedScalar pow025(const dimensionedScalar &ds)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
dimensionedScalar y0(const dimensionedScalar &ds)
dimensionedScalar posPart(const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)
dimensionedScalar asin(const dimensionedScalar &ds)
dimensionedScalar pow5(const dimensionedScalar &ds)
dimensionedScalar j1(const dimensionedScalar &ds)
dimensionedScalar pos(const dimensionedScalar &ds)
dimensionedScalar acosh(const dimensionedScalar &ds)
tmp< fvMatrix< Type > > operator*(const volScalarField::Internal &, const fvMatrix< Type > &)
dimensionedScalar cos(const dimensionedScalar &ds)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar asinh(const dimensionedScalar &ds)
dimensionedScalar jn(const int n, const dimensionedScalar &ds)
dimensionedScalar cbrt(const dimensionedScalar &ds)
dimensionedScalar neg0(const dimensionedScalar &ds)
const Type & value() const
Return const reference to value.
tmp< fvMatrix< Type > > operator-(const fvMatrix< Type > &)
dimensionedScalar atanh(const dimensionedScalar &ds)
tmp< fvMatrix< Type > > operator+(const fvMatrix< Type > &, const fvMatrix< Type > &)
dimensionedScalar y1(const dimensionedScalar &ds)
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar sin(const dimensionedScalar &ds)
dimensionedScalar erf(const dimensionedScalar &ds)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
const word & name() const
Return const reference to name.
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(tgamma) transFunc(j0) transFunc(j1) transFunc(y0) transFunc(y1) inline Scalar &setComponent(Scalar &s
dimensionedScalar lgamma(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedScalar erfc(const dimensionedScalar &ds)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensionedScalar sinh(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar atan(const dimensionedScalar &ds)
dimensionedScalar pow4(const dimensionedScalar &ds)
const dimensionSet & dimensions() const
Return const reference to dimensions.
dimensionedScalar pow6(const dimensionedScalar &ds)
dimensionedScalar cosh(const dimensionedScalar &ds)
dimensionedScalar tan(const dimensionedScalar &ds)
dimensionedScalar j0(const dimensionedScalar &ds)
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
dimensionedScalar log10(const dimensionedScalar &ds)
dimensionedScalar negPart(const dimensionedScalar &ds)