当前位置: 首页>>代码示例>>Python>>正文


Python Fault.check_vertex_fields函数代码示例

本文整理汇总了Python中pylith.tests.Fault.check_vertex_fields函数的典型用法代码示例。如果您正苦于以下问题:Python check_vertex_fields函数的具体用法?Python check_vertex_fields怎么用?Python check_vertex_fields使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了check_vertex_fields函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: test_fault_info

  def test_fault_info(self):
    """
    Check fault information.
    """
    if not self.checkResults:
      return

    filename = "%s-fault_info.h5" % self.outputRoot
    fields = ["strike_dir", "normal_dir", "traction_initial","static_coefficient","dynamic_coefficient","slip_weakening_parameter","cohesion"]
    check_vertex_fields(self, filename, self.faultMesh, fields)

    return
开发者ID:panzhengyang,项目名称:pylith,代码行数:12,代码来源:TestSlipWeakeningOpening.py

示例2: test_fault_data

  def test_fault_data(self):
    """
    Check fault information.
    """
    if not self.checkResults:
      return

    filename = "%s-fault.h5" % self.outputRoot
    fields = ["slip", "traction","cumulative_slip","previous_slip"]
    check_vertex_fields(self, filename, self.faultMesh, fields)

    return
开发者ID:panzhengyang,项目名称:pylith,代码行数:12,代码来源:TestSlipWeakeningOpening.py

示例3: test_fault_info

  def test_fault_info(self):
    """
    Check fault information.
    """
    if not self.checkResults:
      return

    filename = "%s-fault_info.h5" % self.outputRoot
    fields = ["normal_dir", "final_slip", "slip_time"]
    check_vertex_fields(self, filename, self.faultMesh, fields)

    return
开发者ID:youngsolar,项目名称:pylith,代码行数:12,代码来源:TestDislocation.py

示例4: test_fault1_data

  def test_fault1_data(self):
    """
    Check fault information.
    """
    if self.reader is None:
      return

    filename = "%s-fault1_t0000000.vtk" % self.outputRoot
    fields = ["cumulative_slip", "traction_change"]
    check_vertex_fields(self, filename, self.fault1Mesh, fields)

    return
开发者ID:rishabhdutta,项目名称:pylith,代码行数:12,代码来源:TestDislocationTwoFaults.py

示例5: test_fault1_info

  def test_fault1_info(self):
    """
    Check fault information.
    """
    if self.reader is None:
      return

    filename = "%s-fault1_info.vtk" % self.outputRoot
    fields = ["normal_dir", "final_slip", "slip_time"]
    check_vertex_fields(self, filename, self.fault1Mesh, fields)

    return
开发者ID:rishabhdutta,项目名称:pylith,代码行数:12,代码来源:TestDislocationTwoFaults.py

示例6: test_fault_data

  def test_fault_data(self):
    """
    Check fault information.
    """
    if not self.checkResults:
      return

    filename = "%s-fault.h5" % self.outputRoot
    fields = ["slip"]

    from pylith.tests.Fault import check_vertex_fields
    check_vertex_fields(self, filename, self.faultMesh, fields)

    return
开发者ID:rishabhdutta,项目名称:pylith,代码行数:14,代码来源:TestShearDispNoSlip.py

示例7: test_fault_info

  def test_fault_info(self):
    """
    Check fault information.
    """
    if not self.checkResults:
      return

    filename = "%s-fault_info.h5" % self.outputRoot
    fields = ["strike_dir", "normal_dir", "traction_initial","friction_coefficient","cohesion"]

    from pylith.tests.Fault import check_vertex_fields
    check_vertex_fields(self, filename, self.faultMesh, fields)

    return
开发者ID:youngsolar,项目名称:pylith,代码行数:14,代码来源:TestShearDispFriction.py

示例8: test_fault_info

  def test_fault_info(self):
    """
    Check fault information.
    """
    if not self.checkResults:
      return

    from pylith.tests.Fault import check_vertex_fields
    fields = ["normal_dir", "final_slip", "slip_time"]

    self.fault = 1
    filename = "%s-fault1_info.h5" % self.outputRoot
    check_vertex_fields(self, filename, self.faultMesh1, fields)

    self.fault = 2
    filename = "%s-fault2_info.h5" % self.outputRoot
    check_vertex_fields(self, filename, self.faultMesh2, fields)

    return
开发者ID:youngsolar,项目名称:pylith,代码行数:19,代码来源:TestSlipTwoFaultsNP2.py


注:本文中的pylith.tests.Fault.check_vertex_fields函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。