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
Esempio n. 2
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
Esempio n. 3
0
 def setUp(self):
     """
 Setup for test.
 """
     TestHex8.setUp(self)
     run_pylith()
     self.outputRoot = "lgdeformtraction"
     if has_vtk():
         self.reader = VTKDataReader()
         self.soln = AnalyticalSoln()
     else:
         self.reader = None
     return