Exemple #1
0
 def test_constructor(self):
   """
   Test constructor.
   """
   tstep = TimeStep()
   tstep._configure()
   return
Exemple #2
0
 def test_constructor(self):
     """
 Test constructor.
 """
     tstep = TimeStep()
     tstep._configure()
     return
Exemple #3
0
 def test_preinitialize(self):
   """
   Test preinitialize().
   """
   tstep = TimeStep()
   tstep._configure()
   tstep.preinitialize()
   return
Exemple #4
0
 def test_verifyConfiguration(self):
     """
 Test verifyConfiguration().
 """
     tstep = TimeStep()
     tstep._configure()
     tstep.preinitialize()
     tstep.verifyConfiguration()
     return
Exemple #5
0
    def setUp(self):
        from spatialdata.units.Nondimensional import Nondimensional
        normalizer = Nondimensional()
        normalizer._configure()
        normalizer.setTimeScale(2.0 * second)

        tstep = TimeStep()
        tstep._configure()
        tstep.preinitialize()
        tstep.initialize(normalizer)
        self.tstep = tstep
        return
Exemple #6
0
 def test_verifyConfiguration(self):
   """
   Test verifyConfiguration().
   """
   tstep = TimeStep()
   tstep._configure()
   tstep.preinitialize()
   tstep.verifyConfiguration()
   return
Exemple #7
0
 def test_preinitialize(self):
     """
 Test preinitialize().
 """
     tstep = TimeStep()
     tstep._configure()
     tstep.preinitialize()
     return
Exemple #8
0
  def setUp(self):
    from spatialdata.units.Nondimensional import Nondimensional
    normalizer = Nondimensional()
    normalizer._configure()
    normalizer.setTimeScale(2.0*second)

    tstep = TimeStep()
    tstep._configure()
    tstep.preinitialize()
    tstep.initialize(normalizer)
    self.tstep = tstep
    return