private static double[,,] countDPSITE() { double[,,] result = new double[9, 2, 8]; for (int i = 0; i < 9; i++) { for (int local = 0; local < 2; local++) { for (int k = 0; k < 8; k++) { result[i, local, k] = PSI.getDiPsi(local, k, GaussNodes9[i][0], GaussNodes9[i][1]); } } } return(result); }
public static double[,] createPSI() { double[,] PSIET = new double[8, 9]; double[] values; double[][] nodes = Globals.GaussNodes9; for (int i = 0; i < 8; i++) { for (int j = 0; j < 9; j++) { values = nodes[j]; PSIET[i, j] = PSI.getPsi(i, values[0], values[1]); } } return(PSIET); }