Classes | Public Types | Public Member Functions | List of all members
autoLayerDriver Class Reference

All to do with adding layers. More...

Public Types

enum  extrudeMode { NOEXTRUDE, EXTRUDE, EXTRUDEREMOVE }
 Extrusion controls. More...
 

Public Member Functions

 ClassName ("autoLayerDriver")
 Runtime type information. More...
 
 autoLayerDriver (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 autoLayerDriver.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 autoLayerDriver.H.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 2784 of file autoLayerDriver.C.

References autoLayerDriver::mergePatchFacesUndo().

Here is the call graph for this function:

Member Function Documentation

ClassName ( "autoLayerDriver"  )

Runtime type information.

void mergePatchFacesUndo ( const layerParameters layerParams,
const dictionary motionDict 
)

Merge patch faces on same cell.

Definition at line 2799 of file autoLayerDriver.C.

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

Referenced by autoLayerDriver::autoLayerDriver().

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 2851 of file autoLayerDriver.C.

References layerParameters::additionalReporting(), polyMesh::boundaryMesh(), fvMesh::clearOut(), Foam::degToRad(), layerParameters::dict(), autoLayerDriver::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(), Vector< Cmpt >::one, p, UPstream::parRun(), Time::path(), primitiveMesh::pointEdges(), polyMesh::points(), layerParameters::relativeSizes(), Foam::returnReduce(), motionSmootherAlgo::setDisplacement(), polyMesh::setInstance(), addPatchCellLayer::setRefinement(), List< T >::size(), PtrList< 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 Vector< Cmpt >::zero.

Referenced by autoLayerDriver::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: