Data at vertices marked 'o' is also used.
Some of the members of the four sets of coordinate lines are:
e=0 w=0
\ / \ /
-----x---x-----n=2 ---x---o---x---s=-1
\ / \ /
---o---n---o---n=1 -x---w---e---x-s=0
/ \ \ /
-x---w---e---x-n=0 ---o---s---o---s=1
/ \ / \
---x---o---x---n=-1 -----x---x-----s=2
/ \ / \
e=0 w=0
The linear interpolations of f(e,v,w) on a central triangle are
L(e,v,w)=ef(e)+vf(v)+wf(w) (v is n or s),
where f(e)=f(1,0,0), f(v)=f(0,1,0) and f(w)=f(0,0,1).
To correct for the systematic error in L(e,v,w), introduce a function
N(e,v,w) which is not linear, but N(e)=N(v)=N(w)=0.
An alternate way of naming the vertices is with three-character
symbols which are the values of the coordinates, evw, in that
order. Note the character, '!' stands for -1. Then 'w' is '001'
f(w)=f(001)=f(0,0,1), f(n)=f(s)=f(v)=f(010), f(e)=f(100), etc. The
diagram of vertices for the upright triangles is
!20 02!
!11 010 11!
!02 001 100 20!
0!2 1!1 2!0
With this, the evaluations of quadratic, cubic and quartic
polynomials that figure in the construction of N(e,n,w) becomes
relatively easy. Note, there are nine independent values of
N(enw) in the diagrams (N(e)=N(n)=N(w)=0),
the number of independent quadratic
functions is three (e.g. ee, ew, ww), and the number
of independent cubic functions is four
(e.g. eee, eew, eww, www). That leaves two quartic functions,
but to maintain the symmetry of the triangles, three quartics
whose sum is a cubic will be introduced.
For now, this is continued here.