def METHOD_NAME(self, bdf_file, size, is_double):
    if self.n == 0:
        return
    if size == 8:
        for j, eid, gn, cm, alpha in zip(count(), self.element_id, self.gn, self.cm, self.alpha):
            gmi = self.gmi[j]
            salpha = set_blank_if_default(alpha, 0.)
            list_fields = ['RBE2', eid, gn, cm] + gmi + [salpha]
            bdf_file.write(print_card_8(list_fields))
    elif is_double:
        for j, eid, gn, cm, alpha in zip(count(), self.element_id, self.gn, self.cm, self.alpha):
            gmi = self.gmi[j]
            salpha = set_blank_if_default(alpha, 0.)
            list_fields = ['RBE2', eid, gn, cm] + gmi + [salpha]
            bdf_file.write(print_card_16(list_fields))
    else:
        for j, eid, gn, cm, alpha in zip(count(), self.element_id, self.gn, self.cm, self.alpha):
            gmi = self.gmi[j]
            salpha = set_blank_if_default(alpha, 0.)
            list_fields = ['RBE2', eid, gn, cm] + gmi + [salpha]
            bdf_file.write(print_card_double(list_fields))
    #card = self.repr_fields()
    #return self.comment + print_card_8(card)