Computational modeling of cellular-scale mechanics