splitCell Class Reference

Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement. More...

Public Member Functions

 splitCell (const label celli, splitCell *parent)
 Construct from cell number and parent. More...
 
 ~splitCell ()
 Destructor. More...
 
label cellLabel () const
 
label & cellLabel ()
 
splitCellparent () const
 
splitCell *& parent ()
 
splitCellmaster () const
 
splitCell *& master ()
 
splitCellslave () const
 
splitCell *& slave ()
 
bool isMaster () const
 Check if this is master cell of split. More...
 
bool isUnrefined () const
 Check if this is unrefined (i.e. has no master or slave) More...
 
splitCellgetOther () const
 Returns other half of split cell. I.e. slave if this is master. More...
 

Detailed Description

Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement.

Source files

Definition at line 51 of file splitCell.H.

Constructor & Destructor Documentation

◆ splitCell()

splitCell ( const label  celli,
splitCell parent 
)

Construct from cell number and parent.

Definition at line 33 of file splitCell.C.

◆ ~splitCell()

~splitCell ( )

Destructor.

Definition at line 44 of file splitCell.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::slave().

Here is the call graph for this function:

Member Function Documentation

◆ cellLabel() [1/2]

label cellLabel ( ) const
inline

Definition at line 93 of file splitCell.H.

Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::removeSplitFaces().

Here is the caller graph for this function:

◆ cellLabel() [2/2]

label & cellLabel ( )
inline

Definition at line 98 of file splitCell.H.

◆ parent() [1/2]

splitCell * parent ( ) const
inline

Definition at line 103 of file splitCell.H.

Referenced by UPstream::baseProcNo(), undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), GAMGAgglomeration::prolongField(), undoableMeshCutter::removeSplitFaces(), GAMGAgglomeration::restrictField(), and undoableMeshCutter::~undoableMeshCutter().

Here is the caller graph for this function:

◆ parent() [2/2]

splitCell *& parent ( )
inline

Definition at line 108 of file splitCell.H.

◆ master() [1/2]

splitCell * master ( ) const
inline

Definition at line 113 of file splitCell.H.

