Documentation

LeanPool.HighContrastHomogenization.Provider.PolynomialHomogenization.ConvexBoundaryDistance

High-contrast homogenization: Provider.PolynomialHomogenization.ConvexBoundaryDistance #

Imported from the Apache-2.0 HighContrastHomogenization development at commit 7a13dbcd8d6609264a713373f5c69ceeac870472.

Euclidean distance to the complement of a domain #

The project vector carrier has the supremum norm. Fractional boundary weights use Euclidean distance, so the distance is taken in the project's Hilbert realization while retaining the ambient Vec carrier.

noncomputable def HCPolySupport.HighContrast.euclideanBoundaryDistance {d : ℕ} (U : Set (Vec d)) (x : Vec d) :

Euclidean distance from x to the complement of U. On an open domain this is the Euclidean distance to its boundary.

Equations
Instances For