Changeset 1854 for trunk/source/prt_comment.cpp
- Timestamp:
- 03/17/08 08:09:50 (10 months ago)
- Files:
-
- 1 modified
-
trunk/source/prt_comment.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/prt_comment.cpp
r1789 r1854 2543 2543 if( dense.lgElmtOn[nelem] ) 2544 2544 { 2545 if( Transitions[ipH_LIKE][nelem][ 3][ipH2p].Emis->TauIn > 0.2 )2545 if( Transitions[ipH_LIKE][nelem][ipH3p][ipH2s].Emis->TauIn > 0.2 ) 2546 2546 { 2547 differ = fabs(1.-Transitions[ipH_LIKE][nelem][ 3][ipH2p].Emis->TauIn*2548 rt.DoubleTau/Transitions[ipH_LIKE][nelem][ 3][ipH2p].Emis->TauTot)*100.;2547 differ = fabs(1.-Transitions[ipH_LIKE][nelem][ipH3p][ipH2s].Emis->TauIn* 2548 rt.DoubleTau/Transitions[ipH_LIKE][nelem][ipH3p][ipH2s].Emis->TauTot)*100.; 2549 2549 2550 2550 /* check whether H-alpha optical depth changed by much on last iteration 2551 2551 * no tolerance can be finer than autocv, the tolerance on the 2552 2552 * iterate to convergence command. It is 15% */ 2553 if( ((iterations.lgLastIt && Transitions[ipH_LIKE][nelem][ 3][ipH2p].Emis->TauIn > 0.8) &&2553 if( ((iterations.lgLastIt && Transitions[ipH_LIKE][nelem][ipH3p][ipH2s].Emis->TauIn > 0.8) && 2554 2554 differ > 20.) && wind.windv == 0. ) 2555 2555 { … … 2559 2559 elementnames.chElementSym[nelem], 2560 2560 nelem+1, differ, 2561 Transitions[ipH_LIKE][nelem][ 3][ipH2p].Emis->TauTot );2561 Transitions[ipH_LIKE][nelem][ipH3p][ipH2s].Emis->TauTot ); 2562 2562 caunin(chLine); 2563 2563 iterations.lgIterAgain = true; … … 2717 2717 /* say if rad pressure caused by la and la optical depth changed too much */ 2718 2718 differ = fabs(1.-Transitions[ipH_LIKE][ipHYDROGEN][ipH2p][ipH1s].Emis->TauIn/ 2719 SDIV(Transitions[ipH_LIKE][ipHYDROGEN][ipH2p][ipH1s].Emis->TauTot) *100.);2719 SDIV(Transitions[ipH_LIKE][ipHYDROGEN][ipH2p][ipH1s].Emis->TauTot))*100.; 2720 2720 2721 2721 if( iterations.lgLastIt && (pressure.RadBetaMax > 0.1) &&
