本文整理汇总了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