本文整理匯總了Python中pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object.__init__方法的典型用法代碼示例。如果您正苦於以下問題:Python OES_Object.__init__方法的具體用法?Python OES_Object.__init__怎麽用?Python OES_Object.__init__使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object
的用法示例。
在下文中一共展示了OES_Object.__init__方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=False)
self.eType = {}
#self.code = [self.format_code, self.sort_code, self.s_code]
#self.ntimes = 0 # or frequency/mode
#self.ntotal = 0
self.ielement = 0
self.nelements = 0 # result specific
示例2: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=False)
#self.eType = {}
self.nelements = 0 # result specific
if is_sort1:
self.add_new_eid = self.add_new_eid_sort1
else:
raise NotImplementedError('SORT2')
示例3: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=False) ## why???
self.element_node = None
#self.code = [self.format_code, self.sort_code, self.s_code]
#self.ntimes = 0 # or frequency/mode
#self.ntotal = 0
#self.itime = 0
self.nelements = 0 # result specific
if is_sort1:
pass
else:
raise NotImplementedError('SORT2')
示例4: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=False)
# self.eType = {}
# self.code = [self.format_code, self.sort_code, self.s_code]
# self.ntimes = 0 # or frequency/mode
# self.ntotal = 0
self.ielement = 0
self.nelements = 0 # result specific
self.nnodes = None
if is_sort1:
pass
else:
raise NotImplementedError("SORT2")
示例5: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=False)
self.eType = {}
#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
if is_sort1:
#sort1
self.add_node = self.add_node_sort1
self.add_eid = self.add_eid_sort1
else:
raise NotImplementedError('SORT2')
示例6: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=False)
self.result_flag = 0
# self.code = [self.format_code, self.sort_code, self.s_code]
# self.ntimes = 0 # or frequency/mode
# self.ntotal = 0
self.itime = 0
self.nelements = 0 # result specific
# self.cid = {} # gridGauss
if is_sort1:
# sort1
pass
else:
raise NotImplementedError("SORT2")
示例7: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=False)
#self.code = [self.format_code, self.sort_code, self.s_code]
#self.ntimes = 0 # or frequency/mode
#self.ntotal = 0
self.ielement = 0
self.nelements = 0 # result specific
if is_sort1:
if dt is not None:
#self.add = self.add_sort1
self.add_new_eid = self.add_new_eid_sort1
#self.addNewNode = self.addNewNodeSort1
else:
raise NotImplementedError('SORT2')
示例8: __init__
# 需要導入模塊: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects import OES_Object [as 別名]
# 或者: from pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object import __init__ [as 別名]
def __init__(self, data_code, is_sort1, isubcase, dt):
OES_Object.__init__(self, data_code, isubcase, apply_data_code=True)
# self.code = [self.format_code, self.sort_code, self.s_code]
self.nelements = 0 # result specific