Show
Ignore:
Timestamp:
04/04/08 03:02:50 (9 months ago)
Author:
gary
Message:

merge of r1913-1915 on mainline

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/c08_branch/source/init_sim_postparse.cpp

    r1776 r1916  
    55#include "cddefines.h"  
    66#include "dense.h" 
     7#include "elementnames.h" 
    78#include "physconst.h" 
    89#include "mole.h" 
     
    7879        } 
    7980 
     81        if( iso.lgPrintNumberOfLevels ) 
     82        { 
     83                fprintf(ioQQQ,"\n\n Number of levels in ions treated by iso sequences.\n"); 
     84                fprintf(ioQQQ," ISO   Element  hi-n(l-resolved) #(l-resolved)  n(collapsed)\n"); 
     85                /* option to print number of levels for each element */ 
     86                for( long ipISO=ipH_LIKE; ipISO<NISO; ++ipISO ) 
     87                { 
     88                        for( long nelem=ipISO; nelem<LIMELM; ++nelem ) 
     89                        { 
     90                                /* print number of levels */ 
     91                                fprintf(ioQQQ," %s  %s    %4li            %4li           %4li \n", 
     92                                        iso.chISO[ipISO] , 
     93                                        elementnames.chElementSym[nelem], 
     94                                        iso.n_HighestResolved_max[ipISO][nelem], 
     95                                        iso.numLevels_max[ipISO][nelem]-iso.nCollapsed_max[ipISO][nelem], 
     96                                        iso.nCollapsed_max[ipISO][nelem]); 
     97                        } 
     98                } 
     99        } 
     100 
    80101        return; 
    81102}