OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

Field.C File Reference

Go to the source code of this file.


Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Defines

#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)

Detailed Description

Original source file Field.C

Definition in file Field.C.


Define 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 672 of file Field.C.

Copyright © 2000-2009 OpenCFD Ltd