Application Of The Gfem Method To Solve Structural Mechanics Problems