Text this: Introduction of piecewise virtual fields method for solution of inverse problems