Skip to content
Snippets Groups Projects
Commit 3486e049 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Make refiner-generated data structure match docs (fix attr typo)

parent 8184ec57
No related branches found
No related tags found
No related merge requests found
......@@ -797,7 +797,7 @@ class Refiner(object):
assert neighbors_starts[-1] == len(neighbors)
from meshmode.mesh import NodalAdjacency
return NodalAdjacency(neighbor_starts=neighbors_starts, neighbors=neighbors)
return NodalAdjacency(neighbors_starts=neighbors_starts, neighbors=neighbors)
# }}}
......
......@@ -64,7 +64,7 @@ def check_nodal_adj_against_geometry(mesh, tol=1e-12):
for igrp, grp in enumerate(mesh.groups):
for iel_grp in range(grp.nelements):
iel_g = group_and_iel_to_global_iel(igrp, iel_grp)
nb_starts = nadj.neighbor_starts
nb_starts = nadj.neighbors_starts
for nb_iel_g in nadj.neighbors[nb_starts[iel_g]:nb_starts[iel_g+1]]:
connected_to_element_connectivity[iel_g].add(nb_iel_g)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment