Changeset 460
- Timestamp:
- 06/17/2009 09:53:29 PM (3 years ago)
- Location:
- trunk/matml/src/ternary
- Files:
-
- 8 modified
- 1 copied
-
book.c (modified) (1 diff)
-
ChangeLog (modified) (1 diff)
-
geomview.c (modified) (1 diff)
-
gibbs.h (copied) (copied from trunk/matml/src/ternary/ternary.h) (1 prop)
-
Makefile.am (modified) (3 diffs)
-
qhull.c (modified) (1 diff)
-
spinodal.c (modified) (1 diff)
-
square.c (modified) (1 diff)
-
ternary.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/matml/src/ternary/book.c
r459 r460 9 9 10 10 #include "freenergy.h" /*+ Free energy prototypes, typedefs, etc. +*/ 11 #include " ternary.h" /*+ Ternary prototypes, typedefs, etc. +*/11 #include "gibbs.h" /*+ Ternary prototypes, typedefs, etc. +*/ 12 12 #include <math.h> /*+ For sqrt(), fmin()/fmax() +*/ 13 13 #include <stdlib.h> /*+ For malloc and free +*/ -
trunk/matml/src/ternary/ChangeLog
r459 r460 14 14 * New "square" free energy parameters for pseudo-square representation. 15 15 * Rectangle bookkeeping functions complete square functionality. 16 * Split all non-free-energy functions out into a ternary library. 16 * Split all non-free-energy functions out into a library named gibbs with a 17 matching header. 17 18 * New "square" example program demonstrates these functions. 18 19 -
trunk/matml/src/ternary/geomview.c
r459 r460 6 6 7 7 8 #include " ternary.h" /*+ Ternary prototypes, typedefs, etc. +*/8 #include "gibbs.h" /*+ Ternary prototypes, typedefs, etc. +*/ 9 9 #include <unistd.h> /*+ For execlp() +*/ 10 10 #include <stdio.h> /*+ For FILE, fdopen(), etc. +*/ -
trunk/matml/src/ternary/gibbs.h
-
trunk/matml/src/ternary/Makefile.am
r459 r460 9 9 AUTOMAKE_OPTIONS=1.5 10 10 11 lib_LTLIBRARIES = libfreenergy.la lib ternary.la11 lib_LTLIBRARIES = libfreenergy.la libgibbs.la 12 12 13 13 libfreenergy_la_SOURCES = freenergy.c … … 15 15 libfreenergy_la_LDFLAGS = -version-info 0:0:0 16 16 17 lib ternary_la_SOURCES = geomview.c qhull.c book.c spinodal.c18 lib ternary_la_LIBADD = -lm -lqhull libfreenergy.la19 lib ternary_la_CFLAGS = -std=c99 -DGEOMVIEW=\"@GEOMVIEW@\" #-DDEBUG20 lib ternary_la_LDFLAGS = -version-info 0:0:017 libgibbs_la_SOURCES = geomview.c qhull.c book.c spinodal.c 18 libgibbs_la_LIBADD = -lm -lqhull libfreenergy.la 19 libgibbs_la_CFLAGS = -std=c99 -DGEOMVIEW=\"@GEOMVIEW@\" #-DDEBUG 20 libgibbs_la_LDFLAGS = -version-info 0:0:0 21 21 22 include_HEADERS = freenergy.h ternary.h22 include_HEADERS = freenergy.h gibbs.h 23 23 24 24 bin_PROGRAMS = ternary square 25 25 ternary_SOURCES = ternary.c 26 26 ternary_CFLAGS = #-DDEBUG 27 ternary_LDADD = lib ternary.la libfreenergy.la27 ternary_LDADD = libgibbs.la libfreenergy.la 28 28 square_SOURCES = square.c 29 29 square_CFLAGS = #-DDEBUG 30 square_LDADD = lib ternary.la libfreenergy.la30 square_LDADD = libgibbs.la libfreenergy.la 31 31 32 32 EXTRA_DIST = autogen.sh macros/autogen.sh macros/cxref-latex.m4 \ … … 38 38 BUILT_TEXFILES = $(top_srcdir)/ternary.c.tex \ 39 39 $(top_srcdir)/square.c.tex \ 40 $(top_srcdir)/ ternary.h.tex \40 $(top_srcdir)/gibbs.h.tex \ 41 41 $(top_srcdir)/spinodal.c.tex \ 42 42 $(top_srcdir)/geomview.c.tex \ -
trunk/matml/src/ternary/qhull.c
r459 r460 8 8 9 9 #include "freenergy.h" 10 #include " ternary.h"10 #include "gibbs.h" 11 11 #include <qhull/qset.h> 12 12 #include <qhull/qhull.h> -
trunk/matml/src/ternary/spinodal.c
r459 r460 7 7 8 8 #include "freenergy.h" 9 #include " ternary.h"9 #include "gibbs.h" 10 10 #include <stdlib.h> /*+ For malloc() and free() +*/ 11 11 -
trunk/matml/src/ternary/square.c
r459 r460 7 7 8 8 9 #include " ternary.h" /*+ Ternary prototypes, typedefs, etc. +*/9 #include "gibbs.h" /*+ Ternary prototypes, typedefs, etc. +*/ 10 10 #include <stdlib.h> /*+ For calloc() +*/ 11 11 #include <math.h> /*+ For fabs() +*/ -
trunk/matml/src/ternary/ternary.c
r459 r460 7 7 8 8 9 #include " ternary.h" /*+ Ternary prototypes, typedefs, etc. +*/9 #include "gibbs.h" /*+ Ternary prototypes, typedefs, etc. +*/ 10 10 #include <stdlib.h> /*+ For calloc() +*/ 11 11 #include <math.h> /*+ For fabs() +*/