53 void scalarField::replace(
const direction,
const UList<scalar>&
sf)
59 void scalarField::replace(
const direction,
const scalar& s)
139 #define BesselFunc(func) \
140 void func(scalarField& res, const int n, const UList<scalar>& sf) \
142 TFOR_ALL_F_OP_FUNC_S_F(scalar, res, =, ::Foam::func, int, n, scalar, sf) \
145 tmp<scalarField> func(const int n, const UList<scalar>& sf) \
147 tmp<scalarField> tRes(new scalarField(sf.size())); \
148 func(tRes(), n, sf); \
152 tmp<scalarField> func(const int n, const tmp<scalarField>& tsf) \
154 tmp<scalarField> tRes = reuseTmp<scalar, scalar>::New(tsf); \
155 func(tRes(), n, tsf()); \
156 reuseTmp<scalar, scalar>::clear(tsf); \