cfahlgren1/math / lean /OAI /Geometry /CylinderCovering /Angular /EndpointDefinitions.lean
cfahlgren1's picture
download
raw
542 Bytes
import Mathlib
namespace OAI
noncomputable section
namespace AngularEndpoint
def node (N j : ℕ) : ℝ := -1 + 2 * (j : ℝ) / (N : ℝ)
def boundary (N j : ℕ) : ℝ :=
if j = 0 then -1 else if j = N + 1 then 1 else
(node N (j - 1) + node N j) / 2
def alpha (N j : ℕ) : ℝ := (1 + (node N j) ^ 2) / 4
def beta (N j : ℕ) : ℝ := node N j / 2
def profile (q : ℝ) : ℝ := (q ^ 2 + q ^ 4) / 16
def radius (τ η : ℝ) (N j : ℕ) : ℝ :=
1 / 2 + τ ^ 2 * (profile (node N j) + η)
end AngularEndpoint
end
end OAI

Xet Storage Details

Size:
542 Bytes
·
Xet hash:
b2f6a6d07ffd410888f13ad4945addc5e3c6706064a7d8d5310429b4189b1b93

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.