All to do with adding layers. More...
Public Types | |
enum | extrudeMode { NOEXTRUDE, EXTRUDE, EXTRUDEREMOVE } |
Extrusion controls. More... | |
Public Member Functions | |
ClassName ("snappyLayerDriver") | |
Runtime type information. More... | |
snappyLayerDriver (meshRefinement &meshRefiner, const labelList &globalToMasterPatch, const labelList &globalToSlavePatch) | |
Construct from components. More... | |
snappyLayerDriver (const snappyLayerDriver &)=delete | |
Disallow default bitwise copy construction. More... | |
void | mergePatchFacesUndo (const layerParameters &layerParams, const dictionary &motionDict) |
Merge patch faces on same cell. More... | |
void | addLayers (const layerParameters &layerParams, const dictionary &motionDict, const labelList &patchIDs, const label nAllowableErrors, decompositionMethod &decomposer, fvMeshDistribute &distributor) |
Add cell layers. More... | |
void | doLayers (const dictionary &shrinkDict, const dictionary &motionDict, const layerParameters &layerParams, const bool preBalance, decompositionMethod &decomposer, fvMeshDistribute &distributor) |
Add layers according to the dictionary settings. More... | |
void | operator= (const snappyLayerDriver &)=delete |
Disallow default bitwise assignment. More... | |
enum extrudeMode |
Extrusion controls.
Enumerator | |
---|---|
NOEXTRUDE | Do not extrude. No layers added. |
EXTRUDE | Extrude. |
EXTRUDEREMOVE | Extrude but afterwards remove added faces locally |
Definition at line 64 of file snappyLayerDriver.H.
snappyLayerDriver | ( | meshRefinement & | meshRefiner, |
const labelList & | globalToMasterPatch, | ||
const labelList & | globalToSlavePatch | ||
) |
Construct from components.
Definition at line 2781 of file snappyLayerDriver.C.
References snappyLayerDriver::mergePatchFacesUndo().
|
delete |
Disallow default bitwise copy construction.
ClassName | ( | "snappyLayerDriver" | ) |
Runtime type information.
void mergePatchFacesUndo | ( | const layerParameters & | layerParams, |
const dictionary & | motionDict | ||
) |
Merge patch faces on same cell.
Definition at line 2796 of file snappyLayerDriver.C.
References snappyLayerDriver::addLayers(), polyMesh::boundaryMesh(), layerParameters::concaveAngle(), Foam::cos(), Foam::degToRad(), Foam::endl(), layerParameters::featureAngle(), localPointRegion::findDuplicateFacePairs(), forAll, Foam::Info, layerParameters::mergeFaces(), primitiveMesh::nFaces(), layerParameters::no, patchi, and layerParameters::yes.
Referenced by snappyLayerDriver::snappyLayerDriver().
void addLayers | ( | const layerParameters & | layerParams, |
const dictionary & | motionDict, | ||
const labelList & | patchIDs, | ||
const label | nAllowableErrors, | ||
decompositionMethod & | decomposer, | ||
fvMeshDistribute & | distributor | ||
) |
Add cell layers.
Definition at line 2862 of file snappyLayerDriver.C.
References layerParameters::additionalReporting(), polyMesh::boundaryMesh(), fvMesh::clearOut(), Foam::degToRad(), layerParameters::dict(), snappyLayerDriver::doLayers(), primitiveMesh::edges(), Foam::endl(), Foam::faceMap(), layerParameters::featureAngle(), layerParameters::finalLayerThicknessRatio(), forAll, addPatchCellLayer::globalEdgeFaces(), Foam::identity(), Foam::Info, Foam::inplaceReorder(), HashSet< Key, Hash >::insert(), IOobject::instance(), meshRefinement::LAYERINFO, Foam::mag(), polyTopoChange::makeMesh(), meshRefinement::makePatch(), layerParameters::maxFaceThicknessRatio(), dictionary::merge(), mesh, layerParameters::meshShrinker(), fvMesh::movePoints(), fvMesh::name(), IOobject::name(), layerParameters::nBufferCellsNoExtrude(), primitiveMesh::nCells(), MeshObject< polyMesh, PatchMeshObject, pointMesh >::New(), externalDisplacementMeshMover::New(), primitiveMesh::nFaces(), layerParameters::nGrow(), primitiveMesh::nInternalFaces(), layerParameters::nLayerIter(), IOobject::NO_READ, nPoints, layerParameters::nRelaxedIter(), layerParameters::numLayers(), VectorSpace< Vector< scalar >, scalar, 3 >::one, p, UPstream::parRun(), TimePaths::path(), primitiveMesh::pointEdges(), polyMesh::points(), layerParameters::relativeSizes(), Foam::returnReduce(), motionSmootherAlgo::setDisplacement(), polyMesh::setInstance(), addPatchCellLayer::setRefinement(), UPtrList< T >::size(), List< T >::size(), HashTable< T, Key, Hash >::size(), dictionary::subDict(), fvMesh::time(), meshRefinement::updateList(), fvMesh::updateMesh(), addPatchCellLayer::updateMesh(), Ostream::write(), regIOobject::write(), fvMesh::write(), meshRefinement::writeLevel(), meshRefinement::WRITEMESH, and Foam::Zero.
Referenced by snappyLayerDriver::mergePatchFacesUndo().
void doLayers | ( | const dictionary & | shrinkDict, |
const dictionary & | motionDict, | ||
const layerParameters & | layerParams, | ||
const bool | preBalance, | ||
decompositionMethod & | decomposer, | ||
fvMeshDistribute & | distributor | ||
) |
Add layers according to the dictionary settings.
Definition at line 3621 of file snappyLayerDriver.C.
References List< T >::append(), polyMesh::boundaryMesh(), motionSmootherAlgo::checkMesh(), polyPatch::coupled(), Foam::endl(), polyPatch::faceCells(), forAll, Foam::Info, patchIdentifier::name(), primitiveMesh::nCells(), primitiveMesh::nFaces(), layerParameters::numLayers(), UPstream::parRun(), patchi, Foam::returnReduce(), UPtrList< T >::size(), List< T >::size(), and WarningInFunction.
Referenced by snappyLayerDriver::addLayers().
|
delete |
Disallow default bitwise assignment.