|
|
|
scalarField.C File ReferenceSpecialisation of Field<T> for scalar. More...
Go to the source code of this file.
Detailed DescriptionSpecialisation of Field<T> for scalar.Original source file scalarField.C Definition in file scalarField.C. Define Documentation
Definition at line 24 of file scalarField.C.
Value: void func(scalarField& res, const int n, const UList<scalar>& sf) \ { \ TFOR_ALL_F_OP_FUNC_S_F(scalar, res, =, ::Foam::func, int, n, scalar, sf) \ } \ \ tmp<scalarField> func(const int n, const UList<scalar>& sf) \ { \ tmp<scalarField> tRes(new scalarField(sf.size())); \ func(tRes(), n, sf); \ return tRes; \ } \ \ tmp<scalarField> func(const int n, const tmp<scalarField>& tsf) \ { \ tmp<scalarField> tRes = reuseTmp<scalar, scalar>::New(tsf); \ func(tRes(), n, tsf()); \ reuseTmp<scalar, scalar>::clear(tsf); \ return tRes; \ } Definition at line 132 of file scalarField.C.
| ||||||||||||||||||||||||||||||||||||||||||