Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
[cos((tilt + k / 3.0) * pi), sin((tilt + k / 3.0) * pi), 0.0]
for k in range(6)
],
]
)
cells_nodes = numpy.array(
[[0, 1, 2], [0, 2, 3], [0, 3, 4], [0, 4, 5], [0, 5, 6], [0, 6, 1]]
)
edge_nodes, cells_edges = create_edges(cells_nodes)
# Refine.
args = nodes, cells_nodes, edge_nodes, cells_edges
for _ in range(ref_steps):
args = _refine(*args)
return args[0], args[1]