Go to the source code of this file.
◆ doLocalCode [1/2]
#define doLocalCode |
( |
|
Type | ) |
|
Value: for (const word& fldName : Type##Names_) \
{ \
os << (nplots++ ?
", \\" :
"plot \\") << nl; \
os <<
" '-' title \"" << fldName <<
"\" with lines"; \
}
OBJstream os(runTime.globalPath()/outputName)
◆ doLocalCode [2/2]
#define doLocalCode |
( |
|
Type | ) |
|
Value: for (
const Field<Type>&
fld : Type##Fields_) \
{ \
writeTable(
os, coords_[0],
fld,
" \t"); \
os <<
"end_data" << nl << nl; \
}
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
◆ defineCoordSetWriterWriteFields()