Esempio n. 1
0
 def _configure(self):
   PetscApplication._configure(self)
   self.foo = self.inventory.foo
   return
Esempio n. 2
0
 def onComputeNodes(self, *args, **kwds):
   PetscApplication.onComputeNodes(self, args, kwds)
   assert(-1 == self.foo.value)
   assert("_cleanup" == self.label)
   return
Esempio n. 3
0
 def __init__(self):
   PetscApplication.__init__(self, name="testapp")
   return
Esempio n. 4
0
 def test_constructor(self):
     app = PetscApplication()
Esempio n. 5
0
 def onComputeNodes(self, *args, **kwds):
     PetscApplication.onComputeNodes(self, args, kwds)
     assert(-1 == self.foo.value)
     assert("_cleanup" == self.label)
     return
Esempio n. 6
0
 def __init__(self):
     PetscApplication.__init__(self, name="testapp")
     return
Esempio n. 7
0
 def _configure(self):
     PetscApplication._configure(self)
     self.foo = self.inventory.foo
     return