adapted to the mathematics changes

This commit is contained in:
Michael de Paly 2010-02-11 01:15:29 +00:00
parent 3f363f54a1
commit 7b42db0f51

View File

@ -69,7 +69,7 @@ public class TopoPlot extends Plot {
* Defines the topology (by setting a specific problem) and draws the topology
*/
public void setTopology(Interface2DBorderProblem problem, double[][] border) {
double[] sizeXY=Mathematics.shiftRange(border);
double[] sizeXY=Mathematics.getAbsRange(border);
double deltaX = sizeXY[0]/gridx;
double deltaY = sizeXY[1]/gridy;
double[] pos = new double[2];