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
Ejemplo n.º 2
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith(RotateApp, GenerateDB)
   self.outputRoot = "shearrotate"
   self.soln = AnalyticalSoln()
   return
Ejemplo n.º 3
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith()
   self.outputRoot = "lgdeformrigidbody"
   self.soln = AnalyticalSoln()
   return
Ejemplo n.º 4
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith()
   self.outputRoot = "sheardisp"
   self.soln = AnalyticalSoln()
   return
Ejemplo n.º 5
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith()
   self.outputRoot = "compressrotate"
   self.soln = AnalyticalSoln()
   return
Ejemplo n.º 6
0
 def setUp(self):
     """
 Setup for test.
 """
     TestQuad4.setUp(self)
     run_pylith(AxialApp, GenerateDB)
     self.outputRoot = "axialdisp"
     self.soln = AnalyticalSoln()
     return
Ejemplo n.º 7
0
 def setUp(self):
     """
 Setup for test.
 """
     TestQuad4.setUp(self)
     run_pylith(RotateApp, GenerateDB)
     self.outputRoot = "rigidrotate"
     self.soln = AnalyticalSoln()
     return
Ejemplo n.º 8
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith(AxialApp, GenerateDB)
   self.outputRoot = "axialdisp"
   self.soln = AnalyticalSoln()
   return
Ejemplo n.º 9
0
 def setUp(self):
     """
 Setup for test.
 """
     TestQuad4.setUp(self)
     run_pylith(RigidBodyApp, GenerateDB)
     self.outputRoot = "lgdeformrigidbody"
     self.soln = AnalyticalSoln()
     return
Ejemplo n.º 10
0
 def setUp(self):
   """
   Setup for test.
   """
   TestQuad4.setUp(self)
   run_pylith(TractionApp)
   self.outputRoot = "lgdeformtraction"
   self.soln = AnalyticalSoln()
   return
Ejemplo n.º 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
Ejemplo n.º 12
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(ShearStickApp)
    self.outputRoot = "friction_shear_stick"
    self.soln = AnalyticalSoln()
    return
Ejemplo n.º 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
Ejemplo n.º 14
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()
    self.outputRoot = "slipweakening_opening"
    self.soln = AnalyticalSoln()
    return
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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