This is the code to calculate the damping coefficient for magnetic materials. The instructions to use this code are in usermanual.pdf.