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


Python Integrator.verifyConfiguration方法代码示例

本文整理汇总了Python中pylith.feassemble.Integrator.Integrator.verifyConfiguration方法的典型用法代码示例。如果您正苦于以下问题:Python Integrator.verifyConfiguration方法的具体用法?Python Integrator.verifyConfiguration怎么用?Python Integrator.verifyConfiguration使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在pylith.feassemble.Integrator.Integrator的用法示例。


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

示例1: verifyConfiguration

# 需要导入模块: from pylith.feassemble.Integrator import Integrator [as 别名]
# 或者: from pylith.feassemble.Integrator.Integrator import verifyConfiguration [as 别名]
  def verifyConfiguration(self):
    """
    Verify compatibility of configuration.
    """
    logEvent = "%sverify" % self._loggingPrefix
    self._eventLogger.eventBegin(logEvent)

    FaultCohesive.verifyConfiguration(self)
    Integrator.verifyConfiguration(self)
    ModuleFaultCohesiveImpulses.verifyConfiguration(self, self.mesh())

    self._eventLogger.eventEnd(logEvent)
    return
开发者ID:youngsolar,项目名称:pylith,代码行数:15,代码来源:FaultCohesiveImpulses.py

示例2: verifyConfiguration

# 需要导入模块: from pylith.feassemble.Integrator import Integrator [as 别名]
# 或者: from pylith.feassemble.Integrator.Integrator import verifyConfiguration [as 别名]
  def verifyConfiguration(self):
    """
    Verify compatibility of configuration.
    """
    logEvent = "%sverify" % self._loggingPrefix
    self._eventLogger.eventBegin(logEvent)

    FaultCohesive.verifyConfiguration(self)
    Integrator.verifyConfiguration(self)
    ModuleFaultCohesiveKin.verifyConfiguration(self, self.mesh())

    for eqsrc in self.eqsrcs.components():
      eqsrc.verifyConfiguration()
    
    self._eventLogger.eventEnd(logEvent)
    return
开发者ID:rishabhdutta,项目名称:pylith,代码行数:18,代码来源:FaultCohesiveKin.py

示例3: verifyConfiguration

# 需要导入模块: from pylith.feassemble.Integrator import Integrator [as 别名]
# 或者: from pylith.feassemble.Integrator.Integrator import verifyConfiguration [as 别名]
    def verifyConfiguration(self):
        """
    Verify compatibility of configuration.
    """
        logEvent = "%sverify" % self._loggingPrefix
        self._eventLogger.eventBegin(logEvent)

        BoundaryCondition.verifyConfiguration(self, self.mesh())
        Integrator.verifyConfiguration(self)
        if self.bcQuadrature.cellDim() != self.mesh().dimension() - 1:
            raise ValueError, "Quadrature scheme and mesh are incompatible.\n" "Dimension for quadrature: %d\n" "Dimension of mesh boundary '%s': %d" % (
                self.bcQuadrature.cellDim,
                self.label(),
                self.mesh().dimension() - 1,
            )
        ModuleAbsorbingDampers.verifyConfiguration(self, self.mesh())

        self._eventLogger.eventEnd(logEvent)
        return
开发者ID:panzhengyang,项目名称:pylith,代码行数:21,代码来源:AbsorbingDampers.py


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