def setUp(self):
    """
    Setup for test.
    """
    TestQuad4.setUp(self)
    self.mesh['nvertices'] = 81+18
    self.nverticesO = 81
    self.fault1Mesh = {'nvertices': 9,
                       'spaceDim': 3,
                       'ncells': 8,
                       'ncorners': 2}
    self.fault2Mesh = {'nvertices': 9,
                       'spaceDim': 3,
                       'ncells': 8,
                       'ncorners': 2}

    run_pylith()
    self.outputRoot = "dislocation2"
    if has_vtk():
      self.reader = VTKDataReader()
      self.soln = AnalyticalSoln()
    else:
      self.reader = None

    return
示例#2
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith(RotateApp, GenerateDB)
   self.outputRoot = "shearrotate"
   self.soln = AnalyticalSoln()
   return
示例#3
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith()
   self.outputRoot = "lgdeformrigidbody"
   self.soln = AnalyticalSoln()
   return
示例#4
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith()
   self.outputRoot = "sheardisp"
   self.soln = AnalyticalSoln()
   return
示例#5
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith()
   self.outputRoot = "compressrotate"
   self.soln = AnalyticalSoln()
   return
示例#6
0
 def setUp(self):
     """
 Setup for test.
 """
     TestQuad4.setUp(self)
     run_pylith(AxialApp, GenerateDB)
     self.outputRoot = "axialdisp"
     self.soln = AnalyticalSoln()
     return
示例#7
0
 def setUp(self):
     """
 Setup for test.
 """
     TestQuad4.setUp(self)
     run_pylith(RotateApp, GenerateDB)
     self.outputRoot = "rigidrotate"
     self.soln = AnalyticalSoln()
     return
示例#8
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith(AxialApp, GenerateDB)
   self.outputRoot = "axialdisp"
   self.soln = AnalyticalSoln()
   return
示例#9
0
 def setUp(self):
     """
 Setup for test.
 """
     TestQuad4.setUp(self)
     run_pylith(RigidBodyApp, GenerateDB)
     self.outputRoot = "lgdeformrigidbody"
     self.soln = AnalyticalSoln()
     return
示例#10
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith(TractionApp)
   self.outputRoot = "lgdeformtraction"
   self.soln = AnalyticalSoln()
   return
示例#11
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith()
   self.outputRoot = "axialdisp"
   if has_vtk():
     self.reader = VTKDataReader()
     self.soln = AnalyticalSoln()
   else:
     self.reader = None
   return
  def setUp(self):
    """
    Setup for test.
    """
    TestQuad4.setUp(self)
    self.mesh['nvertices'] = 81+9
    self.nverticesO = 81
    self.faultMesh = {'nvertices': 9,
                      'spaceDim': 2,
                      'ncells': 8,
                      'ncorners': 2}

    run_pylith(ShearStickApp)
    self.outputRoot = "friction_shear_stick"
    self.soln = AnalyticalSoln()
    return
示例#13
0
  def setUp(self):
    """
    Setup for test.
    """
    TestQuad4.setUp(self)
    self.mesh['nvertices'] = 81+9
    self.nverticesO = 81
    self.faultMesh = {'nvertices': 9,
                      'spaceDim': 2,
                      'ncells': 8,
                      'ncorners': 2}

    run_pylith(SWShearStickApp)
    self.outputRoot = "slipweakening_shear_stick"
    self.soln = AnalyticalSoln()
    return
  def setUp(self):
    """
    Setup for test.
    """
    TestQuad4.setUp(self)
    self.mesh['nvertices'] = 81+9
    self.nverticesO = 81
    self.faultMesh = {'nvertices': 9,
                      'spaceDim': 2,
                      'ncells': 8,
                      'ncorners': 2}

    run_pylith()
    self.outputRoot = "slipweakening_opening"
    self.soln = AnalyticalSoln()
    return
示例#15
0
  def setUp(self):
    """
    Setup for test.
    """
    TestQuad4.setUp(self)
    self.mesh['nvertices'] = 81+9
    self.nverticesO = 81
    self.faultMesh = {'nvertices': 9,
                      'spaceDim': 2,
                      'ncells': 8,
                      'ncorners': 2}

    run_pylith(LocalApp2, nprocs=2)
    self.outputRoot = "dislocation_np2"
    self.soln = AnalyticalSoln()

    return
示例#16
0
    def setUp(self):
        """
    Setup for test.
    """
        TestQuad4.setUp(self)
        self.mesh['nvertices'] = 81 + 9
        self.nverticesO = 81
        self.faultMesh = {
            'nvertices': 9,
            'spaceDim': 2,
            'ncells': 8,
            'ncorners': 2
        }

        run_pylith(CompressionApp)
        self.outputRoot = "friction_compression"
        self.soln = AnalyticalSoln()
        return
示例#17
0
    def setUp(self):
        """
    Setup for test.
    """
        TestQuad4.setUp(self)
        self.mesh['nvertices'] = 81 + 9
        self.nverticesO = 81
        self.faultMesh = {
            'nvertices': 9,
            'spaceDim': 2,
            'ncells': 8,
            'ncorners': 2
        }

        run_pylith(LocalApp2, nprocs=2)
        self.outputRoot = "dislocation_np2"
        self.soln = AnalyticalSoln()

        return