Lines Matching refs:depth

210 …tities for some reason. By default, the DMPlex comes with a label called 'depth'. This labels each…
223 "label name = depth \tlabel size = 3\n"
237 …"So the label 'depth' does exist and we see that there are 3 different entries. Now we will loop o…
249 "point = 0 \tlabel(depth) = 2\n",
250 "point = 1 \tlabel(depth) = 2\n",
251 "point = 2 \tlabel(depth) = 2\n",
252 "point = 3 \tlabel(depth) = 2\n",
253 "point = 4 \tlabel(depth) = 0\n",
254 "point = 5 \tlabel(depth) = 0\n",
255 "point = 6 \tlabel(depth) = 0\n",
256 "point = 7 \tlabel(depth) = 0\n",
257 "point = 8 \tlabel(depth) = 0\n",
258 "point = 9 \tlabel(depth) = 0\n",
259 "point = 10 \tlabel(depth) = 0\n",
260 "point = 11 \tlabel(depth) = 0\n",
261 "point = 12 \tlabel(depth) = 0\n",
262 "point = 13 \tlabel(depth) = 1\n",
263 "point = 14 \tlabel(depth) = 1\n",
264 "point = 15 \tlabel(depth) = 1\n",
265 "point = 16 \tlabel(depth) = 1\n",
266 "point = 17 \tlabel(depth) = 1\n",
267 "point = 18 \tlabel(depth) = 1\n",
268 "point = 19 \tlabel(depth) = 1\n",
269 "point = 20 \tlabel(depth) = 1\n",
270 "point = 21 \tlabel(depth) = 1\n",
271 "point = 22 \tlabel(depth) = 1\n",
272 "point = 23 \tlabel(depth) = 1\n",
273 "point = 24 \tlabel(depth) = 1\n"
279 " print(\"point =\",i, \"\\tlabel(depth) = %d\" % plex.getLabelValue(\"depth\",i))"
286 … of indices in the chart which correspond to each value of the depth, the so-called *depth stratum…
298 "depth = 0 \tdepth stratum = (4, 13) \theight stratum = (0, 4)\n",
299 "depth = 1 \tdepth stratum = (13, 25) \theight stratum = (13, 25)\n",
300 "depth = 2 \tdepth stratum = (0, 4) \theight stratum = (4, 13)\n"
306 …" print(\"depth = %d\" % i,\"\\tdepth stratum = \",plex.getDepthStratum(i),\"\\theight stratum …
356 " if plex.getLabelValue(\"depth\",i) == 1: # this is an edge\n",
366 …which maps vertex numbers to the chartID we can get the PETSc IS for the 'depth' label for a value…
375 "vis = plex.getStratumIS(\"depth\",0)\n",
383 … return a local to global mapping of vertices (smallest depth in chart) and cells (largest depth i…