Class representing domain discretization along with an associated shape.
static Range< int > refine_impl(DomainDiscretization< vec_t > &domain, const Range< int > ®ion, double fraction, KDTreeMutable< vec_t > &domain_tree)
Refine implementation with more control over fine grained details.