An extension of the method of characteristics for parabolic equations is proposed that allows the integration of the energy equation for a static, heated and radiating, heat-conducting, optically thin plasma in a magnetic field. The invariance of all physical quantities is assumed, throughout the work, to occur along an arbitrary curvilinear direction. Finally, an example is presented to illustrate how the algorithm actually works.