Go to the documentation of this file.
94 Info <<
"Iteration " << ++iter <<
endl;
123 std::ostringstream ss;
140 const edgeList fEdges = faces[
c[fI]].edges();
144 if( fEdges[eI] == edges[eJ] )
153 if( nAppearances[eI] != 2 )
156 Info <<
"Edge " << edges[eI] <<
" appears "
157 <<
label(nAppearances[eI]) <<
" times in cell "
163 Info <<
"Cell " << cellI <<
" consists of faces " <<
c <<
endl;
165 Info <<
"Face " <<
c[fI] <<
" is " << faces[
c[fI]] <<
endl;
168 "void surfaceMorpherCells::morphMesh()"
169 ) <<
"Cell " << cellI <<
" is not topologically closed"
virtual const pointField & points() const
Return raw points.
const polyMeshGenAddressing & addressingData() const
addressing which may be needed
polyMeshGen & mesh_
mesh modifier
void findBoundaryCells()
find boundary cells
A class for handling file names.
#define forAll(list, i)
Loop across all elements in list.
void findBoundaryVertices()
find surface vertices
Template functions to aid in the implementation of demand driven data.
const cellList & cells() const
void replaceBoundary(const wordList &patchNames, const VRWGraph &boundaryFaces, const labelLongList &faceOwners, const labelLongList &facePatches)
replace the boundary with new boundary faces
Ostream & endl(Ostream &os)
Add newline and flush stream.
const faceListPMG & faces() const
access to faces
bool removeCellsWithAllVerticesAtTheBoundary()
remove cells with all vertices at the boundary
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
VRWGraph newBoundaryFaces_
new boundary faces and owner cells
const cellListPMG & cells() const
access to cells
bool morphBoundaryFaces()
morph boundary faces
bool morphInternalFaces()
morph internal faces
wordList patchNames(nPatches)
void removeUnusedVertices()
remove unused vertices
errorManip< error > abort(error &err)
labelLongList newBoundaryPatches_
surfaceMorpherCells(const surfaceMorpherCells &)
Disallow default bitwise copy construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
labelLongList newBoundaryOwners_
const dimensionedScalar c
Speed of light in a vacuum.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
void size(const label)
Override size to be inconsistent with allocated storage.
A cell is defined as a list of faces with extra functionality.
word name(const complex &)
Return a string representation of a complex.
void replaceMeshBoundary()
replace the boundary of the mesh with the newly created one