Namespaces | Macros
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.


 Namespace for OpenFOAM.


#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)
defineTypeNameAndDebug(ThisClass, 0); \
addToRunTimeSelectionTable(surfaceWriter, ThisClass, word)
defineTypeNameAndDebug(calcType, 0)

Definition at line 44 of file makeSurfaceWriterMethods.H.

#define defineSurfaceWriterWriteField (   ThisClass,
( \
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, \
points, \
faces, \
fieldName, \
values, \
isNodeValues, \
verbose \
); \
const pointField & points
List< face > faceList
Definition: faceListFwd.H:43
vectorField pointField
pointField is a vectorField.
Definition: pointFieldFwd.H:42
runTime write()

Definition at line 49 of file makeSurfaceWriterMethods.H.

#define defineSurfaceWriterWriteFields (   ThisClass)
defineSurfaceWriterWriteField(ThisClass, scalar); \
defineSurfaceWriterWriteField(ThisClass, vector); \
defineSurfaceWriterWriteField(ThisClass, sphericalTensor); \
defineSurfaceWriterWriteField(ThisClass, symmTensor); \
defineSurfaceWriterWriteField(ThisClass, tensor)
Tensor< scalar > tensor
Tensor of scalars.
Definition: tensor.H:51
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
SymmTensor< scalar > symmTensor
SymmTensor of scalars.
Definition: symmTensor.H:48
#define defineSurfaceWriterWriteField(ThisClass, FieldType)
Vector< scalar > vector
A scalar version of the templated Vector.
Definition: vector.H:49

Definition at line 76 of file makeSurfaceWriterMethods.H.