Determination of T-stress for thermal cracks in homogeneous and functionally graded materials with the numerical manifold method. (June 2021)