All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
scalarField.C File Reference

Specialisation of Field<T> for scalar. More...

Include dependency graph for scalarField.C:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define TEMPLATE
 
#define BesselFunc(func)
 

Functions

void component (scalarField &sf, const UList< scalar > &f, const direction)
 
void stabilise (scalarField &res, const UList< scalar > &sf, const scalar s)
 
tmp< scalarFieldstabilise (const UList< scalar > &sf, const scalar s)
 
tmp< scalarFieldstabilise (const tmp< scalarField > &tsf, const scalar s)
 
template<>
scalar sumProd (const UList< scalar > &f1, const UList< scalar > &f2)
 
void jn (scalarField &res, const int n, const UList< scalar > &sf)
 
tmp< scalarFieldjn (const int n, const UList< scalar > &sf)
 
tmp< scalarFieldjn (const int n, const tmp< scalarField > &tsf)
 
void yn (scalarField &res, const int n, const UList< scalar > &sf)
 
tmp< scalarFieldyn (const int n, const UList< scalar > &sf)
 
tmp< scalarFieldyn (const int n, const tmp< scalarField > &tsf)
 

Detailed Description

Specialisation of Field<T> for scalar.

Original source file scalarField.C

Definition in file scalarField.C.

Macro Definition Documentation

◆ TEMPLATE

#define TEMPLATE

Definition at line 31 of file scalarField.C.

◆ BesselFunc

#define BesselFunc (   func)
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.ref(), n, sf); \
return tRes; \
} \
\
tmp<scalarField> func(const int n, const tmp<scalarField>& tsf) \
{ \
tmp<scalarField> tRes = New(tsf); \
func(tRes.ref(), n, tsf()); \
tsf.clear(); \
return tRes; \
}
label n
volScalarField scalarField(fieldObject, mesh)
volScalarField sf(fieldObject, mesh)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)

Definition at line 168 of file scalarField.C.