The use of complex valued functions for the solution of three-dimensional elasticity problems