Go to the documentation of this file.
53 label faceI = cFaces[cFaceI];
57 if ((patchID >= 0) && (
patches[patchID].coupled()))
102 nWalls +=
patches[patchI].size();
111 label nChangedFaces = 0;
127 changedFaces[nChangedFaces] = meshFaceI;
163 Info<<
"wallLayerCells::getRefinement : dumping selected faces to "
164 <<
"selectedFaces.obj" <<
endl;
166 OFstream fcStream(
"selectedFaces.obj");
178 point mid(0.0, 0.0, 0.0);
187 <<
"v " << mid.
x() <<
' ' << mid.
y() <<
' ' << mid.
z()
194 <<
"v " << end.
x() <<
' ' << end.
y() <<
' ' << end.
z()
198 fcStream <<
"l " << vertI <<
' ' <<vertI-1 <<
endl;
218 if (info.
valid(regionCalc.
data()) && !usesCoupledPatch(cellI))
225 transfer(refineCells);
wallLayerCells(const polyMesh &mesh, const List< word > &patchNames, const label nLayers)
Construct from components.
virtual const pointField & points() const
Return raw points.
const List< Type > & allFaceInfo() const
Get allFaceInfo.
const vector & normal() const
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
const cellList & cells() const
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label iterate(const label maxIter)
Iterate until no changes or maxIter reached. Returns actual.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
wordList patchNames(nPatches)
const TrackingData & data() const
Additional data to be passed into container.
bool found(const Key &) const
Return true if hashedEntry is found in table.
label start() const
Return start label of this patch in the polyMesh face list.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
Holds information regarding type of cell. Used in inside/outside determination in cellClassification.
Container with cells to refine. Refinement given as single direction.
virtual const faceList & faces() const
Return raw faces.
const Field< PointType > & faceNormals() const
Return face normals for patch.
Holds information regarding nearest wall point. Used in wall refinement.
A face is a list of labels corresponding to mesh vertices.
bool usesCoupledPatch(const label cellI) const
Check if any of the faces of cellI is on processorPatch.
void size(const label)
Override size to be inconsistent with allocated storage.
defineTypeNameAndDebug(combustionModel, 0)
A cell is defined as a list of faces with extra functionality.
word name(const complex &)
Return a string representation of a complex.
const List< Type > & allCellInfo() const
Get allCellInfo.
const polyMesh & mesh() const