ELEMENTS OF STRUCTURE CALCULATION FOR SHAPE MEMORY DEVICE