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() +
')',
173 x.dimensions() +
y.dimensions(),
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() +
')',
333 atan2(
x.dimensions(),
y.dimensions()),
const dimensionSet & dimensions() const
Return const reference to dimensions.
const Type & value() const
Return const reference to value.
const word & name() const
Return const reference to name.
dimensionedScalar pow6(const dimensionedScalar &ds)
dimensionedScalar pos(const dimensionedScalar &ds)
dimensionedScalar pow5(const dimensionedScalar &ds)
dimensionedScalar erfc(const dimensionedScalar &ds)
dimensionedScalar asin(const dimensionedScalar &ds)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar tan(const dimensionedScalar &ds)
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar sign(const dimensionedScalar &ds)
dimensionedScalar lgamma(const dimensionedScalar &ds)
dimensionedScalar j1(const dimensionedScalar &ds)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedScalar y0(const dimensionedScalar &ds)
dimensionedScalar cosh(const dimensionedScalar &ds)
const dimensionSet dimless
dimensionedScalar sin(const dimensionedScalar &ds)
dimensionedScalar tanh(const dimensionedScalar &ds)
dimensionedScalar erf(const dimensionedScalar &ds)
dimensionedScalar sinh(const dimensionedScalar &ds)
dimensionedScalar log10(const dimensionedScalar &ds)
dimensionedScalar yn(const int n, const dimensionedScalar &ds)
dimensionedScalar log(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
dimensionedScalar y1(const dimensionedScalar &ds)
dimensionedScalar negPart(const dimensionedScalar &ds)
dimensionedScalar acosh(const dimensionedScalar &ds)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar jn(const int n, const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)
dimensionedScalar atanh(const dimensionedScalar &ds)
tmp< fvMatrix< Type > > operator*(const volScalarField::Internal &, const fvMatrix< Type > &)
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
tmp< fvMatrix< Type > > operator+(const fvMatrix< Type > &, const fvMatrix< Type > &)
dimensionedScalar neg0(const dimensionedScalar &ds)
dimensionedScalar cbrt(const dimensionedScalar &ds)
dimensionedScalar atan(const dimensionedScalar &ds)
tmp< fvMatrix< Type > > operator-(const fvMatrix< Type > &)
dimensionedScalar cos(const dimensionedScalar &ds)
dimensionedScalar posPart(const dimensionedScalar &ds)
dimensionedScalar acos(const dimensionedScalar &ds)
tmp< fvMatrix< Type > > operator/(const fvMatrix< Type > &, const volScalarField::Internal &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar j0(const dimensionedScalar &ds)
dimensionedScalar pow025(const dimensionedScalar &ds)
dimensionedScalar asinh(const dimensionedScalar &ds)