The damage is added to the node_dof records. Also materi_velocity and materi_strain_total should be initialized.