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

Go to the source code of this file.

Classes

class  coordSetWriter
 Base class for writing coordSet(s) and tracks with fields. More...
 

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
 

Macros

#define defineBufferMethod(Type)
 
#define declareCoordSetWriterWriteMethod(Type)
 
#define declareCoordSetWriterWriteMethod(Type)
 

Functions

Ostream & operator<< (Ostream &os, const InfoProxy< coordSetWriter > &)
 

Detailed Description

Original source file coordSetWriter.H

Definition in file coordSetWriter.H.

Macro Definition Documentation

◆ defineBufferMethod

#define defineBufferMethod (   Type)
Value:
\
/* Names of Type fields */ \
DynamicList<word> Type##Names_; \
\
/* Values of Type fields */ \
PtrDynList<Field<Type>> Type##Fields_; \
\
/* Add named Type field to buffering */ \
void appendField(const word& fieldName, const Field<Type>& vals) \
{ \
Type##Names_.append(fieldName); \
Type##Fields_.append(vals.clone()); \
}

Definition at line 131 of file coordSetWriter.H.

◆ declareCoordSetWriterWriteMethod [1/2]

#define declareCoordSetWriterWriteMethod (   Type)
Value:
\ \
virtual fileName write \
( \
const word& fieldName, \
const Field<Type>& field \
) = 0; \
\ \
virtual fileName write \
( \
const word& fieldName, \
const List<Field<Type>>& fieldValues \
) = 0;
rDeltaTY field()
runTime write()

Definition at line 562 of file coordSetWriter.H.

◆ declareCoordSetWriterWriteMethod [2/2]

#define declareCoordSetWriterWriteMethod (   Type)
Value:
\ \
virtual fileName write \
( \
const word& fieldName, \
const Field<Type>& values \
); /* override */ \
\ \
virtual fileName write \
( \
const word& fieldName, \
const List<Field<Type>>& fieldValues \
); /* override */

Definition at line 562 of file coordSetWriter.H.