makeSurfaceWriterMethods.H File Reference

Convenience macros for instantiating writer methods for surfaceWriter classes. More...

Include dependency graph for makeSurfaceWriterMethods.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define makeSurfaceWriterType(ThisClass)
 
#define defineSurfaceWriterWriteField(ThisClass, FieldType)
 
#define defineSurfaceWriterWriteFields(ThisClass)
 

Detailed Description

Convenience macros for instantiating writer methods for surfaceWriter classes.

Original source file makeSurfaceWriterMethods.H

InClass Foam::makeSurfaceWriterMethods

Definition in file makeSurfaceWriterMethods.H.

Macro Definition Documentation

#define makeSurfaceWriterType (   ThisClass)
Value:
defineTypeNameAndDebug(ThisClass, 0); \
addToRunTimeSelectionTable(surfaceWriter, ThisClass, word)
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
defineTypeNameAndDebug(calcType, 0)

Definition at line 44 of file makeSurfaceWriterMethods.H.

#define defineSurfaceWriterWriteField (   ThisClass,
  FieldType 
)
Value:
( \
const fileName& outputDir, \
const fileName& surfaceName, \
const pointField& points, \
const faceList& faces, \
const word& fieldName, \
const Field<FieldType>& values, \
const bool isNodeValues, \
const bool verbose \
) const \
{ \
writeTemplate \
( \
outputDir, \
surfaceName, \
faces, \
fieldName, \
values, \
isNodeValues, \
verbose \
); \
}
const pointField & points
runTime write()

Definition at line 49 of file makeSurfaceWriterMethods.H.

#define defineSurfaceWriterWriteFields (   ThisClass)
Value:
defineSurfaceWriterWriteField(ThisClass, scalar); \
defineSurfaceWriterWriteField(ThisClass, vector); \
defineSurfaceWriterWriteField(ThisClass, sphericalTensor); \
defineSurfaceWriterWriteField(ThisClass, symmTensor); \
#define defineSurfaceWriterWriteField(ThisClass, FieldType)

Definition at line 76 of file makeSurfaceWriterMethods.H.