Functions | Variables
createSingleCellMesh.H File Reference

Go to the source code of this file.

Functions

Info<< "Constructing single cell mesh"<< nl<< endl;labelList owner(6, label(0));labelList neighbour(0);pointField points(8);points[0]=vector(0, 0, 0);points[1]=vector(1, 0, 0);points[2]=vector(1, 1, 0);points[3]=vector(0, 1, 0);points[4]=vector(0, 0, 1);points[5]=vector(1, 0, 1);points[6]=vector(1, 1, 1);points[7]=vector(0, 1, 1);const cellModel &hexa=*(cellModeller::lookup("hex"));faceList faces=hexa.modelFaces();fvMesh mesh(IOobject(fvMesh::defaultRegion, runTime.timeName(), runTime, IOobject::READ_IF_PRESENT), xferMove< Field< vector > >points), faces.xfer(), owner.xfer(), neighbour.xfer());List< polyPatch * > patches (1)
 
mesh addFvPatches (patches)
 

Variables

 patches [0]
 

Function Documentation

Info<< "Constructing single cell mesh" << nl << endl;labelList owner(6, label(0));labelList neighbour(0);pointField points(8);points[0] = vector(0, 0, 0);points[1] = vector(1, 0, 0);points[2] = vector(1, 1, 0);points[3] = vector(0, 1, 0);points[4] = vector(0, 0, 1);points[5] = vector(1, 0, 1);points[6] = vector(1, 1, 1);points[7] = vector(0, 1, 1);const cellModel& hexa = *(cellModeller::lookup("hex"));faceList faces = hexa.modelFaces();fvMesh mesh( IOobject ( fvMesh::defaultRegion, runTime.timeName(), runTime, IOobject::READ_IF_PRESENT ), xferMove<Field<vector> >points), faces.xfer(), owner.xfer(), neighbour.xfer());List<polyPatch*> patches ( )
mesh addFvPatches ( patches  )

Variable Documentation

patches[0]
Initial value:
= new emptyPolyPatch
(
"boundary",
6,
0,
0,
mesh.boundaryMesh(),
emptyPolyPatch::typeName
)
dynamicFvMesh & mesh

Definition at line 36 of file createSingleCellMesh.H.

Referenced by isoSurface::adaptPatchFields(), fvMeshAdder::add(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), decompositionMethod::calcCellCells(), cellToFaceStencil::calcFaceStencil(), polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceSkewness(), polyMeshTetDecomposition::checkFaceTets(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), hexRef8::checkMesh(), edgeCollapser::checkMeshQuality(), polyMeshGeometry::checkVolRatio(), SSG< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), advectionDiffusion::correct(), ReynoldsStress< BasicTurbulenceModel >::correctWallShearStress(), meshRefinement::createZoneBaffles(), decompositionMethod::decompose(), fvMeshDistribute::distribute(), extendedCellToCellStencil::extendedCellToCellStencil(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), localPointRegion::findDuplicateFacePairs(), polyMeshTetDecomposition::findFaceBasePts(), fvBoundaryMesh::findPatchID(), polyBoundaryMesh::findPatchID(), forAll(), FreeStream< CloudType >::FreeStream(), fvBoundaryMeshMapper::fvBoundaryMeshMapper(), removeCells::getExposedFaces(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), particle< Type >::hitWallFaces(), localPointRegion::localPointRegion(), meshRefinement::makePatch(), meshRefinement::mergeBaffles(), meshRefinement::mergePatchFacesUndo(), meshRefinement::meshedPatches(), fvMesh::movePoints(), NamedEnum< Enum, nEnum >::names(), polyBoundaryMesh::names(), ensightMesh::nFacePrimitives::nFacePrimitives(), nearestEqOp::operator()(), polyBoundaryMesh::physicalTypes(), pointBoundaryMeshMapper::pointBoundaryMeshMapper(), polyBoundaryMesh::polyBoundaryMesh(), fvMeshDistribute::printCoupleInfo(), fvMeshDistribute::printMeshInfo(), polyBoundaryMesh::reorder(), patchProbes::sample(), motionSmootherAlgo::scaleMesh(), meshRefinement::selectSeparatedCoupledFaces(), decompositionMethod::setConstraints(), polyBoundaryMesh::setGroup(), duplicatePoints::setRefinement(), removeCells::setRefinement(), perfectInterface::setRefinement(), removeFaces::setRefinement(), surfacePatchIOList::surfacePatchIOList(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), meshRefinement::testSyncBoundaryFaceList(), particle< Type >::trackToFace(), polyBoundaryMesh::types(), motionSmootherAlgo::updateMesh(), cellToFaceStencil::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), polyBoundaryMesh::writeData(), meshRefinement::zonify(), and repatchPolyTopoChanger::~repatchPolyTopoChanger().