Changeset 2134
- Timestamp:
- 06/28/08 02:34:32 (5 months ago)
- Files:
-
- 1 modified
-
trunk/source/radius_next.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/radius_next.cpp
r1940 r2134 1036 1036 } 1037 1037 1038 /*>>chng 06 apr 03, add this 1039 * this is special case of time dependent recombination - conditions become 1040 * very homogenious and tend to crash into I fronts - use last iteration's 1041 * radius as guess of current case */ 1038 /* time dependent recombination - conditions become very homogeneous and 1039 * crash into I fronts - use last iteration's radius as guess of current case */ 1042 1040 recom_dr_last_iter = BigRadius; 1043 1041 if( dynamics.lgStatic && dynamics.lgRecom ) 1044 1042 { 1043 /* first time through nzone == 1 */ 1045 1044 static long int nzone_recom = -1; 1046 if( nzone ==0)1045 if( nzone<=1 ) 1047 1046 { 1048 1047 /* initialization case */ 1049 1048 nzone_recom = 0; 1050 1049 } 1051 else if( radius.depth < struc.depth_last[struc.nzone_last-1] ) 1052 { 1050 else if( radius.depth < struc.depth_last[struc.nzone_last-1] && 1051 nzone_recom < struc.nzone_last ) 1052 { 1053 ASSERT( nzone_recom>=0 && nzone_recom<struc.nzone_last ); 1053 1054 /* case where we are within previous computed structure 1054 1055 * first possibly increase nzone_recom so that it points deeper
