Thermomechanics of the shape memory effect in polymers for biomedical applications | Synapse