All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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) \
}
const tensorField & tf
Pre-declare SubField and related Field type.
Definition: Field.H:56
labelList f(nPoints)

Definition at line 615 of file Field.C.