Changeset 2172 for branches/blt4/examples/app-fermi
- Timestamp:
- Mar 30, 2011, 12:55:46 PM (14 years ago)
- Location:
- branches/blt4/examples/app-fermi
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/examples/app-fermi/cee/Makefile.in
r1948 r2172 22 22 INCLUDES = -I$(srcdir)/../../../src/core 23 23 LIBS = -L../../../src/core -lrappture \ 24 -L$(libdir) -lexpat -lz 24 -L$(libdir) -lexpat -lz -lm 25 25 26 26 CC_SWITCHES = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES) -
branches/blt4/examples/app-fermi/fortran/Makefile.in
r1948 r2172 22 22 INCLUDES = -I$(srcdir)/../../../src/core 23 23 LIBS = -L../../../src/core -lrappture \ 24 -L$(libdir) -lexpat -lz 24 -L$(libdir) -lexpat -lz -lm 25 25 26 26 FC_SWITCHES = $(FCFLAGS) $(FCDEBUGFLAGS) $(DEFINES) $(INCLUDES) -
branches/blt4/examples/app-fermi/java/Fermi.java
r1744 r2172 22 22 // read the input values and convert to correct units 23 23 String Tstr = driver.get("input.number(temperature).current"); 24 double T = Double.valueOf(rappture.Units.convert (Tstr, "K", false));24 double T = Double.valueOf(rappture.Units.convertString(Tstr, "K", false)); 25 25 String Efstr = driver.get("input.number(Ef).current"); 26 double Ef = Double.valueOf(rappture.Units.convert (Efstr, "eV", false));26 double Ef = Double.valueOf(rappture.Units.convertString(Efstr, "eV", false)); 27 27 28 28 // Set the energy range and step size -
branches/blt4/examples/app-fermi/java/Makefile.in
r1948 r2172 15 15 16 16 JAVAC = @JAVAC@ 17 CLASSPATH = $(libdir)/java:../../../lang/java17 CLASSPATH = ../../../lang/java:$(libdir)/java 18 18 19 19 destdir = $(prefix)/examples/app-fermi/java -
branches/blt4/examples/app-fermi/octave/Makefile.in
r1948 r2172 13 13 14 14 INSTALL = @INSTALL@ 15 MKDIR_P = @MKDIR_P@ 15 16 16 all: all_2 all_317 SUBDIRS = 2 3 17 18 18 all_2: 19 $(MAKE) -C 2 all 19 all: 20 for i in $(SUBDIRS) ; do \ 21 $(MAKE) -C $$i all || exit 1 ;\ 22 done 20 23 21 all_3: 22 $(MAKE) -C 3 all 23 24 25 install: install_2 install_3 26 27 install_2: 28 $(MAKE) -C 2 install 29 30 install_3: 31 $(MAKE) -C 3 install 24 install: 25 for i in $(SUBDIRS) ; do \ 26 $(MAKE) -C $$i install || exit 1 ;\ 27 done 32 28 33 29 clean: 30 for i in $(SUBDIRS) ; do \ 31 $(MAKE) -C $$i clean ;\ 32 done 34 33 35 34 distclean: clean -
branches/blt4/examples/app-fermi/wrapper/cee/Makefile.in
r1948 r2172 22 22 INCLUDES = -I$(srcdir)/../../../../src/core 23 23 LIBS = -L../../../../src/core -lrappture \ 24 -L$(libdir) -lexpat -lz 24 -L$(libdir) -lexpat -lz -lm 25 25 26 26 CC_SWITCHES = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES) -
branches/blt4/examples/app-fermi/wrapper/cee/fermi.c
r1933 r2172 73 73 err = system("octave --silent fermi.m < indeck"); 74 74 75 if (err != 0) {75 if (err == 1) { 76 76 fprintf(stderr,"%s: calling octave science program failed",prog); 77 77 exit(err); … … 96 96 fp = fopen("out.dat","r"); 97 97 if (fp == NULL) { 98 fprintf(stderr,"%s: Error while writing to out.dat", 98 fprintf(stderr,"%s: Error while writing to out.dat",prog); 99 99 exit(1); 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.