public double[] xmap(final double[] x){
return torusmap2(x);
}
};
mymc2.step(1000000);
mymc2.calcanswers();
// for (i=0;i<4;i++)
// System.out.printf(mymc2.ff[i] << " %f\n", mymc2.fferr[i]);
localflag = abs(mymc2.ff[0]-SQR(PI)*R1*SQR(SQR(R2))/4.0) > 2.0*mymc2.fferr[0];
globalflag = globalflag || localflag;