Commit 5da4dbe6 authored by mattijs's avatar mattijs
Browse files

ENH: conformalVoronoiMesh: replace fixedlist by tetCell

parent 51e33e73
......@@ -88,11 +88,6 @@ class faceAreaWeightModel;
class backgroundMeshDecomposition;
typedef FixedList<label, 4>globalTetIndices;
typedef HashTable<label, globalTetIndices, Hash<globalTetIndices> >
HashTableGlobalTetIndices;
/*---------------------------------------------------------------------------*\
Class conformalVoronoiMesh Declaration
\*---------------------------------------------------------------------------*/
......
......@@ -46,6 +46,7 @@ Description
#include "Pstream.H"
#include "Swap.H"
#include "InfoProxy.H"
#include "tetCell.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -262,13 +263,13 @@ public:
// Using the globalIndex object, return a list of four (sorted) global
// Delaunay vertex indices that uniquely identify this tet in parallel
inline Foam::FixedList<Foam::label, 4> vertexGlobalIndices
inline Foam::tetCell vertexGlobalIndices
(
const Foam::globalIndex& globalDelaunayVertexIndices
) const
{
// tetVertexGlobalIndices
Foam::FixedList<Foam::label, 4> tVGI(-1);
tetCell tVGI(-1);
for (int i = 0; i < 4; i++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment