- Timestamp:
- 10/05/2009 08:32:56 PM (3 years ago)
- Location:
- trunk/matml/src/ternary
- Files:
-
- 3 modified
-
ChangeLog (modified) (1 diff)
-
spinodal.c (modified) (2 diffs)
-
ternary.tex.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/matml/src/ternary/ChangeLog
r471 r479 2 2 3 3 * New arbitrary polynomial terms in the free energy functions. 4 * Fixed a dumb bug in spinodal.c so that mostly works. 4 5 5 6 -- -
trunk/matml/src/ternary/spinodal.c
r478 r479 272 272 if (++numnewpoints >= thenewpoints_size) 273 273 if (!(thenewpoints = (energy_point *) 274 malloc ((thenewpoints_size*=2)*sizeof (energy_point)))) 274 realloc (thenewpoints, 275 (thenewpoints_size*=2)*sizeof (energy_point)))) 275 276 { free (thenewpoints); free (thesegs); return 1; } 276 277 thenewpoints [numnewpoints-1] .C2 = A2; … … 288 289 if (++numnewpoints >= thenewpoints_size) 289 290 if (!(thenewpoints = (energy_point *) 290 malloc ((thenewpoints_size*=2)*sizeof (energy_point)))) 291 realloc (thenewpoints, 292 (thenewpoints_size*=2)*sizeof (energy_point)))) 291 293 { free (thenewpoints); free (thesegs); return 1; } 292 294 thenewpoints [numnewpoints-1] .C2 = B2; -
trunk/matml/src/ternary/ternary.tex.in
r472 r479 102 102 \section{Bugs} 103 103 104 Version 0.4.0 is releasing with an incomplete spinodal implementation, which is 105 accurate for parts of the phase diagram and not others. The {\tt ternary} 106 program shows it in action, with parts of it working well, but with one long 107 line from a corner to a point on the spinodal. 108 109 It is also releasing with an incomplete implementation of {\tt hullRefine}, 104 Version 0.5.0 is releasing with an incomplete implementation of 105 {\tt hullRefine}, 110 106 which is fine for interior points, but does not attempt to refine points on the 111 107 edges, i.e. pseudobinaries.