Generic fieldField type.
More...
Go to the source code of this file.
|
| Foam |
| Namespace for OpenFOAM.
|
|
|
template<template< class > class Field, class Type1 , class Type2 > |
void | checkFields (const FieldField< Field, Type1 > &, const FieldField< Field, Type2 > &, const char *op) |
|
template<template< class > class Field, class Type1 , class Type2 , class Type3 > |
void | checkFields (const FieldField< Field, Type1 > &, const FieldField< Field, Type2 > &, const FieldField< Field, Type3 > &, const char *op) |
|
template<template< class > class Field, class Type > |
Ostream & | operator<< (Ostream &os, const FieldField< Field, Type > &f) |
|
template<template< class > class Field, class Type > |
Ostream & | operator<< (Ostream &os, const tmp< FieldField< Field, Type >> &tf) |
|
Generic fieldField type.
Original source file FieldField.C
Definition in file FieldField.C.
◆ COMPUTED_ASSIGNMENT
#define COMPUTED_ASSIGNMENT |
( |
|
TYPE, |
|
|
|
op |
|
) |
| |
Value: \
template<template<class> class Field, class Type> \
void FieldField<Field, Type>::operator op(const FieldField<Field, TYPE>& f) \
{ \
forAll(*this, i) \
{ \
this->operator[](i) op
f[i]; \
} \
} \
\
template<template<class> class Field, class Type> \
void FieldField<Field, Type>::operator op \
( \
const tmp<FieldField<Field, TYPE>>& tf \
) \
{ \
tf.clear(); \
} \
\
template<template<class> class Field, class Type> \
void FieldField<Field, Type>::operator op(const TYPE& t) \
{ \
forAll(*this, i) \
{ \
this->operator[](i) op t; \
} \
}
Definition at line 347 of file FieldField.C.