genericPointPatchField.C File Reference
Include dependency graph for genericPointPatchField.C:

Go to the source code of this file.

Macros

#define ReadTypeField(Type, nullArg)
 
#define MapTypeFields(Type, nullArg)
 
#define MapTypeFields(Type, nullArg)
 
#define ResetTypeFields(Type, nullArg)
 
#define WriteTypeFieldEntry(Type, nullArg)
 

Detailed Description

Original source file genericPointPatchField.C

Definition in file genericPointPatchField.C.

Macro Definition Documentation

◆ ReadTypeField

#define ReadTypeField (   Type,
  nullArg 
)

◆ MapTypeFields [1/2]

#define MapTypeFields (   Type,
  nullArg 
)
Value:
forAllConstIter(HashPtrTable<Field<Type>>, ptf.Type##Fields_, iter) \
{ \
Type##Fields_.insert \
( \
iter.key(), \
mapper(*iter()).ptr() \
); \
}
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Definition: UList.H:477

◆ MapTypeFields [2/2]

#define MapTypeFields (   Type,
  nullArg 
)
Value:
forAllIter(HashPtrTable<Field<Type>>, Type##Fields_, iter) \
{ \
HashPtrTable<Field<Type>>::const_iterator dptfIter = \
dptf.Type##Fields_.find(iter.key()); \
if (dptfIter != dptf.Type##Fields_.end()) \
{ \
mapper(*iter(), *dptfIter()); \
} \
}
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
Definition: UList.H:459
if(!fvConstraints.PtrListDictionary< fvConstraint >::size())

◆ ResetTypeFields

#define ResetTypeFields (   Type,
  nullArg 
)
Value:
forAllIter(HashPtrTable<Field<Type>>, Type##Fields_, iter) \
{ \
HashPtrTable<Field<Type>>::const_iterator dptfIter = \
dptf.Type##Fields_.find(iter.key()); \
if (dptfIter != dptf.Type##Fields_.end()) \
{ \
iter()->reset(*dptfIter()); \
} \
}

◆ WriteTypeFieldEntry

#define WriteTypeFieldEntry (   Type,
  nullArg 
)
Value:
else if (Type##Fields_.found(iter().keyword())) \
{ \
writeEntry \
( \
os, \
iter().keyword(), \
*Type##Fields_.find(iter().keyword())() \
); \
}