snappyRefineDriver Class Reference

Public Member Functions

 ClassName ("snappyRefineDriver")
 Runtime type information. More...
 
 snappyRefineDriver (meshRefinement &meshRefiner, decompositionMethod &decomposer, fvMeshDistribute &distributor, const labelUList &globalToMasterPatch, const labelUList &globalToSlavePatch, const writer< scalar > &setFormatter, const bool dryRun=false)
 Construct from components. More...
 
void doRefine (const dictionary &refineDict, const refinementParameters &refineParams, const snapParameters &snapParams, const bool prepareForSnapping, const meshRefinement::FaceMergeType mergeType, const dictionary &motionDict)
 Do all the refinement. More...
 

Static Public Member Functions

static void addFaceZones (meshRefinement &meshRefiner, const refinementParameters &refineParams, const HashTable< Pair< word >> &faceZoneToPatches)
 Helper: add faceZones and patches. More...
 

Detailed Description

Source files

Definition at line 65 of file snappyRefineDriver.H.

Constructor & Destructor Documentation

◆ snappyRefineDriver()

snappyRefineDriver ( meshRefinement meshRefiner,
decompositionMethod decomposer,
fvMeshDistribute distributor,
const labelUList globalToMasterPatch,
const labelUList globalToSlavePatch,
const writer< scalar > &  setFormatter,
const bool  dryRun = false 
)

Construct from components.

Definition at line 62 of file snappyRefineDriver.C.

Member Function Documentation

◆ ClassName()

ClassName ( "snappyRefineDriver"  )

Runtime type information.

◆ doRefine()

void doRefine ( const dictionary refineDict,
const refinementParameters refineParams,
const snapParameters snapParams,
const bool  prepareForSnapping,
const meshRefinement::FaceMergeType  mergeType,
const dictionary motionDict 
)

◆ addFaceZones()

void addFaceZones ( meshRefinement meshRefiner,
const refinementParameters refineParams,
const HashTable< Pair< word >> &  faceZoneToPatches 
)
static

Helper: add faceZones and patches.

Definition at line 2735 of file snappyRefineDriver.C.

References meshRefinement::addFaceZone(), meshRefinement::addMeshedPatch(), polyMesh::boundaryMesh(), Foam::endl(), surfaceZonesInfo::faceZoneTypeNames, forAllConstIters(), refinementParameters::getZoneInfo(), Foam::Info, mesh, meshRefinement::mesh(), Foam::nl, patchNames(), Foam::setf(), and Foam::setw().

Here is the call graph for this function:

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