Analysis of thermally-degrading, confined HMX