Referenced by abort::abort(), effectivenessHeatExchangerSource::addSup(), regIOobject::addWatch(), masterUncollatedFileOperation::addWatch(), Pstream::broadcast(), Pstream::broadcasts(), mappedPatchBase::calcMapping(), decomposedBlockData::calcNumProcs(), pointNoise::calculate(), surfaceNoise::calculate(), viewFactor::calculate(), argList::check(), fileWriter::checkFormatterValidity(), faBoundaryMesh::checkParallelSync(), polyBoundaryMesh::checkParallelSync(), argList::checkRootCase(), extractEulerianParticles::collectParticle(), sizeDistribution::combineFields(), commSchedule::commSchedule(), writeFile::createFile(), logFiles::createFiles(), Foam::createReconstructMap(), dictionary::csearchCompat(), simpleGeomDecomp::decompose(), metisLikeDecomp::decomposeGeneral(), masterUncollatedFileOperation::dirPath(), systemCall::dispatch(), distributedTriSurfaceMesh::distribute(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), snappyVoxelMeshDriver::doRefine(), abort::end(), Curle::execute(), momentum::execute(), wallHeatFlux::execute(), abort::execute(), Foam::expandLeadingTilde(), externalFileCoupler::externalFileCoupler(), masterUncollatedFileOperation::filePath(), interfaceHeight::files(), logFiles::files(), distanceSurface::filterKeepLargestRegion(), distanceSurface::filterKeepNearestRegions(), distanceSurface::filterRegionProximity(), probes::findElements(), masterUncollatedFileOperation::findInstance(), masterUncollatedFileOperation::findTimes(), masterUncollatedFileOperation::findWatch(), STDMD::fit(), decomposedBlockData::gather(), globalIndex::gather(), externalCoupled::gatherAndCombine(), PatchTools::gatherAndMerge(), globalIndex::gatherInplace(), decomposedBlockData::gatherSlaveData(), coordSet::gatherSort(), masterUncollatedFileOperation::getFile(), codeStream::getFunction(), splitCell::getOther(), masterUncollatedFileOperation::getState(), Random::globalGaussNormal(), Random::globalPosition(), Random::globalRandomise01(), Random::globalSample01(), viewFactor::initialise(), surfaceNoise::initialise(), splitCell::isMaster(), collatedFileOperation::isMasterRank(), JobInfo::JobInfo(), UPstream::listGatherValues(), UPstream::listScatterValues(), fvMeshTools::loadOrCreateMesh(), faMeshTools::loadOrCreateMesh(), fileOperation::lookupAndCacheProcessorsPath(), LUscalarMatrix::LUscalarMatrix(), NURBS3DVolume::makeFolders(), error::master(), masterUncollatedFileOperation::masterOp(), messageStream::masterStream(), surfaceWriter::mergeFieldTemplate(), globalIndex::mpiGather(), globalIndex::mpiGatherInplace(), globalIndex::mpiGatherInplaceOp(), ensightCase::newCloud(), ensightCase::newCloudData(), ensightCase::newData(), ensightCase::newGeometry(), masterUncollatedFileOperation::NewIFstream(), fvMeshTools::newMesh(), faMeshTools::newMesh(), fileOperation::nProcs(), objectiveManager::objectiveManager(), fileWriter::open(), InflationInjection< CloudType >::parcelsToInject(), argList::parse(), ParticleZoneInfo< CloudType >::ParticleZoneInfo(), pointHistory::pointHistory(), porosityModel::porosityModel(), probes::prepare(), collatedFileOperation::printBanner(), meshRefinement::printMeshInfo(), singleDirectionUniformBin::processField(), uniformBin::processField(), decomposedBlockData::read(), timeActivatedFileUpdate::read(), sampledSets::read(), externalCoupled::read(), writeFile::read(), sampledSurfaces::read(), masterUncollatedFileOperation::read(), uncollatedFileOperation::read(), decomposedBlockData::readBlocks(), lumpedPointState::readData(), baseIOdictionary::readData(), fieldsDistributor::readFields(), masterUncollatedFileOperation::readHeader(), regIOobject::readHeaderOk(), masterUncollatedFileOperation::readObjects(), masterUncollatedFileOperation::readStream(), surfaceNoise::readSurfaceData(), noiseModel::readWriteOption(), externalCoupled::removeDataMaster(), externalCoupled::removeDataSlave(), RemoveParcels< CloudType >::RemoveParcels(), masterUncollatedFileOperation::removeWatch(), parProfiling::report(), logFiles::resetNames(), masterUncollatedFileOperation::scatterList(), mapDistributeBase::schedule(), searchableSurfaceCollection::searchableSurfaceCollection(), faMatrix< Type >::setReference(), undoableMeshCutter::setRefinement(), ensightCase::setTime(), masterUncollatedFileOperation::setUnmodified(), globalMeshData::sharedPoints(), shortestPathSet::shortestPathSet(), externalFileCoupler::shutdown(), snappyVoxelMeshDriver::snappyVoxelMeshDriver(), rigidBodyMeshMotion::solve(), rigidBodyMeshMotionSolver::solve(), rigidBodyMotion::solve(), LUscalarMatrix::solve(), ParSortableList< Type >::sort(), SQP::SQP(), messageStream::stream(), Foam::subDictCompat(), surfaceNoise::surfaceAverage(), hexRef8Data::sync(), syncTools::syncEdgeMap(), syncTools::syncPointMap(), triSurfaceMesh::triSurfaceMesh(), IOobject::typeHeaderOk(), sixDoFRigidBodyMotion::update(), activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs(), electrostaticDepositionFvPatchScalarField::updateCoeffs(), lumpedPointDisplacementPointPatchVectorField::updateCoeffs(), updateMethod::updateMethod(), masterUncollatedFileOperation::updateStates(), fileMonitor::updateStates(), solution::upgradeSolverDict(), externalFileCoupler::useMaster(), externalFileCoupler::useSlave(), OFstreamCollator::waitAll(), externalFileCoupler::waitForMaster(), externalFileCoupler::waitForSlave(), Foam::warnCompatDegrees(), surfaceFieldValue::write(), volFieldValue::write(), histogram::write(), reactionsSensitivityAnalysis< chemistryType >::write(), regionSizeDistribution::write(), wallShearStress::write(), yPlus::write(), vtkCloud::write(), sizeDistribution::write(), energySpectrum::write(), timeInfo::write(), vtkWrite::write(), ParticleZoneInfo< CloudType >::write(), SQP::write(), abaqusWriter::write(), boundaryDataWriter::write(), foamWriter::write(), nastranWriter::write(), proxyWriter::write(), rawWriter::write(), starcdWriter::write(), vtkWriter::write(), x3dWriter::write(), objective::write(), patchWriter::write(), sensitivityBezier::write(), sensitivityBezierFI::write(), sensitivityVolBSplines::write(), sensitivityVolBSplinesFI::write(), OFstreamCollator::write(), NURBS3DCurve::write(), NURBS3DSurface::write(), surfaceFieldValue::writeAll(), propellerInfo::writeAxialWake(), decomposedBlockData::writeBlocks(), ensightWriter::writeCollated(), updateMethod::writeCorrection(), NURBS3DVolume::writeCps(), decomposedBlockData::writeData(), vtkCloud::writeFields(), lumpedPointMovement::writeForcesAndMomentsVTP(), externalCoupled::writeGeometry(), objective::writeInstantaneousSeparator(), objective::writeInstantaneousValue(), isoAdvection::writeIsoFaces(), objective::writeMeanValue(), faMeshReconstructor::writeMesh(), patchMeshWriter::writeNeighIDs(), collatedFileOperation::writeObject(), decomposedBlockData::writeObject(), regIOobject::writeObject(), patchMeshWriter::writePatchIDs(), patchMeshWriter::writePoints(), faMeshTools::writeProcAddressing(), fileWriter::writeProcIDs(), lumpedPointMovement::writeStateVTP(), surfaceNoise::writeSurfaceData(), abaqusWriter::writeTemplate(), boundaryDataWriter::writeTemplate(), foamWriter::writeTemplate(), nastranWriter::writeTemplate(), rawWriter::writeTemplate(), starcdWriter::writeTemplate(), vtkWriter::writeTemplate(), x3dWriter::writeTemplate(), streamLineBase::writeToFile(), ensightWriter::writeUncollated(), surfaceFieldValue::writeValues(), NURBS3DSurface::writeVTK(), lumpedPointState::writeVTP(), propellerInfo::writeWake(), AMIWeights::writeWeightField(), NURBS3DCurve::writeWParses(), NURBS3DSurface::writeWParses(), and splitCell::~splitCell().

◆ master() [2/2]

splitCell *& master ( )
inline

Definition at line 118 of file splitCell.H.

◆ slave() [1/2]

splitCell * slave ( ) const
inline

Definition at line 123 of file splitCell.H.

Referenced by splitCell::getOther(), splitCell::isMaster(), undoableMeshCutter::setRefinement(), and splitCell::~splitCell().

Here is the caller graph for this function:

◆ slave() [2/2]

splitCell *& slave ( )
inline

Definition at line 128 of file splitCell.H.

◆ isMaster()

bool isMaster ( ) const

Check if this is master cell of split.

Definition at line 71 of file splitCell.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::slave().

Referenced by undoableMeshCutter::getAddedCells(), and undoableMeshCutter::getSplitFaces().

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

◆ isUnrefined()

bool isUnrefined ( ) const

Check if this is unrefined (i.e. has no master or slave)

Definition at line 101 of file splitCell.C.

Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::removeSplitFaces().

Here is the caller graph for this function:

◆ getOther()

Foam::splitCell * getOther ( ) const

Returns other half of split cell. I.e. slave if this is master.

Definition at line 107 of file splitCell.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::slave().

Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::~undoableMeshCutter().

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: