Changeset 2137

Show
Ignore:
Timestamp:
06/28/08 14:58:23 (2 months ago)
Author:
gary
Message:

allow clean assert of positive damping constant. previous bug prevented this but is fixed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/rt_line_one.cpp

    r1988 r2137  
    288288        nelem = t->Hi->nelem-1; 
    289289 
    290         /* damping constant for the line, save it */ 
     290        /* line damping constant at current temperature */ 
    291291        t->Emis->damp = t->Emis->dampXvel / DoppVel.doppler[t->Hi->nelem-1]; 
    292         /*if( t->damp <0. ) 
    293         { 
    294                 fprintf(ioQQQ,"DEBUG hit it \n"); 
    295         }*/ 
    296         ASSERT( t->Emis->damp > 0. ||  
    297                         (opac.lgCaseB && t->Emis->damp >= 0.) ); 
     292        ASSERT( t->Emis->damp > 0. ); 
    298293 
    299294        /* static solution - which type of line will determine