1basis[0] = rr * (rr - 1.0) * ss * (ss - 1.0) / 4.0;
2basis[1] = rr * (rr + 1.0) * ss * (ss - 1.0) / 4.0;
3basis[2] = rr * (rr + 1.0) * ss * (ss + 1.0) / 4.0;
4basis[3] = rr * (rr - 1.0) * ss * (ss + 1.0) / 4.0;
6basis[4] = (1.0 - rr) * (1.0 + rr) * ss * (ss - 1.0) / 2.0;
7basis[5] = rr * (rr + 1.0) * (1.0 - ss) * (1.0 + ss) / 2.0;
8basis[6] = (1.0 - rr) * (1.0 + rr) * ss * (ss + 1.0) / 2.0;
9basis[7] = rr * (rr - 1.0) * (1.0 - ss) * (1.0 + ss) / 2.0;
11basis[8] = (1.0 - rr) * (1.0 + rr) * (1.0 - ss) * (1.0 + ss);