Classes | Public Types | Public Member Functions | List of all members
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...
 
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...
 

Detailed Description

All to do with adding layers.

Source files

Definition at line 57 of file snappyLayerDriver.H.

Member Enumeration Documentation

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 ( meshRefinement meshRefiner,
const labelList globalToMasterPatch,
const labelList globalToSlavePatch 
)

Construct from components.

Definition at line 2791 of file snappyLayerDriver.C.

References snappyLayerDriver::mergePatchFacesUndo().

Here is the call graph for this function:

Member Function Documentation

ClassName ( "snappyLayerDriver"  )

Runtime type information.

void mergePatchFacesUndo ( const layerParameters layerParams,
const dictionary motionDict 
)

Merge patch faces on same cell.

Definition at line 2806 of file snappyLayerDriver.C.

References snappyLayerDriver::addLayers(), layerParameters::concaveAngle(), Foam::cos(), Foam::degToRad(), Foam::endl(), layerParameters::featureAngle(), localPointRegion::findDuplicateFacePairs(), forAll, Foam::Info, and primitiveMesh::nFaces().

Referenced by snappyLayerDriver::snappyLayerDriver().

Here is the call graph for this function:

Here is the caller graph for this function:

void addLayers ( const layerParameters layerParams,
const dictionary motionDict,
const labelList patchIDs,
const label  nAllowableErrors,
decompositionMethod decomposer,
fvMeshDistribute distributor 
)

Add cell layers.

Definition at line 2858 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, UpdateableMeshObject, 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(), List< T >::size(), UPtrList< 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:

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

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