public void update(MainWindowModel mainWindowModel) {
        setNumberOfPoints(mainWindowModel.getNumberOfPoints());
        setTimeStep(mainWindowModel.getTimeStep());
        setTimePeriod(mainWindowModel.getTimePeriod());
        setXMin(mainWindowModel.getXMin());
        setXMax(mainWindowModel.getXMax());
        setYMin(mainWindowModel.getYMin());
        setYMax(mainWindowModel.getYMax());
        setIntegrationMethod(mainWindowModel.getIntegrationMethod());
        setAngle(mainWindowModel.getAngle());
        setPhi(mainWindowModel.getPhi());
        setPsi(mainWindowModel.getPsi());
        setTheta(mainWindowModel.getTheta());
        setNumberOfSpheres(mainWindowModel.getNumberOfSpheres());
    }