surfaceWriterMethods.H File Reference

Convenience macros for instantiating surfaceWriter methods. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  Foam
 Namespace for OpenFOAM.


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

Detailed Description

Convenience macros for instantiating surfaceWriter methods.

Original source file surfaceWriterMethods.H

InClass Foam::surfaceWriterMethods

Definition in file surfaceWriterMethods.H.

Macro Definition Documentation

◆ defineSurfaceWriterWriteField

#define defineSurfaceWriterWriteField (   ThisClass,
Foam::fileName ThisClass::write \
( \
const word& fieldName, \
const Field<FieldType>& values \
) \
{ \
return writeTemplate(fieldName, values); \
A class for handling file names.
Definition: fileName.H:76

Definition at line 43 of file surfaceWriterMethods.H.

◆ defineSurfaceWriterWriteFields

#define defineSurfaceWriterWriteFields (   ThisClass)
defineSurfaceWriterWriteField(ThisClass, label); \
defineSurfaceWriterWriteField(ThisClass, scalar); \
defineSurfaceWriterWriteField(ThisClass, vector); \
defineSurfaceWriterWriteField(ThisClass, sphericalTensor); \
defineSurfaceWriterWriteField(ThisClass, symmTensor); \
defineSurfaceWriterWriteField(ThisClass, tensor)
Tensor of scalars, i.e. Tensor<scalar>.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
#define defineSurfaceWriterWriteField(ThisClass, FieldType)

Definition at line 54 of file surfaceWriterMethods.H.