snappyLayerDriver Class Reference

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...
 

Detailed Description

All to do with adding layers.

Source files

Definition at line 57 of file snappyLayerDriver.H.

Member Enumeration Documentation

◆ 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.

Constructor & Destructor Documentation

◆ snappyLayerDriver() [1/2]

snappyLayerDriver ( meshRefinement meshRefiner,
const labelList globalToMasterPatch,
const labelList globalToSlavePatch 
)

Construct from components.

Definition at line 2781 of file snappyLayerDriver.C.

References snappyLayerDriver::mergePatchFacesUndo().

Here is the call graph for this function:

◆ snappyLayerDriver() [2/2]

snappyLayerDriver ( const snappyLayerDriver )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ ClassName()

ClassName ( "snappyLayerDriver"  )

Runtime type information.

◆ mergePatchFacesUndo()

void mergePatchFacesUndo ( const layerParameters layerParams,
const dictionary motionDict 
)

◆ addLayers()

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(), Time::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().

Here is the caller graph for this function:

◆ doLayers()

void doLayers ( const dictionary shrinkDict,
const dictionary motionDict,
const layerParameters layerParams,
const bool  preBalance,
decompositionMethod decomposer,
fvMeshDistribute distributor 
)

◆ operator=()

void operator= ( const snappyLayerDriver )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: