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

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define TypeValueSetsConstArg(Type, nullArg)   const UPtrList<const Field<Type>>& Type##ValueSets ,
 
#define WriteTypeValueSetNames(Type, nullArg)
 
#define TypeValueSetsConstArg(Type, nullArg)   const UPtrList<const Field<Type>>& Type##ValueSets ,
 
#define WriteTypeValueSets(Type, nullArg)
 

Functions

 defineTypeNameAndDebug (setWriter, 0)
 
 defineRunTimeSelectionTable (setWriter, word)
 
 defineRunTimeSelectionTable (setWriter, dict)
 

Detailed Description

Original source file setWriter.C

Definition in file setWriter.C.

Macro Definition Documentation

◆ 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; \
for (direction cmpt = 0; cmpt < nCmpt; ++ cmpt) \
{ \
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)
Definition: patchToPatch.C:38
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
uint8_t direction
Definition: direction.H:45
for(int aCorr=0;aCorr< nAlphaCorr;aCorr++)
Definition: alphaEqn.H:128

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)
Definition: patchToPatch.C:38

Referenced by setWriter::writeTable().