ALGORITHM 1.
Input: Γii, i = 1, 2, …, N | ⊳ Diagonal terms are calculated from mFRI. |
for j←2, N do | ⊳ For the first row and first line of multiscale Kirchhoff matrix. |
⊳ We equally distribute the diagonal terms into non-diagonal parts. | |
Γj1 = Γ1j | ⊳ Use the symmetry property. |
end for | |
for i←2, N − 1 do | |
sum = 0 | |
for k←1, i − 1do | |
k1 = k | |
k2 = k + 1 | |
sum = sum + Γk1k2 | ⊳ Summarize over terms already determined from previous iterations. |
end for | |
forj←i + 1, N | |
⊳ We equally distribute the diagonal terms into non-diagonal parts. | |
Γji = Γij | ⊳ Use the symmetry property. |
end for | |
end for |