#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. | |
Definition at line 61 of file snappyRefineDriver.H.
| 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.
| ClassName | ( | "snappyRefineDriver" | ) |
Runtime type information.
| 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.
Commented out for now since causes zoning errors (sigsegv) on
case with faceZones. TBD. // Refine any cells are point/edge connected to the boundary and have a // lower refinement level than the neighbouring cells boundaryRefinementInterfaceRefine ( refineParams, 10 // maxIter );
Definition at line 3469 of file snappyRefineDriver.C.
References addFaceZones(), addProfiling, meshRefinement::CASTELLATEDBUFFERLAYER, meshRefinement::CASTELLATEDBUFFERLAYER2, snappyVoxelMeshDriver::doRefine(), Foam::endl(), refinementParameters::findCells(), Pair< T >::first(), forAll, surfaceZonesInfo::getUnnamedSurfaces(), Foam::Info, HashTable< T, Key, Hash >::insert(), Foam::labelMax, refinementParameters::locationsInMesh(), refinementParameters::locationsOutsideMesh(), Foam::max(), mesh, refinementParameters::minCellFraction(), Foam::nl, refinementParameters::nMinCells(), UPstream::parRun(), patches, Pair< T >::second(), bitSet::set(), HashTable< T, Key, Hash >::size(), UList< T >::size(), bitSet::sortedToc(), HashTable< T, Key, Hash >::sortedToc(), syncTools::syncPointList(), and refinementParameters::zonesInMesh().

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

