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