コード例 #1
0
def run_pylith():
    """
  Run pylith.
  """
    if not "done" in dir(run_pylith):
        from pylith.PyLithApp import PyLithApp
        app = PyLithApp("shearelasticisotropic")
        app.run()
        run_pylith.done = True
    return
コード例 #2
0
ファイル: TestDislocation.py プロジェクト: youngsolar/pylith
def run_pylith():
  """
  Run pylith.
  """
  if not "done" in dir(run_pylith):
    from pylith.PyLithApp import PyLithApp
    app = PyLithApp("dislocation")
    app.run()
    run_pylith.done = True
  return
コード例 #3
0
def run_pylith():
  """
  Run pylith.
  """
  if not "done" in dir(run_pylith):
    from pylith.PyLithApp import PyLithApp
    app = PyLithApp("axialelasticisotropic")
    app.run()
    run_pylith.done = True
  return
コード例 #4
0
ファイル: TestDislocation.py プロジェクト: xiaoxiz/pylith
def run_pylith():
  """
  Run pylith.
  """
  if not "done" in dir(run_pylith):
    from pylith.PyLithApp import PyLithApp
    app = PyLithApp("dislocation")
    app.run()
    run_pylith.done = True
  return