Skip to main content
. 2015 Oct 16;6(11):4395–4416. doi: 10.1364/BOE.6.004395

Algorithm 1.

Optimization for energy functional (8) for each iteration

Step 1: Update ϕ1 using ϕ1t=Ephy(ϕ1,ϕ2;s1,s2)ϕ1λ1Eloc(ϕ1,r1)ϕ1.
Step 2: Update ϕ2 using ϕ2t=Ephy(ϕ1,ϕ2;s1,s2)ϕ2λ2Eloc(ϕ2,r2)ϕ2λ3Ewtub(ϕ2)ϕ2.
Step 3: Update s1 by numerically solving (23).
Step 4: Update s2 by numerically solving (24).