Java Code Examples for org.apache.commons.math.ode.sampling.StepHandler#requiresDenseOutput()

The following examples show how to use org.apache.commons.math.ode.sampling.StepHandler#requiresDenseOutput() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 2
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if dense output is needed.
 * @return true if there is at least one event handler or if
 * one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    if (!eventsStates.isEmpty()) {
        return true;
    }
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 3
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 4
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 5
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 6
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 7
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 8
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 9
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 10
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 11
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 12
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 13
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}
 
Example 14
Source File: AbstractIntegrator.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** Check if one of the step handlers requires dense output.
 * @return true if one of the step handlers requires dense output
 */
protected boolean requiresDenseOutput() {
    for (StepHandler handler : stepHandlers) {
        if (handler.requiresDenseOutput()) {
            return true;
        }
    }
    return false;
}