Loading...
Searching...
No Matches
snappyRefineDriver Class Reference

#include <snappyRefineDriver.H>

Public Member Functions

 ClassName ("snappyRefineDriver")
 Runtime type information.
 snappyRefineDriver (meshRefinement &meshRefiner, decompositionMethod &decomposer, fvMeshDistribute &distributor, const labelUList &globalToMasterPatch, const labelUList &globalToSlavePatch, coordSetWriter &setFormatter, refPtr< surfaceWriter > &surfFormatter, const bool dryRun=false)
 Construct from components.
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.

Static Public Member Functions

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

Detailed Description

Source files

Definition at line 61 of file snappyRefineDriver.H.

Constructor & Destructor Documentation

◆ snappyRefineDriver()

snappyRefineDriver ( meshRefinement & meshRefiner,
decompositionMethod & decomposer,
fvMeshDistribute & distributor,
const labelUList & globalToMasterPatch,
const labelUList & globalToSlavePatch,
coordSetWriter & setFormatter,
refPtr< surfaceWriter > & surfFormatter,
const bool dryRun = false )

Construct from components.

Definition at line 57 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 3193 of file snappyRefineDriver.C.

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

Referenced by doRefine().

Here is the call graph for this function:
Here is the caller graph for this function:

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