예제 #1
0
파일: Neumann.py 프로젝트: jjle/pylith
  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)    
    self.output.verifyConfiguration(self.mesh())
    ModuleNeumann.verifyConfiguration(self, self.mesh())

    self._eventLogger.eventEnd(logEvent)
    return
예제 #2
0
  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)    
    self.output.verifyConfiguration(self.mesh())
    ModuleNeumann.verifyConfiguration(self, self.mesh())

    self._eventLogger.eventEnd(logEvent)
    return
예제 #3
0
파일: Neumann.py 프로젝트: jjle/pylith
 def _createModuleObj(self):
   """
   Create handle to corresponding C++ object.
   """
   ModuleNeumann.__init__(self)
   return
예제 #4
0
 def _createModuleObj(self):
   """
   Create handle to corresponding C++ object.
   """
   ModuleNeumann.__init__(self)
   return