Go to the documentation of this file.
73 const edge&
e = tetEdges[eI];
74 const label start =
e.start();
76 const row endTets = pointTets[
e.end()];
83 const label tetJ = pointTets(start, ptI);
115 boundaryEdges =
false;
118 # pragma omp parallel for schedule(dynamic, 100)
126 Info <<
"Edge " << edgeI <<
" has points " <<
e <<
endl;
131 const partTet& pt = tets[eTets[tetI]];
134 Info <<
"Checking tet " << eTets[tetI] <<
" points " << pt <<
endl;
140 label searchPoint(-1);
143 if( tetEdges[eI] ==
e )
145 if( tetEdges[eI].start() ==
e.start() )
158 if( searchPoint < 0 )
161 "void voronoiMeshExtractor::createAddressing() const"
170 const partTet& ptNei = tets[eTets[i]];
177 if( tetI < eTets.size()-1 )
180 eTets[tetI+1] = eTets[i];
188 boundaryEdges[edgeI] =
true;
void append(const T &e)
Append an element at the end of the list.
#define forAll(list, i)
Loop across all elements in list.
Template functions to aid in the implementation of demand driven data.
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label size() const
Returns the number of rows.
#define forAllRow(graph, rowI, index)
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
const LongList< point > & tetPoints() const
FixedList< edge, 6 > edges() const
Return edges.
errorManip< error > abort(error &err)
const double e
Elementary charge.
List< bool > boolList
Bool container classes.
void setSize(const label)
Reset size of List.
void reverseAddressing(const label nRows, const GraphType &origGraph)
void appendList(const ListType &l)
Append a list as a row at the end of the graph.
label whichPosition(const label) const
find position of the node in the partTet
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T> with a fixed size <Size>.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
bool contains(const label e) const
check if the element is in the given row (takes linear time)
const LongList< partTet > & tets() const
void append(const T &e)
Append an element at the end of the list.
dimensionedScalar pos(const dimensionedScalar &ds)