def __init__(self, data_code, isubcase, apply_data_code=True): self.element_type = None self.element_name = None self.nonlinear_factor = np.nan self._times = None BaseElement.__init__(self, data_code, isubcase, apply_data_code=apply_data_code)
def __init__(self, data_code, is_sort1, isubcase, dt): self.element_type = None self.element_name = None BaseElement.__init__(self, data_code, isubcase) #self.code = [self.format_code, self.sort_code, self.s_code] #self.ntimes = 0 # or frequency/mode #self.ntotal = 0 self.nelements = 0 # result specific self.itime = None self.itotal2 = 0 #self.element_name_count = OrderedDict() self.dt_temp = None
def __init__(self, data_code, is_sort1, isubcase, dt): self.nonlinear_factor = np.nan self.table_name = None self.approach_code = None self.analysis_code = None BaseElement.__init__(self, data_code, isubcase, apply_data_code=True) # no double inheritance self.is_sort1 #self.dt = dt #self.code = [self.format_code, self.sort_code, self.s_code] #self.ntimes = 0 # or frequency/mode self.ntotal = 0 self.nelements = 0 # result specific
def __init__(self, data_code, is_sort1, isubcase, dt): self.element_type = None self.element_name = None BaseElement.__init__(self, data_code, isubcase) #self.code = [self.format_code, self.sort_code, self.s_code] #self.ntimes = 0 # or frequency/mode #self.ntotal = 0 self.nelements = 0 # result specific self.ielement = 0 self.itotal = 0 if not is_sort1: raise NotImplementedError('SORT2')