FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Field.C File Reference


Detailed Description

Definition in file Field.C.

#include "src/OpenFOAM/fields/Fields/Field/FieldMapper.H"
#include "src/OpenFOAM/fields/Fields/Field/FieldM.H"
#include "src/OpenFOAM/db/dictionary/dictionary.H"
#include "src/OpenFOAM/primitives/contiguous/contiguous.H"
#include "src/OpenFOAM/fields/Fields/Field/FieldFunctions.C"
Include dependency graph for Field.C:

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)

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