33 #ifndef makeSurfaceWriterMethods_H 34 #define makeSurfaceWriterMethods_H 44 #define makeSurfaceWriterType(ThisClass) \ 45 defineTypeNameAndDebug(ThisClass, 0); \ 46 addToRunTimeSelectionTable(surfaceWriter, ThisClass, word) 49 #define defineSurfaceWriterWriteField(ThisClass, FieldType) \ 50 void ThisClass::write \ 52 const fileName& outputDir, \ 53 const fileName& surfaceName, \ 54 const pointField& points, \ 55 const faceList& faces, \ 56 const word& fieldName, \ 57 const Field<FieldType>& values, \ 58 const bool isNodeValues \ 74 #define defineSurfaceWriterWriteFields(ThisClass) \ 75 defineSurfaceWriterWriteField(ThisClass, scalar); \ 76 defineSurfaceWriterWriteField(ThisClass, vector); \ 77 defineSurfaceWriterWriteField(ThisClass, sphericalTensor); \ 78 defineSurfaceWriterWriteField(ThisClass, symmTensor); \ 79 defineSurfaceWriterWriteField(ThisClass, tensor) Macros for easy insertion into run-time selection tables.