Dimension changes in a solid containing anisotropic defects