Interface ResponseMatrixTool

    • Method Detail

      • calcResponseMatrix

        Jama.Matrix calcResponseMatrix​(JMadModel model,
                                       ResponseRequest request)
                                throws JMadModelException
        calculates the actual response-matrix. Which correctors, monitors to use and how to vary the strengthes is defined via the ResponseRequest object.
        Parameters:
        model - the model to use to calculate the response matrix
        request - contains strenghtes, monitors and strength-variations to use to calc the response-matrix.
        Returns:
        the response-matrix
        Throws:
        JMadModelException - if the calculation of the response matrix fails
      • addProgressListener

        void addProgressListener​(java.util.function.BiConsumer<ResponseRequest,​java.lang.Integer> listener)
        adds a progress listener, which will get notified for every corrector under calculation. The second argument is the index of the corrector for which calculation just finished.
        Parameters:
        listener - the listener to add
      • removeProgressListener

        void removeProgressListener​(java.util.function.BiConsumer<ResponseRequest,​java.lang.Integer> listener)