Generic fieldField type. More...
Generic fieldField type.
Definition in file FieldField.C.
#include "src/OpenFOAM/fields/FieldFields/FieldField/FieldField.H"
#include "src/OpenFOAM/fields/FieldFields/FieldField/FieldFieldFunctions.C"
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Namespace for OpenFOAM. | |
Defines | |
#define | COMPUTED_ASSIGNMENT(TYPE, op) |
Functions | |
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) |
#define COMPUTED_ASSIGNMENT | ( | TYPE, | |
op | |||
) |
\ 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 \ ) \ { \ operator op(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 346 of file FieldField.C.