Go to the source code of this file.
|
| | Foam |
| | Namespace for OpenFOAM.
|
| |
|
| template<class Type > |
| bool | insertUniformTypeField (const scalarList &components, const word &keyword, const label size, HashPtrTable< Field< Type >> &typeFields) |
| |
| template<> |
| bool | insertUniformTypeField (const scalarList &components, const word &keyword, const label size, HashPtrTable< Field< scalar >> &typeFields) |
| |
Original source file genericFvPatchField.C
Definition in file genericFvPatchField.C.
◆ ReadTypeField
| #define ReadTypeField |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
◆ InsertUniformTypeField
| #define InsertUniformTypeField |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value:
( \
l, \
iter().keyword(), \
this->size(), \
Type##Fields_ \
)
bool insertUniformTypeField(const scalarList &components, const word &keyword, const label size, HashPtrTable< Field< scalar >> &typeFields)
◆ MapTypeFields [1/2]
| #define MapTypeFields |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value:
{ \
Type##Fields_.insert \
( \
iter.key(), \
mapper(*iter()).ptr() \
); \
}
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
◆ CopyTypeFields
| #define CopyTypeFields |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| , Type##Fields_(ptf.Type##Fields_) |
◆ 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.
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())() \
); \
}