Go to the source code of this file.
|
| Foam |
| Namespace for OpenFOAM.
|
|
Original source file setWriter.C
Definition in file setWriter.C.
◆ TypeValueSetsConstArg [1/2]
#define TypeValueSetsConstArg |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| const UPtrList<const Field<Type>>& Type##ValueSets , |
◆ WriteTypeValueSetNames
#define WriteTypeValueSetNames |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (Type##ValueSets.set(fieldi)) \
{ \
const
label nCmpt = pTraits<Type>::nComponents;
\
{ \
if (!
first) writeValueSeparator(os); \
\
const bool separator = \
!valueSetNames[fieldi].empty() \
&& strlen(pTraits<Type>::componentNames[cmpt]) > 0; \
\
const word w = \
valueSetNames[fieldi] \
+ (separator ? "_" : "") \
+ pTraits<Type>::componentNames[cmpt]; \
\
writeWord(w, os, align,
first*alignPad); \
first = false; \
} \
}
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelList first(const UList< labelPair > &p)
for(label i=0;i< nPoints;i++)
◆ TypeValueSetsConstArg [2/2]
#define TypeValueSetsConstArg |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| const UPtrList<const Field<Type>>& Type##ValueSets , |
◆ WriteTypeValueSets
#define WriteTypeValueSets |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (Type##ValueSets.set(fieldi)) \
{ \
if (!
first) writeValueSeparator(os); \
writeValue(Type##ValueSets[fieldi][pointi], os, align); \
first = false; \
}