예제 #1
0
def corrector_relresendgame_get():
    """
    Returns the value of the tolerance on the relative residual for
    the corrector during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(22))
예제 #2
0
def tolerance_infsolendgame_get():
    """
    Returns the tolerance threshold to decide whether a solution path
    diverges to infinity, during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(34)
예제 #3
0
def corrector_abscorendgame_get():
    """
    Returns the value of the tolerance on the absolute correction for
    the corrector during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(28))
예제 #4
0
def tolerance_infsolendgame_get():
    """
    Returns the tolerance threshold to decide whether a solution path
    diverges to infinity, during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(34)
예제 #5
0
def corrector_maxiterendgame_get():
    """
    Returns the maximum number of iterations the corrector does along
    a path, during the end game.  The default equals 3.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(20))
예제 #6
0
def predictor_typeendgame_get():
    r"""
    Returns an integer which represents the type of the predictor
    along a path, before the start of the end game.
    The integer on return takes values between 0 and 9, depending on
    the type for the solution x and for the continuation parameter t.
    The ten predictor types are

    0 : secant for x, real for t;

    1 : secant for x, complex for t;

    2 : secant for x, geometric for t;

    3 : tangent for x, real for t;

    4 : tangent for x, complex for t;

    5 : tangent for x, geometric for t;

    6 : Hermite for x, real for t;

    7 : quadratic for x, real for t;

    8 : cubic for x, real for t;

    9 : quartic for x, real for t.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(8))
예제 #7
0
def corrector_abscoronpath_get():
    """
    Returns the value of the tolerance on the absolute correction for
    the corrector along a path, before the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(27))
예제 #8
0
def tolerance_clustsolendgame_get():
    """
    Returns the tolerance on the distance between two solutions to decide
    whether two solutions are clustered during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(32)
예제 #9
0
def corrector_abscorendgame_get():
    """
    Returns the value of the tolerance on the absolute correction for
    the corrector during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(28))
예제 #10
0
def tolerance_clustsolendgame_get():
    """
    Returns the tolerance on the distance between two solutions to decide
    whether two solutions are clustered during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(32)
예제 #11
0
def corrector_relresonpath_get():
    """
    Returns the value of the tolerance on the relative residual for
    the corrector along a path, before the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(21))
예제 #12
0
def predictor_typeendgame_get():
    r"""
    Returns an integer which represents the type of the predictor
    along a path, before the start of the end game.
    The integer on return takes values between 0 and 9, depending on
    the type for the solution x and for the continuation parameter t.
    The ten predictor types are

    0 : secant for x, real for t;

    1 : secant for x, complex for t;

    2 : secant for x, geometric for t;

    3 : tangent for x, real for t;

    4 : tangent for x, complex for t;

    5 : tangent for x, geometric for t;

    6 : Hermite for x, real for t;

    7 : quadratic for x, real for t;

    8 : cubic for x, real for t;

    9 : quartic for x, real for t.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(8))
예제 #13
0
def corrector_maxiterendgame_get():
    """
    Returns the maximum number of iterations the corrector does along
    a path, during the end game.  The default equals 3.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(20))
예제 #14
0
def corrector_relresonpath_get():
    """
    Returns the value of the tolerance on the relative residual for
    the corrector along a path, before the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(21))
예제 #15
0
def corrector_relresendgame_get():
    """
    Returns the value of the tolerance on the relative residual for
    the corrector during the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(22))
예제 #16
0
def corrector_abscoronpath_get():
    """
    Returns the value of the tolerance on the absolute correction for
    the corrector along a path, before the end game.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(27))
예제 #17
0
def order_endgame_extrapolator_get():
    """
    Returns the order of the extrapolator to estimate the winding number
    in a polyhedral end game. 
    If the order is zero, then no polyhedral end game will be applied.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(5))
예제 #18
0
def max_steps_get():
    """
    Returns the maximum number of steps the path tracker will perform
    to reach the end of a solution path.  For paths that diverge to
    infinity are often truncated beore reaching extreme values.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(3))
예제 #19
0
def tolerance_rcondendgame_get():
    """
    Returns the tolerance on the inverse condition number of the Jacobian
    matrix of a solution, during the end game, to decide whether a solution
    is singular or not.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(30)
예제 #20
0
def tolerance_rcondonpath_get():
    """
    Returns the tolerance on the inverse condition number of the Jacobian
    matrix of a solution along a path, before the end game, to decide
    whether a solution is singular.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(29)
예제 #21
0
def predictor_maxstependgame_get():
    """
    Returns the maximum value of the step size during the end game.
    The step size control will never increase the step size to a value
    above this maximum.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(12)
예제 #22
0
def order_endgame_extrapolator_get():
    """
    Returns the order of the extrapolator to estimate the winding number
    in a polyhedral end game. 
    If the order is zero, then no polyhedral end game will be applied.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(5))
예제 #23
0
def condition_level_get():
    """
    Returns an integer that represents the difficulty level
    of the homotopy.  The default level equals zero,
    higher values lead to smaller tolerances.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(1))
예제 #24
0
def condition_level_get():
    """
    Returns an integer that represents the difficulty level
    of the homotopy.  The default level equals zero,
    higher values lead to smaller tolerances.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(1))
