Vector<Integer> getNeighboringCellIds(int index) {
        if (index >= 0) {
            int cellId = cellIds.get(index);
            if ((cellId < 0) || (cellId >= mesh.countCells())) {
                return new Vector<Integer>(0);
            }
            return mesh.getNeighbors(cellId);
        } else {
            return new Vector<Integer>(0);
        }

    }