While I learning the Variational calculations peoples wrote a Lagrangian Density Equation from the Gross-pitaveskii (GP) or NLS equation. From that they found the effective Lagrangian and other evolution equations. My question is how can I form that Lagrangian Density equation from GP equation? Can anyone tell the derivation in clear. [NB: In PRA 81, 043636 (2010) Eq. (10) is Lagrangian Density Equation]