/[escript]/branches/3.4.1/modellib/py_src/input.py
ViewVC logotype

Diff of /branches/3.4.1/modellib/py_src/input.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 422 by gross, Tue Dec 6 06:18:00 2005 UTC revision 423 by gross, Fri Jan 6 08:09:43 2006 UTC
# Line 7  class Sequencer(Model): Line 7  class Sequencer(Model):
7      """      """
8      Runs through time until t_end is reached.      Runs through time until t_end is reached.
9      """      """
10      def __init__(self,t=0.,t_end=Model.UNDEF_DT,dt_max=Model.UNDEF_DT,debug=False):      def __init__(self,debug=False):
11          """          """
12          @param t_end: - model is terminated when t_end is passed            @param t_end: - model is terminated when t_end is passed  
13                     (exposed in writeXML)                     (exposed in writeXML)
# Line 18  class Sequencer(Model): Line 18  class Sequencer(Model):
18          @type t: float          @type t: float
19    
20          """          """
21          Model.__init__(self,debug=debug)          super(Sequencer,self).__init__(debug=debug)
22          self.declareParameter(t=t,          self.declareParameter(t=0.,
23                                t_end=t_end,                                t_end=1.,
24                                dt_max=dt_max)                                dt_max=Model.UNDEF_DT)
25    
26      def doInitialization(self):      def doInitialization(self):
27          """          """

Legend:
Removed from v.422  
changed lines
  Added in v.423

  ViewVC Help
Powered by ViewVC 1.1.26