Changeset 493 for trunk/matml/src
- Timestamp:
- 11/27/2009 11:15:13 PM (2 years ago)
- Files:
-
- 1 modified
-
trunk/matml/src/ternary/Ternary.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/matml/src/ternary/Ternary.c
r491 r493 20 20 double T_iso=298., P=1., T_min=273., T_max=373.; 21 21 int P1_res=20, P2_res=20, T_steps=50, numpoints=462, refine=2, *verts=NULL; 22 energy_point *points=NULL;23 22 24 23 char P1_name[100], P2_name[100], gv_version [100], *entry_names[] = { … … 69 68 { 70 69 int i, numbounds, hullnumfacets; 70 energy_point *points=NULL; 71 71 hull_facet *hullfacets = NULL; 72 72 phase_boundary *allbounds=NULL; … … 137 137 138 138 free (vpoints); 139 free (allbounds); 140 free (hullfacets); 141 free (points); 139 142 140 143 //printf ("New parameters: \n"); … … 155 158 gtk_range_set_value (GTK_RANGE (hscale), content); 156 159 update_pointer (i, content); 157 if ( points)160 if (isotherm_geomview_pipe || phdiag_geomview_pipe) 158 161 recalculate_and_display (); 159 162 } … … 188 191 189 192 update_pointer (i, content); 190 if ( points)193 if (isotherm_geomview_pipe || phdiag_geomview_pipe) 191 194 recalculate_and_display (); 192 195 }