Modelling triaxial deformation of continental tectonics