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