Show
Ignore:
Timestamp:
03/09/08 16:59:05 (10 months ago)
Author:
rjrw
Message:

Minor changes to resulting from trying to chase down differences on
pdf_leiden_f1 --

ion_solver: allow molecule effects in first iteration,
iso_level: defensive programming for z[][]
mole_eval_balance: move some definitions for sp
mole_co_atom: add SDIV (aka fixit...) to prevent FPE in some circumstances

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newmole/source/mole_co_atom.cpp

    r1780 r1838  
    333333                        (*Rotate)[j].Emis->ColOvTot = 0.0; 
    334334                else 
    335                         (*Rotate)[j].Emis->ColOvTot = (realnum)(CollRate[j][j+1]/(CollRate[j][j+1]+(*Rotate)[j].Emis->pump) ); 
     335                        (*Rotate)[j].Emis->ColOvTot = (realnum)(CollRate[j][j+1]/SDIV(CollRate[j][j+1]+(*Rotate)[j].Emis->pump) ); 
    336336 
    337337                /* two cases - collisionally excited (usual case) or