writeVolFields.H File Reference
Include dependency graph for writeVolFields.H:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define doLocalWriteCode(Type)
 
#define doLocalWriteCode(Type)
 

Functions

template<class GeoField >
label writeVolFields (autoPtr< vtk::internalWriter > &internalWriter, UPtrList< vtk::patchWriter > &patchWriters, const fvMeshSubsetProxy &proxy, const IOobjectList &objects, const bool syncPar, objectRegistry *cache)
 
template<class GeoField >
label writeVolFields (autoPtr< vtk::internalWriter > &internalWriter, const autoPtr< volPointInterpolation > &pInterp, UPtrList< vtk::patchWriter > &patchWriters, const UPtrList< PrimitivePatchInterpolation< primitivePatch >> &patchInterps, const fvMeshSubsetProxy &proxy, const IOobjectList &objects, const bool syncPar, objectRegistry *cache)
 
label writeAllVolFields (autoPtr< vtk::internalWriter > &internalWriter, UPtrList< vtk::patchWriter > &patchWriters, const fvMeshSubsetProxy &proxy, const IOobjectList &objects, const bool syncPar, objectRegistry *cache)
 
label writeAllVolFields (autoPtr< vtk::internalWriter > &internalWriter, const autoPtr< volPointInterpolation > &pInterp, UPtrList< vtk::patchWriter > &patchWriters, const UPtrList< PrimitivePatchInterpolation< primitivePatch >> &patchInterps, const fvMeshSubsetProxy &proxy, const IOobjectList &objects, const bool syncPar, objectRegistry *cache)
 

Detailed Description

Original source file writeVolFields.H

Definition in file writeVolFields.H.

Macro Definition Documentation

◆ doLocalWriteCode [1/2]

#define doLocalWriteCode (   Type)
Value:
{ \
typedef VolumeField<Type> FieldType; \
\
count += writeVolFields<FieldType> \
( \
internalWriter, \
patchWriters, \
proxy, \
objects, \
syncPar, \
cache \
); \
if (count >= total) break; /* early exit */ \
}
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of &#39;true&#39; entries.
Definition: BitOps.H:73

Referenced by Foam::writeAllVolFields().

◆ doLocalWriteCode [2/2]

#define doLocalWriteCode (   Type)
Value:
{ \
typedef VolumeField<Type> FieldType; \
\
count += writeVolFields<FieldType> \
( \
internalWriter, pInterp, \
patchWriters, patchInterps, \
proxy, \
objects, \
syncPar, \
cache \
); \
if (count >= total) break; /* early exit */ \
}
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of &#39;true&#39; entries.
Definition: BitOps.H:73
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
autoPtr< volPointInterpolation > pInterp