def read_inputs(self, inputs={}): if len(inputs) > 0: self = user_setattr(self, inputs) if self.id == None and self.ida <> None: self.id = int(self.ida) CSYSGLOBAL = mapy.constants.CSYSGLOBAL self.rcid = 0 self.rcobj = CSYSGLOBAL
def read_inputs( self, inputs = {} ): if len(inputs) > 0: self = user_setattr(self, inputs) if self.id == None and self.ida <> None: self.id = int(self.ida) CSYSGLOBAL = mapy.constants.CSYSGLOBAL self.rcid = 0 self.rcobj = CSYSGLOBAL
def read_inputs(self, inputs={}): if len(inputs) > 0: self = user_setattr(self, inputs) if not self.nu21: nu21 = np.array(self.nu12*self.e2/self.e1, dtype=FLOAT) self.nu21 = nu21 if not self.nu12: nu12 = np.array(self.nu21*self.e1/self.e2, dtype=FLOAT) self.nu12 = nu12
def read_inputs(self, inputs={}): from mapy.reader import user_setattr if len(inputs) > 0: self = user_setattr(self, inputs) if self.id is None and self.ida is not None: from mapy.constants import CSYSGLOBAL self.id = int(self.ida) self.rcid = 0 self.rcobj = CSYSGLOBAL
def read_inputs(self, inputs={}): if len(inputs) > 0: self = user_setattr(self, inputs) if not self.nu21: nu21 = np.array(self.nu12*self.e2/self.e1, dtype=FLOAT) self.nu21 = nu21 if not self.nu12: nu12 = np.array(self.nu21*self.e1/self.e2, dtype=FLOAT) self.nu12 = nu12
def __init__(self, inputs): self.card = None self.entryclass = None self.id = None self.gridid = None self.dof = None self.displ = None self.g2 = None self.c2 = None self.d2 = None self.model = None self.conscount = None self = user_setattr(self, inputs) if self.dof.__class__.__name__ <> 'list': str_dof = self.dof self.dof = set([int(dof) for dof in str_dof])
def __init__(self, inputs): self.card = None self.entryclass = None self.id = None self.gridid = None self.dof = None self.displ = None self.g2 = None self.c2= None self.d2 = None self.model = None self.conscount = None self = user_setattr(self, inputs) if self.dof.__class__.__name__ != 'list': str_dof = self.dof self.dof = set([int(dof) for dof in str_dof])
def read_inputs( self, inputs = {} ): self = user_setattr(self, inputs) if self.perm_cons.__class__.__name__ <> 'set': str_perm_cons = self.perm_cons self.perm_cons = set([int(dof) for dof in str_perm_cons]) #checking strings if self.rcid == '' \ or self.rcid == None: self.rcid = 0 if self.ocid == '' \ or self.ocid == None: self.ocid = 0 #updating he pointers to CSYSGLOBAL if rcid and ocid == 0 if self.rcid == 0: self.rcobj = CSYSGLOBAL if self.ocid == 0: self.ocobj = CSYSGLOBAL self.garray = np.array([ self.x1, self.x2, self.x3 ], dtype=FLOAT)
def read_inputs(self, inputs={}): self = user_setattr(self, inputs) if self.perm_cons.__class__.__name__ != 'set': str_perm_cons = self.perm_cons self.perm_cons = set([int(dof) for dof in str_perm_cons]) #checking strings if self.rcid == '' \ or self.rcid == None: self.rcid = 0 if self.ocid == '' \ or self.ocid == None: self.ocid = 0 #updating he pointers to CSYSGLOBAL if rcid and ocid == 0 if self.rcid == 0: self.rcobj = CSYSGLOBAL if self.ocid == 0: self.ocobj = CSYSGLOBAL self.garray = np.array([self.x1, self.x2, self.x3], dtype=FLOAT)
def __init__(self, inputs): super( PropRod, self ).__init__() self = user_setattr(self, inputs)
def __init__(self, inputs): Loads.__init__(self) self = user_setattr(self, inputs)
def __init__(self, inputs): Elem1D.__init__(self) self = user_setattr(self, inputs)
def read_inputs(self, inputs={}): if len(inputs) > 0: self = user_setattr(self, inputs)
def __init__(self, inputs): Loads.__init__(self) self = user_setattr(self, inputs) self.loads = [int(i) for i in self.loads] self.scales = [float(i) for i in self.scales] self.scale_overall = float(self.scale_overall)
def __init__(self, inputs): super(PropShell, self).__init__() self = user_setattr(self, inputs)
def __init__(self, inputs): Loads.__init__(self) self = user_setattr(self, inputs) self.lf = {} self.lf[self.id] = 1.
def read_inputs( self, inputs = {} ): if len( inputs ) > 0: self = user_setattr( self, inputs )
def __init__(self, inputs): Loads.__init__(self) self = user_setattr(self, inputs) self.loads = [int(i) for i in self.loads] self.scales = [float(i) for i in self.scales] self.scale_overall = float(self.scale_overall)
def __init__(self, inputs): Loads.__init__(self) self = user_setattr(self, inputs)
def __init__(self, inputs): Loads.__init__(self) self = user_setattr(self, inputs) self.lf = {} self.lf[self.id] = 1.