All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

◆ makeSurfaceWriterType

#define makeSurfaceWriterType (   ThisClass)
Value:
defineTypeNameAndDebug(ThisClass, 0); \
addToRunTimeSelectionTable(surfaceWriter, ThisClass, word)
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Definition: className.H:119

Definition at line 44 of file makeSurfaceWriterMethods.H.

◆ defineSurfaceWriterWriteField

#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 \
{ \
Write \
( \
outputDir, \
surfaceName, \
points, \
faces, \
fieldName, \
values, \
isNodeValues \
); \
}
List< face > faceList
Definition: faceListFwd.H:43
vectorField pointField
pointField is a vectorField.
Definition: pointFieldFwd.H:42
const pointField & points
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.

Definition at line 49 of file makeSurfaceWriterMethods.H.

◆ defineSurfaceWriterWriteFields

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

Definition at line 74 of file makeSurfaceWriterMethods.H.