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