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; \
} \
}
labelList first(const UList< labelPair > &p)
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
for(int aCorr=0;aCorr< nAlphaCorr;aCorr++)
Referenced by setWriter::writeTableHeader().
◆ 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; \
}
labelList first(const UList< labelPair > &p)
Referenced by setWriter::writeTable().