FreeFOAM The Cross-Platform CFD Toolkit
Field.C File Reference

Detailed Description

Definition in file Field.C.

+ Include dependency graph for Field.C:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Macros

#define COMPUTED_ASSIGNMENT(TYPE, op)

Functions

template<class Type >
Ostream & operator<< (Ostream &os, const Field< Type > &f)
template<class Type >
Ostream & operator<< (Ostream &os, const tmp< Field< Type > > &tf)

Macro Definition Documentation

#define COMPUTED_ASSIGNMENT (   TYPE,
  op 
)
Value:
\
template<class Type> \
void Field<Type>::operator op(const UList<TYPE>& f) \
{ \
TFOR_ALL_F_OP_F(Type, *this, op, TYPE, f) \
} \
\
template<class Type> \
void Field<Type>::operator op(const tmp<Field<TYPE> >& tf) \
{ \
operator op(tf()); \
tf.clear(); \
} \
\
template<class Type> \
void Field<Type>::operator op(const TYPE& t) \
{ \
TFOR_ALL_F_OP_S(Type, *this, op, TYPE, t) \
}

Definition at line 680 of file Field.C.