def __init__(self, eid, nodes, comment=''): """ Defines a 1D dummy element used for plotting. +--------+-----+-----+-----+ | 1 | 2 | 3 | 4 | +========+=====+=====+=====+ | PLOTEL | EID | G1 | G2 | +--------+-----+-----+-----+ """ BaseCard.__init__(self) if comment: self.comment = comment self.eid = eid self.nodes = nodes
def __init__(self, sid, temperature, comment=''): BaseCard.__init__(self) if comment: self.comment = comment self.sid = sid self.temperature = temperature