public void setConstantTemperature(long constantTemp) {
        this.constantTemp = true;
        sa.temps[0][indexI][indexJ] = constantTemp;
        sa.temps[1][indexI][indexJ] = constantTemp;
        System.out.println(this.getTemp());
    }