91 #ifndef Foam_ccmWriter_H 92 #define Foam_ccmWriter_H 113 class ccmGlobalState;
135 std::unique_ptr<ccmMaps> maps_;
155 const std::string& mapName,
161 void writeBoundaryRegion(
const ccmID& probNode)
const;
163 void writeCellTable(
const ccmID& probNode)
const;
166 void writeProblem(
const ccmID& stateNode)
const;
169 label prostarCellFaceId(
const label
cellId,
const label faceI)
const;
181 void writeVertices(
const ccmID& verticesNode)
const;
184 void writeInternalFaces(
const ccmID& topoNode)
const;
187 void writeBoundaryFaces(
const ccmID& topoNode)
const;
189 void writeCells(
const ccmID& topoNode);
191 void writeInterfaces(
const ccmID& cellsNode)
const;
195 const ccmID& phaseNode,
196 const word& fieldName,
198 const ccmDimension& ccmDim,
204 label findDefaultBoundary()
const;
233 const bool backup=
true writer(const writer &)=delete
No copy construct.
A class for handling file names.
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
FOAM_DLL_EXPORT void writeSolution(const IOobjectList &objects, const fileName &remappingDictName=fileName::null)
Write the solutions.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Base functionality common to reader and writer classes.
static const fileName null
An empty fileName.
Write OpenFOAM meshes and/or results to CCM format.
A class for handling words, derived from Foam::string.
FOAM_DLL_EXPORT void writeGeometry()
Write the mesh.
The cellTable persistent data saved as a Map<dictionary>.
Mesh consisting of general polyhedral cells.
FOAM_DLL_EXPORT ~writer()
Destructor (closes file)
The boundaryRegion persistent data saved as a Map<dictionary>.
static FOAM_DLL_EXPORT string defaultMeshName
The name for the topology file reference.
void operator=(const writer &)=delete
No copy assignment.