153 scaleFactor_ = scaling;
159 writeBoundary_ =
false;
write OpenFOAM meshes and/or results to another CFD format
static string defaultMeshName
Specify a default mesh name.
A class for handling file names.
static const cellModel * tetModel
static const cellModel * prismModel
bool writeBoundary_
Write bnd file.
boundaryRegion boundaryRegion_
boundaryRegion persistent data saved as a dictionary
static const fileName null
An empty fileName.
virtual bool write(const fileName &timeName=fileName::null) const =0
Write volume mesh. Subclass must supply this method.
static const cellModel * pyrModel
static const cellModel * unknownModel
Pointers to cell shape models.
void scaleFactor(const scalar scaling)
Set points scaling.
void noBoundary()
Suppress writing bnd file.
scalar scaleFactor_
Scaling factor for points (eg, [m] -> [mm])
void operator=(const meshWriter &)=delete
Disallow default bitwise assignment.
The cellTable persistent data saved as a Map<dictionary>.
labelList cellTableId_
cellTable IDs for each cell
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
static const cellModel * hexModel
Mesh consisting of general polyhedral cells.
meshWriter(const polyMesh &, const scalar scaleFactor=1.0)
Create a writer object.
The boundaryRegion persistent data saved as a Map<dictionary>.
cellTable cellTable_
cellTable persistent data saved as a dictionary
const polyMesh & mesh_
Mesh reference.
virtual ~meshWriter()
Destructor.