def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    self.nverticesO = self.mesh['nvertices']

    # Fault x
    self.mesh['nvertices'] += 8
    self.faultMeshX = {'nvertices': 19,
                       'spaceDim': 3,
                       'ncells': 20,
                       'ncorners': 3}

    # Fault y
    self.mesh['nvertices'] += 2
    self.faultMeshY = {'nvertices': 9,
                       'spaceDim': 3,
                       'ncells': 8,
                       'ncorners': 3}
    run_pylith()
    self.outputRoot = "faultsintersectnoslip"

    self.soln = AnalyticalSoln()
    return
예제 #2
0
    def setUp(self):
        """
    Setup for test.
    """
        TestTet4.setUp(self)
        self.nverticesO = self.mesh['nvertices']

        # Fault x
        self.mesh['nvertices'] += 50
        self.faultMeshX = {
            'nvertices': 50,
            'spaceDim': 3,
            'ncells': 72,
            'ncorners': 3
        }

        # Fault y
        self.mesh['nvertices'] += 2
        self.faultMeshY = {
            'nvertices': 9,
            'spaceDim': 3,
            'ncells': 8,
            'ncorners': 3
        }
        run_pylith(FaultsIntersectApp)
        self.outputRoot = "faultsintersect"

        self.soln = AnalyticalSoln()
        return
예제 #3
0
    def setUp(self):
        """
    Setup for test.
    """
        TestTet4.setUp(self)
        self.mesh = {
            'ncells-elastic': 1266 * 8,
            'ncells-viscoelastic': 1276 * 8,
            'ncorners': 4,
            'nvertices': 4016,
            'spaceDim': 3,
            'tensorSize': 6
        }
        self.nverticesO = self.mesh['nvertices']
        self.mesh['nvertices'] += 36
        self.faultMesh = {
            'nvertices': 57,
            'spaceDim': 3,
            'ncells': 80,
            'ncorners': 3
        }
        run_pylith(ShearApp, GenerateDB, nprocs=4)
        self.outputRoot = "sheardispnosliprefine"

        self.soln = AnalyticalSoln()
        return
예제 #4
0
    def setUp(self):
        """
    Setup for test.
    """
        TestTet4.setUp(self)
        self.nverticesO = self.mesh['nvertices']

        # Fault x
        self.mesh['nvertices'] += 8
        self.faultMeshX = {
            'nvertices': 19,
            'spaceDim': 3,
            'ncells': 20,
            'ncorners': 3
        }

        # Fault y
        self.mesh['nvertices'] += 2
        self.faultMeshY = {
            'nvertices': 9,
            'spaceDim': 3,
            'ncells': 8,
            'ncorners': 3
        }
        run_pylith(FaultsIntersectNoSlipApp, GenerateDB)
        self.outputRoot = "faultsintersectnoslip"

        self.soln = AnalyticalSoln()
        return
예제 #5
0
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    run_pylith()
    self.outputRoot = "sheardisp"

    self.soln = AnalyticalSoln()
    return
예제 #6
0
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    run_pylith(AxialApp, GenerateDB)
    self.outputRoot = "axialdisp"

    self.soln = AnalyticalSoln()
    return
예제 #7
0
    def setUp(self):
        """
    Setup for test.
    """
        TestTet4.setUp(self)
        self.nverticesO = self.mesh["nvertices"]
        self.mesh["nvertices"] += 50 + 49
        self.faultMesh1 = {"nvertices": 50, "spaceDim": 3, "ncells": 72, "ncorners": 3}
        self.faultMesh2 = {"nvertices": 49, "spaceDim": 3, "ncells": 72, "ncorners": 3}
        run_pylith()
        self.outputRoot = "sliptwofaults_np2"

        self.soln = AnalyticalSoln()
        return
예제 #8
0
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    self.nverticesO = self.mesh['nvertices']
    self.mesh['nvertices'] += 8
    self.faultMesh = {'nvertices': 19,
                      'spaceDim': 3,
                      'ncells': 20,
                      'ncorners': 3}
    run_pylith()
    self.outputRoot = "sheardispnoslip"

    self.soln = AnalyticalSoln()
    return
예제 #9
0
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    self.nverticesO = self.mesh['nvertices']
    self.mesh['nvertices'] += 50
    self.faultMesh = {'nvertices': 50,
                      'spaceDim': 3,
                      'ncells': 72,
                      'ncorners': 3}
    run_pylith()
    self.outputRoot = "sliponefault"

    self.soln = AnalyticalSoln()
    return
예제 #10
0
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    self.nverticesO = self.mesh['nvertices']
    self.mesh['nvertices'] += 8
    self.faultMesh = {'nvertices': 19,
                      'spaceDim': 3,
                      'ncells': 20,
                      'ncorners': 3}
    run_pylith(ShearApp, GenerateDB, nprocs=3)
    self.outputRoot = "sheardispnoslip"

    self.soln = AnalyticalSoln()
    return
예제 #11
0
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    self.nverticesO = self.mesh['nvertices']
    self.mesh['nvertices'] += 50
    self.faultMesh = {'nvertices': 50,
                      'spaceDim': 3,
                      'ncells': 72,
                      'ncorners': 3}
    run_pylith(SlipOneFaultApp)
    self.outputRoot = "sliponefault"

    self.soln = AnalyticalSoln()
    return
예제 #12
0
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    self.nverticesO = self.mesh['nvertices']
    self.mesh['nvertices'] += 50+49
    self.faultMesh1 = {'nvertices': 50,
                       'spaceDim': 3,
                       'ncells': 72,
                       'ncorners': 3}
    self.faultMesh2 = {'nvertices': 49,
                       'spaceDim': 3,
                       'ncells': 72,
                       'ncorners': 3}
    run_pylith(SlipTwoFaultsApp)
    self.outputRoot = "sliptwofaults"

    self.soln = AnalyticalSoln()
    return
  def setUp(self):
    """
    Setup for test.
    """
    TestTet4.setUp(self)
    self.mesh = {'ncells-elastic': 1266*8,
                 'ncells-viscoelastic': 1276*8,
                 'ncorners': 4,
                 'nvertices': 4016,
                 'spaceDim': 3,
                 'tensorSize': 6}
    self.nverticesO = self.mesh['nvertices']
    self.mesh['nvertices'] += 36
    self.faultMesh = {'nvertices': 57,
                      'spaceDim': 3,
                      'ncells': 80,
                      'ncorners': 3}
    run_pylith()
    self.outputRoot = "sheardispnosliprefine"

    self.soln = AnalyticalSoln()
    return
예제 #14
0
    def setUp(self):
        """
    Setup for test.
    """
        TestTet4.setUp(self)
        self.nverticesO = self.mesh['nvertices']
        self.mesh['nvertices'] += 50 + 49
        self.faultMesh1 = {
            'nvertices': 50,
            'spaceDim': 3,
            'ncells': 72,
            'ncorners': 3
        }
        self.faultMesh2 = {
            'nvertices': 49,
            'spaceDim': 3,
            'ncells': 72,
            'ncorners': 3
        }
        run_pylith(SlipTwoFaultsApp)
        self.outputRoot = "sliptwofaults"

        self.soln = AnalyticalSoln()
        return