An embedded approach for the solution of the full potential equation with finite elements