예제 #25
0
def predictor_minstependgame_get():
    """
    Returns the minimum value of the step size during the end game.
    If the step size control cuts the step size to a value
    below this minimum, then the path tracking is aborted.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(10)
예제 #26
0
def predictor_minstependgame_get():
    """
    Returns the minimum value of the step size during the end game.
    If the step size control cuts the step size to a value
    below this minimum, then the path tracking is aborted.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(10)
예제 #27
0
def default_path_parameters(precision):
    """
    Given in precision 16, 32, or 64 for double, double double, or quad
    double precision respectively, returns a tuple with the default values
    for the path parameters.
    """
    from phcpy.phcpy2c3 import py2c_get_default_path_parameters as get
    return get(precision)
예제 #28
0
def predictor_maxstependgame_get():
    """
    Returns the maximum value of the step size during the end game.
    The step size control will never increase the step size to a value
    above this maximum.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(12)
예제 #29
0
def max_steps_get():
    """
    Returns the maximum number of steps the path tracker will perform
    to reach the end of a solution path.  For paths that diverge to
    infinity are often truncated beore reaching extreme values.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(3))
예제 #30
0
def tolerance_rcondendgame_get():
    """
    Returns the tolerance on the inverse condition number of the Jacobian
    matrix of a solution, during the end game, to decide whether a solution
    is singular or not.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(30)
예제 #31
0
def default_path_parameters(precision):
    """
    Given in precision 16, 32, or 64 for double, double double, or quad
    double precision respectively, returns a tuple with the default values
    for the path parameters.
    """
    from phcpy.phcpy2c3 import py2c_get_default_path_parameters as get
    return get(precision)
예제 #32
0
def tolerance_rcondonpath_get():
    """
    Returns the tolerance on the inverse condition number of the Jacobian
    matrix of a solution along a path, before the end game, to decide
    whether a solution is singular.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(29)
예제 #33
0
def maxnum_reruns_get():
    """
    Returns the value of the maximum number of path reruns.
    If path jumping is detected, then the clustered paths are retracked
    with more severe values of the tolerances.
    The default value equals one.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(6))
예제 #34
0
def predictor_expfacendgame_get():
    """
    Returns the value of the expansion factor to increase the step size in
    case of a successful corrector stage, during the end game.
    The expansion factor determines the speed at which the predictor increases
    its step size when tracking an easier portion of the path.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(16)
예제 #35
0
def predictor_redfacendgame_get():
    """
    Returns the value of the reduction factor to cut the step size in case
    of a failed corrector stage, during the end game.
    The reduction factor determines the speed at which the predictor reduces
    its step size when tracking a more difficult portion of the path.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(14)
예제 #36
0
def predictor_exptrsendgame_get():
    """
    Returns the value of the expansion threshold for the step size control,
    during the end game.
    The expansion threshold is the number of consecutive successful
    corrector stages that must be met before the step size is increased.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(18))
예제 #37
0
def maxnum_reruns_get():
    """
    Returns the value of the maximum number of path reruns.
    If path jumping is detected, then the clustered paths are retracked
    with more severe values of the tolerances.
    The default value equals one.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(6))
예제 #38
0
def predictor_redfacendgame_get():
    """
    Returns the value of the reduction factor to cut the step size in case
    of a failed corrector stage, during the end game.
    The reduction factor determines the speed at which the predictor reduces
    its step size when tracking a more difficult portion of the path.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(14)
예제 #39
0
def predictor_exptrsendgame_get():
    """
    Returns the value of the expansion threshold for the step size control,
    during the end game.
    The expansion threshold is the number of consecutive successful
    corrector stages that must be met before the step size is increased.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(18))
예제 #40
0
def predictor_expfacendgame_get():
    """
    Returns the value of the expansion factor to increase the step size in
    case of a successful corrector stage, during the end game.
    The expansion factor determines the speed at which the predictor increases
    its step size when tracking an easier portion of the path.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(16)
예제 #41
0
def distance_to_endgame_get():
    """
    Returns the distance to start the end game.  During the end game,
    the path tracker may apply tolerances that are more severe as the
    solution paths get more interesting near the end.
    The default value is 0.1.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(4)
예제 #42
0
def distance_to_endgame_get():
    """
    Returns the distance to start the end game.  During the end game,
    the path tracker may apply tolerances that are more severe as the
    solution paths get more interesting near the end.
    The default value is 0.1.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return get(4)
예제 #43
0
def track_simultaneously_get():
    """
    Returns the number of paths that are tracked simultaneously, for the
    same discretization of the interval of the continuation parameter.
    The default value equals one.  Increasing this value avoids path crossing,
    also called path jumping.  This jumping happens when the approximated
    points on one path transition to approximated points on another path.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(2))
예제 #44
0
def track_simultaneously_get():
    """
    Returns the number of paths that are tracked simultaneously, for the
    same discretization of the interval of the continuation parameter.
    The default value equals one.  Increasing this value avoids path crossing,
    also called path jumping.  This jumping happens when the approximated
    points on one path transition to approximated points on another path.
    """
    from phcpy.phcpy2c3 import py2c_get_value_of_continuation_parameter as get
    return int(get(2))