Show
Ignore:
Timestamp:
08/01/08 13:48:31 (5 months ago)
Author:
gary
Message:

series of small changes resulting from a few hours debugging the negative population bugs now current in trunk. these should have little effect

cont_setintensity.cpp enforce use of EdenSet? when used

eden_sum - tidy up prints, assert EdenSet? used at exit

iso_ionize_recombine.cpp - on very first pass through routine set initial recomb rate

iso_level.cpp - small changes in print statements

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/iso_ionize_recombine.cpp

    r2107 r2296  
    55#include "cddefines.h" 
    66#include "ionbal.h" 
     7#include "conv.h" 
    78#include "atmdat.h" 
    89#include "dense.h" 
     
    246247        iso.RecomCollisFrac[ipISO][nelem] = Recom3Body* dense.eden / ionbal.RateRecomTot[nelem][nelem-ipISO]; 
    247248 
     249        /* very first pass through here rate RateIonizTot not yet evaluated */ 
     250        if( conv.nTotalIoniz==0 ) 
     251                ionbal.RateIonizTot[ipISO][nelem] = iso.RateLevel2Cont[ipISO][nelem][0]; 
     252 
    248253        /* get simple estimate of atom to ion ratio */ 
    249254        if( ionbal.RateRecomTot[nelem][nelem-ipISO] > 0. )