Adaptive grid generation for discretizing implicit complexes | Synapse