Mechanisms of orientation and graphitization of hard-carbon matrices in carbon/carbon composites