當前位置: 首頁>>代碼示例>>Python>>正文


Python OES_Object.__init__方法代碼示例

本文整理匯總了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
開發者ID:EmanueleCannizzaro,項目名稱:pyNastran,代碼行數:10,代碼來源:oes_bush.py

示例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')
開發者ID:EmanueleCannizzaro,項目名稱:pyNastran,代碼行數:11,代碼來源:oes_springs.py

示例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')
開發者ID:ClaesFredo,項目名稱:pyNastran,代碼行數:16,代碼來源:oes_plates.py

示例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")
開發者ID:HibernantBear,項目名稱:pyNastran,代碼行數:17,代碼來源:oes_beams.py

示例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')
開發者ID:hurlei,項目名稱:pyNastran,代碼行數:17,代碼來源:oes_solids.py

示例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")
開發者ID:hurlei,項目名稱:pyNastran,代碼行數:18,代碼來源:oes_bars.py

示例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')
開發者ID:EmanueleCannizzaro,項目名稱:pyNastran,代碼行數:18,代碼來源:oes_bars.py

示例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
開發者ID:hurlei,項目名稱:pyNastran,代碼行數:7,代碼來源:oes_nonlinear.py


注:本文中的pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object.__init__方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。