Lens (ERG Volume)
GRG Lens β Points β’ Dual Surface β’ ERG Volume β’ Smooth (CΒ²)
We build the closed solid and compute the ERG volume, then apply Smooth$_\varepsilon$ with $C^{2}$ continuity to avoid optical edges.
1) Definitions (curvatures & adaptive step)
- Principal curvatures $(\kappa_1,\kappa_2)$; $\kappa_{\max}=\max(|\kappa_1|,|\kappa_2|)$.
- Local step $h(u,v)$: imposed by $2\sqrt{\varepsilon/\kappa_{\max}}$.
- Perfect at scale $\varepsilon$: geometric deviation $\le \varepsilon$ on the whole lens.
Axisymmetric case $z=f(r)$
2) Points β Dual surface β ERG volume
2.1 Points (adaptive radialβangular grid)
Sample $S_1$ and $S_2$ with $\Delta r$, $\Delta \theta$ such that local geodesic spacing never exceeds $h(u,v)$. Density increases where $\kappa_{\max}$ is higher (small radii or high-curvature regions).
2.2 Surfaces and closure
Build two coherent meshes $S_1, S_2$ and close with a thin lateral ring (cylindrical rim) to obtain a closed, oriented solid.
2.3 ERG volume
Tetrahedra method (as for the sphere) on the closed mesh:
If axisymmetric, cylindrical shells give a consistent Riemann sum:
which matches the tetrahedra estimate with $O(h^{2})$ error when the sampling bound is enforced.
3) Smooth$_{\varepsilon}$ for optics (CΒ² continuity)
Goal: remove micro-faceting and guarantee surface and derivative continuity ($C^{2}$) for stable normals and curvature.
- Local MLS/RBF fit (degree $\ge 2$) on a radius $\rho\in[h,2h]$ for each face.
- Resample vertices on the smoothed patches; deviation $\le \varepsilon/2$.
- Normal filtering along geodesic neighborhoods, bandwidth $\propto \varepsilon$.
- Optical check: angular variation of normals consistent with expected faceting and no edges (no $C^{1}$ discontinuities).
- Topology check: no self-intersections after smoothing.
4) Algorithm (concise)
input: surfaces S1, S2 (or z1=f1(r), z2=f2(r)), Ξ΅
for each face Sβ{S1, S2}:
compute ΞΊ_max(u,v) # or, for revolution, ΞΊ_mer(r), ΞΊ_circ(r)
set h(u,v) β 2*sqrt(Ξ΅/ΞΊ_max(u,v))
generate adaptive grid (Ξr, ΞΞΈ) satisfying h
T β triangulate(S1) βͺ triangulate(S2) βͺ cylindrical_rim
orient(T)
A β sum_areas(T)
V_ERG β tetra_volume(T)
if optical requirements:
T' β smooth_MLS_RBF_C2(T) with deviation β€ Ξ΅/2
check_normals(T') # continuity & angular variation
check_self_intersections(T')
output: (closed mesh T', A, V_ERG, normals)
5) Checks & validation
- Hausdorff (ideal β mesh) $\le \varepsilon$.
- $C^{2}$ continuity after smoothing (tests on numerical derivatives of patches).
- Triangle quality and no self-intersections.
- (Optional) qualitative optical test: no βstepsβ.
6) Why it matters
Lenses require $C^{2}$ continuity: even tiny edges degrade refraction. GRG adaptive sampling densifies where needed; Smooth$_\varepsilon$ controls deviation. The result is a lens βperfect at the chosen resolutionβ, with validated ERG volume.
7) Figures (inline SVG)
8) FAQ
How do I choose $\varepsilon$ for optics?
Start from the required form tolerance (e.g., $\lambda/10$ or microns) and translate it into a geometric deviation limit.
Does smoothing alter dioptric power?
No, if capped at $\varepsilon/2$ and validated with deviation maps and derivative checks.
What about the rim?
Close with a coherent ring: no sharp or inverted edges; enforce correct orientation.
ERG Quick Calculator
This compact tool computes the quarter-sampling step Ξu and the grid size K from the dyadic level b, previews the uk values, and exports the grid to CSV.
Inputs
- Dyadic level b β ββ₯0 (recommended range: 0β18)
- Optional: recent estimates V2b-1 and V2b to check the dyadic stopping rule
Calculator
Results
- Ξu =
β(exact:β) - K =
β(i.e., number of grid points) - N =
β(turns-first level, N = 2b)
Preview of u-grid uk = k Β· Ξu
First 8: β
Last 8: β
Practical checklist
- Use dyadic refinement: increase b until the dyadic difference falls below Ξ΅.
- Quarter-sampling is assumed: Ξu = 2-(b+2).
- Grid is deterministic; CSV can be versioned for reproducibility.