Documente Academic
Documente Profesional
Documente Cultură
Chapter 0 :
http://www.tangentspace.net/cz/archives/2006/11/eikonal-equa
Where :
1
When :
Homework - Grading ?
Outline :
Wigner Transform
GTD
Gaussian Beams
2
How do we compute it ?
Convergence theory
Helmholtz equation
(see also W. Symes seminar notes on time domain ... and
www.cscamm.umd.edu/programs/hfw05/runborg survey hfw05.pdf )
u(X) + k2n2(X)u(X) = 0
(local) .... to make it well posed add
1
Aj (X)
j
j=0 (ik)
{ 2 + n2}(A0(X)eik(X)) = O(k1)
k
6
Physical Optics
For a diffracion pbm (u = Ceike x + uscat) us the integral formulation (u = 0 on the scatterer)
u(x) =
u 0
0
G(k|x x |) dx
n
Z
light
G(k|x x0|)(2Ciksin)dx0
10
As k + u(X) ' (
i 4 ik|XX0 |
2
)e
e
k|XX0 |
RTS :
Y (s, ) = X0 + s~e , P (s, ) = ~e , (Y (s, )) = 0() + s
ICs for [0, 2[ : Y (0, ) = X0, P (0, ) = ~e , 0() = 0 give
(X) = |X X0|
11
12
uinc = eik~eX
13
Separation of variables 1D
We can set u(z, x) = u
(x)eikz sin then
u
00g (x) + k2(cos2 )
ug (x) = 0
u
g (x) = eik cos x + Reikx cos
ud(x) = 0
u
00d (x) + k2(cos2 x)
u
d(x) =
2
CAi(k 3 (x))+
2
DBi(k 3 (x))
(x) = cos2 x
2
3
Bi(k (x))
i
i 4 ik( 2
3
e 3
+ e 4e
} + O(k1)
u
d = 1 {e
2 4
(Stationnary phase on
2
Ai(k 3 (x))
R ik((x) 3 )
3
d)
15
Next RTS
Only work in x [0, 1 ], n2(x) = 1 x, take Y (s, z0) =
(y(s, z0), z(s, z0)) and P = (py , pz ) we get :
y = py
z = pz
1
p
y
2
pz = 0
y(0, z0) = 0
z(0, z0) = z0
py (0, z0) = cos
pz (0, z0) = sin
2
which yields Y (s, z0) = ( 1
4 s + s cos , s sin + z0 )
16
17
18
1. M = {(X, X ) | = 0, z Z}.
2. X M , (X) such that (X, (X)) = 0 and
19
2 (X, (X)) 6= 0.
d R
k
2
3. Use generalized ansatz u(X) = ( 2 )
A(X, , k)eik(X,)d
P
1 A (X, ) then away from
and expansion A(x, , k) =
j=0 (ik)j j
A0(X, (X))
| (X, (X))| 2
4. 2 (X, (X)) = 0 indicate the caustic where the stationnary point is degenerate and give a contirbution in O(k).
20
21
22
23
Some properties
R
2
1
ku(x)k = v(x, 0) = {F f }(x, 0) = f (x, )ei0 d
v (x, 0) = {F 1 f }(x, 0) = R if (x, )ei0 d
Re{u(x)u(x)} = y
y
24
25
As 0
i
Fy [n2(x y) n2(x y)]
2
2
2
So formaly (Taylor expand the n2 functions above around x) :
Z(x, ) =
1
Z(x, ) 0 xn2(x) ()
2
Can also check that
Q(x, ) = Fy [(x, y)] 0 (x)(|| = 1)
27
Finally :
1
f (x, ) + xn2(x) f (x, ) = (x x0)(|| = 1)
2
which can be reformulated as a time dependent problem f (x, ) =
R
sf(s, x, ) + xf(s, x, ) + 1
2 x n (x) f (s, x, ) = 0,
f(0, x, ) = (x x0)(|| = 1)
Back to Ray tracing : Set
f0(s, x, ) =
P
(x Y (s, ))( P (s, ))
28
1 n2 (x) f , g >
= < x f0 , g > < 2
0
29
30
Distance functions
d(x, x0) = |x x0| satisfies |xd| = 1.
Anticipating : (x) = minx0 d(x, x0) is the viscosity solution
of
|| = 1 in , = 0 on .
32
solution of
+ v = 0
t
34
35
36
I(x) = q
1 + |u(x)|2
37
38
Mesh refinements
Now use a Riemannian metric G. Note : length of dx is defined
1
2
as |dx|G(x) = |G dx|. If G = diag(lx, ly) and lx 6= ly anisotropy.
Again : (x) = minx0 dG(x, x0) is the viscosity solution of
1
2
|G |
= 1 in , = 0 on.
39
40
41
sin 1
sin 2
=
c1
c2
History (Historia Mathematica 10 (1983) 48-62 The Mathematical Technique in Fermats deduction of the Law of refraction.
K. Andersen. )
42
43
Z T
0
(n = 1c )
Simplify to 1+1 D problem (time + space) : Y (s) = (t, y(t))
(paraxial assumption)
44
Fix t, x,
min
{yC , y0 R y(t)=x}
F (y, y0) =
Z t
0
+ 0(y0)
45
Rt
h(s)) L(s, y(s), y(s))ds
F (y + h, y0 + h0 ) F (y, y0 ) = 0 L(s, y + h(s), y +
+ 0 (y0 +
Rt
h(s)ds
+ O(|h|2 ) + 0x (y0 )h0 + O(h20 )
+ O(|h|2 ) + ...
x
0
ds v
Rt
46
Rt
F
d L (s, y(s), y(s))}h(s)ds
< y (y0, y), h >= 0{Lx(s, y(s), y(s))
ds
v
F (y , y) h = L (0, y(0), y(0))
0 (y )
v
0
0
x 0
y0
ds
=0
v
0
v
x (y0 ) = 0.
47
Examples
L(v) =
1 2
1
v H(p) = p2
2
2
(Burgers equation)
q
49
+ (y0) satisfies
(s)
= Hp(t, y(s), p(s)).p H(s, y(s), p(s)), (0) = 0(y0)
50
Back to RT
In practice y, p, as functions of (t, y0)
q
y(s)
2 p2
p(s)
= n2xn 2
n p
(s)
=
n2 p2
Setting q =
y(0, y0) = y0
p(0, y0) = 0
x (y0 )
(0, z0) = 0(y0)
n2 p2 and z(s)
y0 x = y(t, y0)
Then define (t, x) as
(t, y(t, y0)) = (t, y0).
is smooth and
x(t, y(t, y0)) = p(t, y0).
52
y(t, y0) x
53
We get
t(t, x) + H(t, x, x(t, x)) = 0, (0, x) = 0(x).
q
54
y = 0
o
2
y 6= 0
2 yo
Then (TE) :
(yo yoc )2 2y c
c
c )3 }
(y
)
+
O{(y
y
y(yo) = y + 0 +
o
o
o
2
2 yo
55
Cusp :
y = 0
yo
2y
2 =0
yo
Then :
(yo yoc )3 3y c
c )4 }
c
(y
)
+
O{(y
y
y(yo) = y + 0 + 0 +
o
o
o
6
3 yo
56
An example :
n(t, x) = 2.8 if |x 0.2 sin 0.3 t| 1 and n(t, x) = 2.8 + 0.4
2
exp10 (x0.2 sin 0.3 t) else,
o 0 as initial condition.
57
58
First Remarks
61
Exemple (1-d)
|u0| = 1, u(0) = u(1) = 0 H(u0) = |u0| 1
Has no classical solutions.
Has many generalized W 1, solutions.
Has a unique BUC viscosity solution.
Viscosity solution allows upward (but not downward) kinks :
62
Properties
maximum principle...
Prop. (Unicity) : Let u (resp. u) be a l.s.c. (resp. u.s.c) super(resp. sub-) viscosity solution of then u u.
Evanescent viscosity : > 0,
u + u + H(x, Du) = 0 x
Con-
u(0, x) = u0(x)
inf
W 1,(0, t)
(t) = x
(0) = y0
Z t
0
L(t, , )dt)
64
Sketch
Inf is reached by C 2, ||
Ct .
Lipschitz.
+ Du = Lv
65
Remember
Z t
0
H ?(v)ds}
1 t
x (t)
?
?
?
H (v)ds tH (
vds) = tH (
)
t 0
t
0
Z
66
xy
)ds}
t
67
An example n 1 :
68
An example n 1 :
69
70
Back to RT (numerics)
dY
ds =
dP =
ds
P (s)
1 n2 (Y (s))
2
72
dx
ds = p
dp = ( 1 n2(x))x
ds
2
73
Propagator matrix
Because this is linear in the initial conditions, one can factor
various computations in a propagator matrix
(x, p)(s) = (x, p)(s0)P(s, s0)
(transpose)
dP
=
ds
0
Id
2 (x)) 0
( 1
n
2
P, P(s0, s0) = Id
... discuss
75
Wavefront construction
Main idea : maintain ray density through interpolation (adaptative gridding). Need a good criterium.
Problem : stretching or concentration may also may also occur
in the p dimensions.
76
77
Sol 3 : Lambar
e et al ... Use paraxial quantities to estimate
error.
78
79
ukj+1 ukj
k+1
k
= uj + dt dx
uj
ukj ukj1
k+1
k
u
= uj + dt dx
j
80
Remarks
dx
c = lim sup
dt
Then no convergence (wrong dependance) if
c < c. This is
the sense of the CFL condition :
dt
c
1
dx
81
82
R tj+1
p(s)Hp(s, y(s), p(s)) H(p(s))ds
(tj+1, xi) = (tj+1) = (tj ) + tj
= (tj ) + x(xi y(tj )) dtH(x)
= i dtH(x)
83
Upwinding :
A.
B.
C.
D.
x 0,
x 0,
x < 0,
x < 0,
x+ 0.
x+ < 0.
x+ 0.
x+ < 0.
84
u (t)) = 0, (0) = 0 (x ).
ti(t) = H(t, xi, x,i
i
i
u
l
+
l
(t) i(t)
85
86
l (t)), H ( r (t)))
ti(t) = max(H +(x,i
x,i
87
pI(x ,x+ )
H(p)
where
mina<p<b if a b
ExtpI(a,b) =
max
b<p<a if a > b
88
Lax-Friedrich
(t), x,i
(t)) = H(t, xi,
H LF (t, xi, x,i
x,i
(t) + x,i
(t)
x,i
(t) x,i
(t)
dx
89
90
Recall ....
Recall H(t, x, p) = supv {p.v L(t, x, v)} and L = H ?.
Remark that (omit (t, x)) H(p) = max(H +(p), H (p)) with
91
k
ik i1
l
k
D i =
dx
k k
i+1
i
r
k
D i =
dx
92
Rewrite as :
ik+1 = min{U ik , U +ik }
where :
dt
dt v k
k
dt v) k }
? (tk , x , v) dt v k
U + k = inf
{dt
H
+
(1
+
i
v0
i
i
i+1
dx
dx
93
94
95
96
Lagrangian discretisation
((x, y) dt Q) (x, y)
sup {
n(x, y)} = 0
dt
kQk1
Rem. : This is first order (if the solution is smooth !)
((x, y) dt Q) (x, y) = dt (x, y).Q + O(dt2)
kQk1
Recall
Y = = Qoptkk
99
Grid interpolation
Grid : (xi, yj ) = (i dx, j dy). Note (xi, yj ) = ij and n(xi, yj ) =
nij
First assume that (x, y)dt q) T = {(xi, yj ), (xi+1, yj ), (xi, yj1)}
(restrict Q to point in one of the quadrant).
using a convex linear combination of the value at grid points :
((x, y) dt q) = ij + i+1j + ij+1
where , and are such that
(
ij i1j
dx
c = Dyij = ij dyij1
b = Dx+ij =
i+1j ij
dx
ij+1 ij
+
d = Dy ij =
dy
101
Relaxation
S. J. Osher and L. Rudin
Rapid convergence of approximate solution to shape form shading
problem.
Never Published
gij (ij , i+1j , ij+1, i1j , ij1) = 0, (i, j)
is a system of nonlinear equations ... may be difficult to solve
directly. Instead is is easy to prove that the algorithm obtained
by the following relaxation scheme converges :
n)
Compute a sequence of (ij
i,j solutions of
n , n1 , n1 , n1 , n1 ) = 0, (i, j)
gij (ij
i+1j ij+1 i1j ij1
n1
n1
((i+1j
t))2 + ((ij+1
t))2 h nij = 0
n1
0.5 (ij+1
n1
i+1j
q
n1
n1
n1
n1 2
i+1j
| < h nij
i+1j
) if |i+1j
+ 2h2 n2ij (i+1j
n+1
n1
n1
ij
= min(i+1j
, i+1j
) + h nij
else
103
Slightly faster way is to revisit as P 1 interpolation on each triangle made by the 5 point stencil.
((x, y) dt (qx, qy)) = ij dt qx (Dxij ) dt qy (Dy ij )
n , D , D ) and 2 equations ((qx, qy) =
Three unknown (ij
x ij
y ij
(h, 0), (qx, qy) = (0, h))
n1
n hD )
ij+1
= ij
y ij
n1
n hD )
i+1j
= ij
x ij
then close with the Eikonal equation ..
+ 2
+ 2
(Dx+ij
) + (Dy+ij
) nij = 0
105
Monotonicity : if (uij )ij < (vij )ij then for all t and all i, j we
have
gij (t, ui+1j , uij+1, ui1j , uij1) < gij (t, vi+1j , vij+1, vi1j , vij1)
(Upwind scheme acts as a time dependent equation in the
ray direction).
106
107
108
http://www.levelset.com/system/html/modules/sections/index.php?op=v
Interview with Stanley Osher at National University of Singapore :
Stanley Osher is an extraordinary mathematician who has ....
It turned out that I had a friend who knew the District Attorney or
was then doing video image enhancement with my colleague L. Rudin,
....
I: You could be rich. Hollywood would be paying you millions.
O: People work for salaries. There is money, ego and fun. Its a ve
109