My suspicion is that it is u[x,y,z] that is causing the issue, but I cannot be sure without knowing what uLG, k, and nn are. Would you post them, please?
u[x,y,z]
uLG
k
nn