def capacity_method_selector(sl, fd, method, **kwargs):
    """
    Calculates the bearing capacity of a foundation on soil using the specified method.
    :param sl: Soil Object
    :param fd: Foundation Object
    :param method: Method
    :param kwargs:
    :return:
    """

    if method == 'vesics':
        capacity_vesics_1975(sl, fd, **kwargs)
    elif method == 'nzs':
        capacity_nzs_vm4_2011(sl, fd, **kwargs)
    elif method == 'terzaghi':
        capacity_terzaghi_1943(sl, fd, **kwargs)
    elif method == 'hansen':
        capacity_hansen_1970(sl, fd, **kwargs)
    elif method == 'meyerhoff':
        capacity_meyerhof_1963(sl, fd, **kwargs)
    elif method == 'salgado':
        capacity_salgado_2008(sl, fd, **kwargs)
def capacity_method_selector(sl, fd, method, **kwargs):
    """
    Calculates the bearing capacity of a foundation on soil using the specified method.
    :param sl: Soil Object
    :param fd: Foundation Object
    :param method: Method
    :param kwargs:
    :return:
    """

    if method == 'vesics':
        capacity_vesics_1975(sl, fd, **kwargs)
    elif method == 'nzs':
        capacity_nzs_vm4_2011(sl, fd, **kwargs)
    elif method == 'terzaghi':
        capacity_terzaghi_1943(sl, fd, **kwargs)
    elif method == 'hansen':
        capacity_hansen_1970(sl, fd, **kwargs)
    elif method == 'meyerhoff':
        capacity_meyerhof_1963(sl, fd, **kwargs)
    elif method == 'salgado':
        capacity_salgado_2008(sl, fd, **kwargs)
def capacity_method_selector ( sl , fd , method , * * kwargs ) : if method == 'vesics' : capacity_vesics_1975 ( sl , fd , * * kwargs ) elif method == 'nzs' : capacity_nzs_vm4_2011 ( sl , fd , * * kwargs ) elif method == 'terzaghi' : capacity_terzaghi_1943 ( sl , fd , * * kwargs ) elif method == 'hansen' : capacity_hansen_1970 ( sl , fd , * * kwargs ) elif method == 'meyerhoff' : capacity_meyerhof_1963 ( sl , fd , * * kwargs ) elif method == 'salgado' : capacity_salgado_2008 ( sl , fd , * * kwargs )
Calculates the bearing capacity of a foundation on soil using the specified method.
    :param sl: Soil Object
    :param fd: Foundation Object
    :param method: Method
    :param kwargs:
    :return:
Calculates the bearing capacity of a foundation on soil using the specified method . : param sl : Soil Object : param fd : Foundation Object : param method : Method : param kwargs : : return :