timeGrid[n] = timeMesh.evaluate(n);
}
final double[] spaceGrid = new double[xNodes];
for (int i = 0; i < xNodes; i++) {
spaceGrid[i] = spaceMesh.evaluate(i);
}
final PDEGrid1D grid = new PDEGrid1D(timeGrid, spaceGrid);
final PDEResults1D[] res = solver.solve(DATA1, DATA2, grid, LOWER, UPPER, LOWER, UPPER, null);
final PDEFullResults1D res1 = (PDEFullResults1D) res[0];