fieldMapperM.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFINE_FIELD_MAPPER_OPERATOR(Type, Modifier)
 
#define IMPLEMENT_FIELD_MAPPER_OPERATOR(Type, mapperType)
 

Detailed Description

Original source file fieldMapperM.H

Definition in file fieldMapperM.H.

Macro Definition Documentation

◆ DEFINE_FIELD_MAPPER_OPERATOR

#define DEFINE_FIELD_MAPPER_OPERATOR (   Type,
  Modifier 
)
Value:
\
virtual void operator() \
( \
Field<Type>& f, \
const Field<Type>& mapF \
) const Modifier; \
\
virtual tmp<Field<Type>> operator() \
( \
const Field<Type>& mapF \
) const Modifier;
labelList f(nPoints)

Definition at line 26 of file fieldMapperM.H.

◆ IMPLEMENT_FIELD_MAPPER_OPERATOR

#define IMPLEMENT_FIELD_MAPPER_OPERATOR (   Type,
  mapperType 
)
Value:
\
void Foam::mapperType::operator() \
( \
Field<Type>& f, \
const Field<Type>& mapF \
) const \
{ \
map(f, mapF); \
} \
\
Foam::tmp<Foam::Field<Foam::Type>> Foam::mapperType::operator() \
( \
const Field<Type>& mapF \
) const \
{ \
return map(mapF); \
}

Definition at line 40 of file fieldMapperM.H.