An immersed-isogeometric model: Application to linear elasticity and implementation with THBox-splines