예제 #1
0
def run_eqinfo(appName, cfgfiles):
    """Helper function to run pylith_eqinfo.
    """
    if str(appName) in dir(run_eqinfo):
        return

    app = EqInfoApp()
    setattr(run_eqinfo, str(appName), True)
    app.run(argv=["test_eqinfo"] + cfgfiles)
    return
예제 #2
0
 def __init__(self):
     EqInfoApp.__init__(self, name="line")
     return
예제 #3
0
 def __init__(self):
   EqInfoApp.__init__(self, name="line")
   return
예제 #4
0
 def __init__(self):
   EqInfoApp.__init__(self, name="tri3")
   return
예제 #5
0
 def __init__(self):
   EqInfoApp.__init__(self, name="quad4")
   return
예제 #6
0
 def __init__(self):
     EqInfoApp.__init__(self, name="tri3")
     return
예제 #7
0
 def test_constructor(self):
     app = EqInfoApp()