def setNref(nref_value):
    """Copy nref to a variable that is global for this file.


        Parameters
        ----------
        nref : string
            string for name of directory containing nonlinearity file
    """
    global nref
    nref = nref_value
