Changeset 356

Show
Ignore:
Timestamp:
03/27/08 18:17:13 (8 months ago)
Author:
powell
Message:

Updates for version 0.3.0.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/matml/src/ternary/ternary.tex.in

    r345 r356  
    3232  triangles---which will clearly show the one- and two-phase regions, complete 
    3333  with two-phase tie lines. 
     34\item Added visualization and convex hull calculation for multiple phases with 
     35  separate free energy functions, {\em e.g.} solid and liquid. 
    3436\end{itemize} 
    3537 
     
    3739features are planned: 
    3840\begin{itemize} 
    39 \item Visualize multiple free energy functions simultaneously. 
    4041\item Refine the edges of the binodal region calculation using {\tt 
    4142    qh\_addpoint}. 
     
    4950  \item It's probably faster to inline or vectorize the free energy function. 
    5051  \end{itemize} 
    51   Then again, the slowest part of the calculation is probably qhull, which is 
    52   presumably already quite thoroughly optimized. 
     52  Then again, the slowest part of the calculation will likely be qhull, which 
     53  is already quite thoroughly optimized. 
    5354\end{itemize} 
    5455 
     
    5657 
    5758The file {\tt ternary.c} (documentation in appendix \ref{file_ternary.c}) 
    58 contains {\tt main()}, which creates a triangular array of points and set of 
    59 triangles connecting them.  It calls {\tt free\_energy()} in {\tt freenergy.c} 
    60 (appendix \ref{file_freenergy.c}) to calculate the free energy function on 
    61 those triangles.  It then displays the free energy using the functions in {\tt 
    62   geomview.c} (appendix \ref{file_geomview.c}), which forks a Geomview process 
    63 and controls it. 
     59contains {\tt main()}, which calls functions in {\tt book.c} (appendix 
     60\ref{file_book.c}) to create a triangular array of points and set of triangles 
     61connecting them.  It calls {\tt free\_energy()} in {\tt freenergy.c} (appendix 
     62\ref{file_freenergy.c}) to calculate the free energy function on those 
     63triangles.  It then displays the free energy using the functions in {\tt 
     64  geomview.c} (appendix \ref{file_geomview.c}), which forks and controls a 
     65Geomview process. 
    6466 
    6567Next it uses Qhull calls in {\tt qhull.c} (appendix \ref{file_qhull.c}) to 
     
    6971facets using transparent triangles with black edges, which clearly show the tie 
    7072lines in the two-phase regions. 
     73 
     74For more than one free energy function, it creates a double-size array with two 
     75sets of points, and two sets of triangle indices connecting them.  The rest of 
     76this procedure is pretty much the same. 
    7177 
    7278\section{Version History} 
     
    8490free energy function. 
    8591 
     92\subsection{{\tt Ternary} 0.3.0} 
     93 
     94This version introduced multiple free energy functions which intersect to 
     95produce complex multi-phase regions on the convex hull.  Internally, much of 
     96the code in main() moved out to a new file {\tt book.c}, which will make it a 
     97lot easier to wrap these functions using SIDL or SWIG. 
     98 
    8699\bibliographystyle{unsrturl} 
    87100\bibliography{ternary}