|
楼主 |
发表于 2006-7-23 14:09:53
|
显示全部楼层
我把相关信息贴出来,大家再帮我看看吧
[root@localhost root]# ls -l /home/watt/hdd/a
总用量 96
-rw-r--r-- 1 wattwang games 2779 2003-09-18 array.c
-rw-r--r-- 1 wattwang games 739 2003-09-18 array.h
-rw-r--r-- 1 wattwang games 8142 2003-09-18 complex.c
-rw-r--r-- 1 wattwang games 3718 2003-09-18 complex.h
-rw-r--r-- 1 wattwang games 17982 2003-09-18 copying.txt
-rw-r--r-- 1 wattwang games 958 2005-06-13 Copyright
-rw-r--r-- 1 wattwang games 728 2003-09-26 Makefile
-rw-r--r-- 1 wattwang games 7824 2003-09-18 mie.c
-rw-r--r-- 1 wattwang games 828 2003-09-18 mie.h
-rw-r--r-- 1 wattwang games 3549 2003-09-18 nrutil.c
-rw-r--r-- 1 wattwang games 345 2003-09-18 nrutil.h
-rw-r--r-- 1 wattwang games 2664 2005-06-13 readme.txt
-rw-r--r-- 1 wattwang games 18982 2005-06-24 stok1.c
-rw-r--r-- 1 wattwang games 398 2003-09-18 time.h
readme的内容如下:
/***********************************************************
* Copyright Jessica C. Ramella-Roman 2005
*
* README FILE
*
* Contains simple explaination on how to run Monte Carlo code
* and 8 test cases.
*
*
*
* J. Ramella-Roman, S. A. Prahl, S. L. Jacques Three Monte Carlo programs of polarized light transport into scattering media: part I, 2005 Optics Express, submitted 2005.
*
****/
Programs compiles and links with -> make
Programs runs with -> ./iquv
Results of total reflectance an total transmittance are printed on screen for every status of
polarization launched.
Programs generates 100x100 pixel images to contruct Mueller Matrix:
Generated matrices as : HH HV HP HR ; VH VV VP VR ; PH PV PP PR ; RH RV RP RR
H = HORIZONTAL POLARIZED PARALLEL TO REFERENCE FRAME;
V = VERTICAL POLARIZED PERPENDICULAR TO REFERENCE FRAME;
P = 45 POLARIZED;
R = RIGHT CIRCULAR POLARIZED;
/*************/
/* Examples
/*************/
sphere diameter = 2.00000; [micro m]
mus = 827.81840; [cm^-1]
g = 0.76861;
rho = 0.01000; [particle /(micro m)^3]
Slab size=0.00483 [cm] => [4/mus]
Photons = 1e5;
n_media = 1; index of refraction media
n_sphere = 1.59; index of refraction sphere
/* NOMALIZED BY PHOTON LAUNCHED;
R= TOTAL REFLECTANCE [I Q U V];
T= TOTAL TRANSMITTANCE [I Q U V];
launch H [1 1 0 0]
R = 0.29299 0.08992 -0.00054 -0.00014
T = 0.70701 0.51252 -0.00094 0.00133
launch V [1 -1 0 0]
R = 0.29306 -0.09181 -0.00049 -0.00004
T = 0.70694 -0.51268 -0.00114 0.00011
launch P [ 1 0 1 0]
R = 0.29254 0.00313 -0.08724 -0.00070
T = 0.70746 -0.00033 0.51334 0.00084
launch R [1 0 0 1]
R = 0.29285 -0.00081 -0.00037 -0.00875
T = 0.70715 0.00039 0.00078 0.51589
sphere diameter = 0.01000; [micro m]
mus = 0.00000;[cm^-1]
g = 0.00051;
rho = 0.01000;[particle /(micro m)^3]
Slab size = 275959772.13944 [cm] =>[4/mus]
n_media = 1; index of refraction media
n_sphere = 1.59; index of refraction sphere
launch H [1 1 0 0]
R= 0.68934 0.28741 -0.00059 -0.00000
T= 0.31066 0.07206 0.00035 -0.00000
launch V [1 0 1 0]
R= 0.68858 -0.28715 0.00055 -0.00000
T= 0.31142 -0.07305 -0.00013 -0.00000
launch P [1 0 1 0]
R= 0.68850 -0.00040 -0.28743 0.00000
T= 0.31150 0.00017 0.07283 0.00000
launch R [1 0 0 1]
R= 0.68870 -0.00065 0.00032 -0.20367
T= 0.31130 -0.00029 -0.00061 0.04982
makefile的内容如下:
CC = gcc
CFLAGS = -g -Wall -pedantic -ansi -O3
LD = gcc
LDFLAGS = -lm
RM = /bin/rm -f
OBJS = stok1.o mie.o complex.o nrutil.o array.o
PROG = iquv
# top-level rule, to compile everything.
all: $(PROG)
# rule to link the program
$(PROG): $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) -o $(PROG)
# rule for file "stok1.o".
stok1R.o: stok1R.c
$(CC) $(CFLAGS) -c stok1.c
# rule for file "mie.o".
mie.o: mie.c
$(CC) $(CFLAGS) -c mie.c
# rule for file "nrutil.o".
nrutil.o: nrutil.c
$(CC) $(CFLAGS) -c nrutil.c
# rule for file "complex.o".
complex.o: complex.c
$(CC) $(CFLAGS) -c complex.c
# rule for file "array.o".
array.o: array.c
$(CC) $(CFLAGS) -c array.c
# rule for cleaning re-compilable files.
clean:
$(RM) $(PROG) $(OBJS) |
|