I saw in a code for discretization of something like $\frac{d^2T(x)}{d^2x}$ , ( $x = sin(\theta)$ ) tries
!============== here are some defined variables
deltaTheta = pi/150
deltax(i) = cos(theta(i)) * deltaTheta
dx = 0.5*(deltax(i) + deltax(i+1))
dx1 = 0.5*(deltax(i-1)+ deltax(i))
!============== here is the discretization that I am talking about
... = ((T(i+1) - T(i))/dx - (T(i) - T(i-1))/dx1)/(0.5 *(dx + dx1))
this discretization was for non-boundary cites; what does this discretization called?