def G_nu2lame(G, nu):
    """
    Converts shear modulus and Poisson's ratio to Lame constants.

    Parameters:
        G : shear modulus
        nu : Poisson's ratio

    Returns:
        lame1 : lambda
        lame2 : mu
    """
    return 2*G*nu/(1 - 2*nu), G