Skip to content

Re: whats the math theory of the corner density calculation

#2152
mathias
Keymaster

Hi openlb12,rnrn1/ This is extrapolating rho to the corner node. rn2/ If you rewrite the standard form as a sum you will see that the code is exactly teh same. It is written in this unusual form to speed up the code. (cf. e.g. Mohamad p. 71 -> e.g. in the line for k=1 you find twiche ux^2 terms. If you join them you get 9/2ux^2 – 3/2ux^2 = 3 ux^2, i.e. that is there the 3 comes from!)rnrnBest regardsrnMathias