Show
Ignore:
Timestamp:
07/31/08 03:20:34 (5 months ago)
Author:
gary
Message:

change dynamics lgStatic to lgTimeDependentStatic to make clearer that this is time dependent static case

introduce lgTracePrint on some dynamics-related commands to control debug printout

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/dynamics.cpp

    r2133 r2293  
    595595 
    596596        /* identically zero velocities cannot occur */ 
    597         ASSERT( wind.windv != 0. || (wind.windv == 0. && dynamics.lgStatic) ); 
     597        ASSERT( wind.windv != 0. || (wind.windv == 0. && dynamics.lgTimeDependentStatic) ); 
    598598 
    599599        return factor; 
     
    612612        DEBUG_ENTRY( "DynaIonize()" ); 
    613613 
    614         /* the time (s) needed for gas to move Dyn_dr  */ 
    615         /* >>chng 02 dec 11 rjrw increase timestep when beyond end of previous zone, to allow -> eqm */ 
    616         if( !dynamics.lgStatic ) 
     614        /* the time (s) needed for gas to move dynamics.Dyn_dr  */ 
     615        /* >>chng 02 dec 11 rjrw increase dynamics.timestep when beyond end of previous zone, to allow -> eqm */ 
     616        if( !dynamics.lgTimeDependentStatic ) 
    617617        { 
    618618                /* in time dependent model timestep only changes once at end of iteration 
     
    12931293 
    12941294        /* !dynamics.lgStatic true - a true dynamical model */ 
    1295         if( !dynamics.lgStatic ) 
     1295        if( !dynamics.lgTimeDependentStatic ) 
    12961296        { 
    12971297                if(iteration == dynamics.n_initial_relax+1 ) 
     
    17651765 
    17661766        /* vars that determine whether time dependent soln only - set with time command */ 
    1767         dynamics.lgStatic = false; 
     1767        dynamics.lgTimeDependentStatic = false; 
    17681768        timestep_init = -1.; 
    17691769        /* this factor multiplies the time step */ 
     
    19971997 
    19981998        /*flag set true when time dependent only */ 
    1999         dynamics.lgStatic = true; 
     1999        dynamics.lgTimeDependentStatic = true; 
    20002000 
    20012001        i = 5;