MCPcopy Create free account
hub / github.com/Kitware/VTK / mandelbrotSide

Function mandelbrotSide

Common/DataModel/Testing/Python/TestHyperTreeGrid3DMandel.py:60–70  ·  view source on GitHub ↗
(bounds)

Source from the content-addressed store, hash-verified

58
59
60def mandelbrotSide(bounds):
61 count = 1
62 if mandelbrotTest(bounds[0], bounds[2]):
63 count += 1
64 if mandelbrotTest(bounds[1], bounds[2]):
65 count += 1
66 if mandelbrotTest(bounds[0], bounds[3]):
67 count += 1
68 if mandelbrotTest(bounds[1], bounds[3]):
69 count += 1
70 return count
71
72
73def shouldRefine(level, bounds):

Callers 1

handleNodeFunction · 0.70

Calls 1

mandelbrotTestFunction · 0.70

Tested by

no test coverage detected