Loading...
Searching...
No Matches
Field.C File Reference
Include dependency graph for Field.C:

Go to the source code of this file.

Macros

#define COMPUTED_ASSIGNMENT(TYPE, op)

Detailed Description

Original source file Field.C

Definition in file Field.C.

Macro Definition Documentation

◆ COMPUTED_ASSIGNMENT

#define COMPUTED_ASSIGNMENT ( TYPE,
op )
Value:
\
template<class Type> \
void Foam::Field<Type>::operator op(const UList<TYPE>& f) \
{ \
TFOR_ALL_F_OP_F(Type, *this, op, TYPE, f) \
} \
\
template<class Type> \
void Foam::Field<Type>::operator op(const tmp<Field<TYPE>>& tf) \
{ \
operator op(tf()); \
tf.clear(); \
} \
\
template<class Type> \
void Foam::Field<Type>::operator op(const TYPE& t) \
{ \
TFOR_ALL_F_OP_S(Type, *this, op, TYPE, t) \
}
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Definition Field.H:172
labelList f(nPoints)

Definition at line 812 of file Field.C.