clean up variable-density elliptic solution