Go to the documentation of this file.
57 Info <<
"Removing glued regions" <<
endl;
95 const edge& edg = edges[edgeI];
104 bool foundInside(
false);
133 }
while( !finished );
138 const label nodeI = it.key();
143 if( permissibleNeighbours.
size() )
145 for(
label i=0;i<6;++i)
152 const label nei = neighbours[neiI];
157 if( !permissibleNeighbours.
found(nei) )
173 (*boxTypePtr_)[removeBox[i]] =
BOUNDARY;
191 forAll(receivedBoundary, i)
201 Info <<
"Finished removing glued regions" <<
endl;
void checkGluedRegions()
check if distinct parts are glued together
void append(const T &e)
Append an element at the end of the list.
const List< direction > & nodeType() const
return type of node (INNERNODE,or OUTERNODE)
#define forAll(list, i)
Loop across all elements in list.
bool useDATABoxes_
use DATA boxes
Template functions to aid in the implementation of demand driven data.
const VRWGraph & nodeLabels() const
return nodeLabels
static bool & parRun()
Is this a parallel run?
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Ostream & endl(Ostream &os)
Add newline and flush stream.
direction cubeType() const
return type
const meshOctreeCubeCoordinates & coordinates() const
return coordinates in the octree
void findNeighboursInDirection(const meshOctreeCubeCoordinates &, const label dir, DynList< label > &neighbourLeaves) const
find neighbours over a leaf cube face in the given direction
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const dictionary & meshDict_
reference to the dictionary
label findLeafLabelForPosition(const meshOctreeCubeCoordinates &) const
return leaf cube for the given position
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
void exchangeRequestsWithNeighbourProcessors(const LongList< meshOctreeCubeCoordinates > &dataToSend, LongList< meshOctreeCubeCoordinates > &dataToReceive) const
exchange requests with other processors generating the octree
#define forAllRow(graph, rowI, index)
label size() const
Return number of elements in table.
const VRWGraph & edgeLeaves() const
return edge-leaves addressing
bool found(const Key &) const
Return true if hashedEntry is found in table.
const double e
Elementary charge.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const List< direction > & boxType() const
return which octree boxes are used for mesh creation
bool insert(const Key &key)
Insert a new entry.
const LongList< edge > & octreeEdges() const
return octree edges, created for MESHCELL boxes
bool hasContainedTriangles(const label) const
const FRWGraph< label, 8 > & nodeLeaves() const
return nodeLeaves
const meshOctree & octree_
reference to the octree
const VRWGraph & leafEdges() const
return leaf-edges addressing
const meshOctreeCubeBasic & returnLeaf(const label) const
void clear()
Clear the list, i.e. set next free to zero.