add sample code m3d

This commit is contained in:
2021-07-28 07:54:12 +08:00
parent d645456208
commit 5b65eab987
36 changed files with 597430 additions and 0 deletions

21
m3d/test/prism/B.dat Normal file
View File

@@ -0,0 +1,21 @@
1.737757574463652e-10 -635.4085370474393 -212.8584696131428
7.100187505910168e-11 -863.7006228547203 -200.1092298959717
6.971809074841938e-11 -1189.007890611924 -141.7214283010672
-4.39596864735181e-11 -1651.918543074786 10.78045214147956
8.561650212168858e-11 -2298.687469671002 350.1488193308566
9.076487425421862e-11 -3154.961236659576 1043.789659412136
7.697411908173454e-11 -4144.066208409773 2353.372919599165
7.003903682608996e-11 -4918.860355559848 4545.864439676168
6.215104250478429e-11 -4754.740298994076 7508.666465817736
-3.176373552203626e-12 -3007.689004117421 10265.02007584552
-3.970466940254533e-11 -1.092672501958047e-10 11400.03318745997
-5.331013611781753e-11 3007.689004117223 10265.02007584555
-1.222374422006362e-10 4754.740298993823 7508.666465817816
-5.878938049536878e-11 4918.860355559699 4545.864439676241
-1.449220433192904e-10 4144.066208409641 2353.372919599243
-1.796900988261193e-10 3154.961236659423 1043.789659412213
-1.849774373015583e-10 2298.687469670839 350.1488193309253
1.524659305057741e-11 1651.918543074769 10.78045214151214
-2.047205841619739e-10 1189.007890611837 -141.7214283009593
-7.065611356305452e-11 863.7006228546859 -200.1092298958737
-2.23121216888216e-10 635.4085370473767 -212.8584696130135

21
m3d/test/prism/T.dat Normal file
View File

@@ -0,0 +1,21 @@
21.12231754000101 -3.019209235818551e-14 -6.886278599503955e-14 3.474158572722716e-14 -63.54910194478789 -0.1839987196832902 1.013296250377459e-14 -0.1839987196833266 42.42678440478725
31.87138101262279 5.624828165360588e-14 6.617444900424221e-14 -1.985233470127266e-14 -90.30444582602237 9.99293632784965 5.004442705945817e-14 9.992936327849796 58.4330648134002
49.29453097814596 1.108422020821057e-13 1.19114008207636e-13 -9.347140921849213e-14 -128.8385075423322 31.51421540285394 2.183756817139993e-13 31.5142154028544 79.5439765641856
78.12325569581066 -3.805030817743927e-14 -1.621274000603934e-13 -1.48892510259545e-13 -182.4574255685077 75.12864161221496 4.880365614062863e-14 75.12864161221508 104.334169872696
126.4986335395693 -1.224227306578481e-13 -2.216844041642114e-13 -8.271806125530277e-14 -250.5577297032963 160.2435924801685 1.753622898612419e-13 160.2435924801684 124.0590961637267
207.6337869138934 -9.595295105615121e-14 -8.106370003019671e-14 -4.367513634279986e-13 -317.0213860559829 317.0213860559825 9.098986738083304e-14 317.0213860559826 109.3875991420891
339.6486195020142 -1.323488980084844e-14 0 -8.602678370551488e-14 -324.2013637302235 572.972272004424 -3.110199103199384e-13 572.9722720044236 -15.44725577179146
536.5279311516452 2.051407919131509e-13 1.323488980084844e-13 1.522012327097571e-13 -149.7675027828188 886.3048081641168 -5.161607022330893e-13 886.3048081641166 -386.7604283688267
780.8632702299377 1.455837878093329e-13 2.646977960169689e-14 6.617444900424221e-14 301.7336734016437 1032.383272758852 6.617444900424221e-14 1032.383272758853 -1082.596943631582
997.1209753131577 3.308722450212111e-15 -1.058791184067875e-13 8.271806125530277e-14 844.5477841780263 717.9269806455579 1.323488980084844e-13 717.9269806455579 -1841.668759491184
1084.557107935641 0 -1.588186776101813e-13 4.301339185275744e-14 1084.557107935641 2.249931266144235e-13 -2.911675756186657e-13 1.852884572118782e-13 -2169.114215871282
997.1209753131577 -1.257314531080602e-13 -6.617444900424221e-14 -6.617444900424221e-14 844.5477841780263 -717.9269806455578 -2.646977960169689e-13 -717.9269806455573 -1841.668759491184
780.8632702299373 -1.654361225106055e-13 -9.26442286059391e-14 3.970466940254533e-14 301.7336734016437 -1032.383272758852 -1.058791184067875e-13 -1032.383272758853 -1082.596943631582
536.5279311516449 -1.78671012311454e-13 2.845501307182415e-13 2.249931266144235e-13 -149.7675027828188 -886.3048081641169 3.639594695233322e-13 -886.3048081641166 -386.7604283688262
339.6486195020144 -1.919059021123024e-13 1.422750653591208e-13 -6.28657265540301e-14 -324.2013637302236 -572.9722720044241 1.985233470127266e-13 -572.9722720044239 -15.44725577179121
207.6337869138933 1.654361225106055e-14 -1.20768369432742e-13 0 -317.0213860559826 -317.0213860559829 -2.804142276554764e-13 -317.0213860559826 109.3875991420888
126.4986335395695 -1.058791184067875e-13 1.712263867984767e-13 -1.48892510259545e-14 -250.5577297032962 -160.2435924801688 -1.745351092486888e-13 -160.2435924801684 124.0590961637264
78.12325569581127 8.271806125530277e-16 2.067951531382569e-14 -1.455837878093329e-13 -182.4574255685078 -75.12864161221478 1.77843831698901e-13 -75.12864161221437 104.3341698726953
49.29453097814511 1.079470699381701e-13 -4.264116057710858e-13 -1.468245587281624e-13 -128.8385075423318 -31.51421540285424 1.294537658645488e-13 -31.51421540285419 79.54397656418534
31.8713810126225 -1.137373342260413e-13 1.178732372888064e-13 -1.364848010712496e-14 -90.30444582602198 -9.992936327849893 7.320548421094295e-14 -9.992936327850073 58.43306481340039
21.12231754000106 -6.369290716658313e-14 9.822769774067204e-14 3.019209235818551e-14 -63.54910194478767 0.1839987196831578 2.460862322345257e-14 0.1839987196832273 42.4267844047873

21
m3d/test/prism/V.dat Normal file
View File

@@ -0,0 +1,21 @@
7.945192481831718e-06
1.017383329478892e-05
1.322404102437235e-05
1.744522272350393e-05
2.331989022427822e-05
3.144984660923422e-05
4.239139532730504e-05
5.611494310888429e-05
7.096632415803106e-05
8.302285058871522e-05
8.771664564788265e-05
8.302285058871541e-05
7.096632415803139e-05
5.611494310888459e-05
4.239139532730563e-05
3.144984660923555e-05
2.331989022428026e-05
1.744522272350437e-05
1.322404102437398e-05
1.017383329478864e-05
7.94519248183215e-06

7
m3d/test/prism/cube.ele Executable file
View File

@@ -0,0 +1,7 @@
6
0 2 0 3 7 0 0 200
1 2 0 7 6 0 0 200
2 5 4 0 6 0 0 200
3 0 4 7 6 0 0 200
4 0 2 1 6 0 0 200
5 5 0 1 6 0 0 200

10
m3d/test/prism/cube.node Executable file
View File

@@ -0,0 +1,10 @@
8
0 -5 5 0
1 -5 -5 0
2 5 -5 0
3 5 5 0
4 -5 5 -10
5 -5 -5 -10
6 5 -5 -10
7 5 5 -10

View File

@@ -0,0 +1,21 @@
0 -30 0 21.122317540001099 0 0 0 -63.549101944787999 -0.18399871968333148 0 -0.18399871968333148 42.4267844047869
0 -27 0 31.871381012622496 0 0 0 -90.304445826022018 9.992936327849824 0 9.992936327849824 58.433064813399525
0 -24 0 49.29453097814573 0 0 0 -128.8385075423322 31.51421540285429 0 31.51421540285429 79.543976564186465
0 -21 0 78.123255695811622 0 0 0 -182.45742556850811 75.12864161221475 0 75.12864161221475 104.33416987269649
0 -18 0 126.49863353956923 0 0 0 -250.55772970329625 160.24359248016859 0 160.24359248016859 124.05909616372702
0 -15 0 207.6337869138932 0 0 0 -317.02138605598282 317.02138605598282 0 317.02138605598282 109.38759914208961
0 -12 0 339.64861950201418 0 0 0 -324.20136373022308 572.97227200442421 0 572.97227200442421 -15.447255771791106
0 -9 0 536.52793115164491 0 0 0 -149.76750278281909 886.30480816411728 0 886.30480816411728 -386.76042836882584
0 -6 0 780.86327022993771 0 0 0 301.73367340164367 1032.3832727588522 0 1032.3832727588522 -1082.5969436315813
0 -3 0 997.12097531315806 0 0 0 844.54778417802595 717.92698064555793 0 717.92698064555793 -1841.6687594911841
0 0 0 1084.5571079356412 0 0 0 1084.5571079356412 0 0 0 -2169.1142158712823
0 3 0 997.12097531315771 0 0 0 844.54778417802595 -717.92698064555793 0 -717.92698064555793 -1841.6687594911837
0 6 0 780.86327022993726 0 0 0 301.73367340164378 -1032.3832727588526 0 -1032.3832727588526 -1082.5969436315811
0 9 0 536.52793115164468 0 0 0 -149.76750278281909 -886.3048081641175 0 -886.3048081641175 -386.76042836882561
0 12 0 339.64861950201595 0 0 0 -324.20136373022308 -572.97227200442421 0 -572.97227200442421 -15.447255771792868
0 15 0 207.63378691389613 0 0 0 -317.02138605598282 -317.02138605598282 0 -317.02138605598282 109.38759914208669
0 18 0 126.4986335395718 0 0 0 -250.55772970329625 -160.24359248016853 0 -160.24359248016853 124.05909616372445
0 21 0 78.123255695812801 0 0 0 -182.45742556850811 -75.128641612214707 0 -75.128641612214707 104.33416987269531
0 24 0 49.294530978142291 0 0 0 -128.83850754233234 -31.514215402854362 0 -31.514215402854362 79.543976564190046
0 27 0 31.871381012621434 0 0 0 -90.304445826022018 -9.9929363278497902 0 -9.9929363278497902 58.433064813400584
0 30 0 21.122317539998271 0 0 0 -63.549101944787999 0.18399871968336617 0 0.18399871968336617 42.426784404789728

View File

@@ -0,0 +1,77 @@
clear all;
%% load closed-form from prism
xyz = load('xyz.dat');
x = xyz(:,1);
y = xyz(:,2);
%% solution
T = load('T.dat'); %% our solutions
T2 = load('heath2005_result.dat'); %% reference solutions from prism
lsize=1.5;
fsize=11;
msize= 4;
%% (xx,xy,xz,yx,yy,yz,zx,zy,zz) in T.dat
%% plot tensor (xx,yy,zz)
figure('Position',[0 0 800 600]);
subplot(3,2,1);
plot(y, T(:,1),'ko', y, T2(:,4), 'k-', 'MarkerSize', msize, 'LineWidth', lsize);
ylabel('T_{xx}(nT/m)','FontSize', fsize);
set(gca,'fontsize',fsize);
subplot(3,2,2);
plot(y, (T(:,1)-T2(:,4))./T2(:,4)*100, 'ko', 'MarkerSize', msize, 'LineWidth', lsize);
ylabel('Relative error of T_{xx} (%)','FontSize', fsize);
set(gca,'fontsize',fsize);
subplot(3,2,3);
plot(y, T(:,5), 'ko', y, T2(:,8), 'k-', 'MarkerSize', msize, 'LineWidth', lsize);
ylabel({'T_{yy}(nT/m)'},'FontSize', fsize);
set(gca,'fontsize',fsize);
subplot(3,2,4);
plot(y, (T(:,5)-T2(:,8))./T2(:,8)*100, 'ko', 'MarkerSize', msize, 'LineWidth', lsize);
ylabel('Relative error of T_{yy} (%)','FontSize', fsize);
set(gca,'fontsize',fsize);
subplot(3,2,5);
plot(y, T(:,9), 'ko', y, T2(:,12), 'k-', 'MarkerSize', msize, 'LineWidth', lsize);
xlabel('y(m)','FontSize', fsize);
ylabel({'T_{zz}(nT/m)'},'FontSize', fsize);
ylim([-5000,1000]);
hl=legend('Our closed-form solutions', 'Closed-form solutions for prism');
set(hl, 'Box', 'off', 'location', 'Best','FontSize', fsize) ;
set(gca,'fontsize',fsize);
subplot(3,2,6);
plot(y, (T(:,9)-T2(:,12))./T2(:,12)*100, 'ko', 'MarkerSize', msize, 'LineWidth', lsize);
xlabel('y(m)','FontSize', fsize);
ylabel('Relative error of T_{zz} (%)','FontSize', fsize);
set(gca,'fontsize',fsize);
%% plot tensor (yz)
figure('Position',[0 0 800 250]);
subplot(1,2,1);
plot(y, T(:,6),'ko', y, T2(:,9), 'k-', 'MarkerSize', msize, 'LineWidth', lsize);
ylabel({'T_{yz}(nT/m)'},'FontSize', fsize);
ylim([-1500,2000]);
hl=legend('Our closed-form solutions', 'Closed-form solutions for prism');
set(hl, 'Box', 'off', 'location', 'Best','FontSize', fsize) ;
xlabel('y(m)','FontSize', fsize);
set(gca,'fontsize',fsize);
subplot(1,2,2);
plot(y, (T(:,6)-T2(:,9))./T2(:,9)*100, 'ko', 'MarkerSize', msize, 'LineWidth', lsize);
ylabel('Relative error of T_{yz} (%)','FontSize', fsize);
xlabel('y(m)','FontSize', fsize);
set(gca,'fontsize',fsize);

23
m3d/test/prism/site.dat Executable file
View File

@@ -0,0 +1,23 @@
21
0 0 -30 10
1 0 -27 10
2 0 -24 10
3 0 -21 10
4 0 -18 10
5 0 -15 10
6 0 -12 10
7 0 -9 10
8 0 -6 10
9 0 -3 10
10 0 0 10
11 0 3 10
12 0 6 10
13 0 9 10
14 0 12 10
15 0 15 10
16 0 18 10
17 0 21 10
18 0 24 10
19 0 27 10
20 0 30 10

View File

@@ -0,0 +1,950 @@
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: MATLAB, The Mathworks, Inc. Version 7.9.0.529 (R2009b). Operating System: Linux 4.6.4-201.fc23.x86_64 #1 SMP Tue Jul 12 11:43:59 UTC 2016 x86_64.
%%Title: /home/renzh/code/m3d2geophysics/m3d/test/prism/solution_one_profile.eps
%%CreationDate: 02/26/2017 13:42:23
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%LanguageLevel: 2
%%Pages: 1
%%BoundingBox: -13 156 626 636
%%EndComments
%%BeginProlog
% MathWorks dictionary
/MathWorks 160 dict begin
% definition operators
/bdef {bind def} bind def
/ldef {load def} bind def
/xdef {exch def} bdef
/xstore {exch store} bdef
% operator abbreviations
/c /clip ldef
/cc /concat ldef
/cp /closepath ldef
/gr /grestore ldef
/gs /gsave ldef
/mt /moveto ldef
/np /newpath ldef
/cm /currentmatrix ldef
/sm /setmatrix ldef
/rm /rmoveto ldef
/rl /rlineto ldef
/s {show newpath} bdef
/sc {setcmykcolor} bdef
/sr /setrgbcolor ldef
/sg /setgray ldef
/w /setlinewidth ldef
/j /setlinejoin ldef
/cap /setlinecap ldef
/rc {rectclip} bdef
/rf {rectfill} bdef
% page state control
/pgsv () def
/bpage {/pgsv save def} bdef
/epage {pgsv restore} bdef
/bplot /gsave ldef
/eplot {stroke grestore} bdef
% orientation switch
/portraitMode 0 def /landscapeMode 1 def /rotateMode 2 def
% coordinate system mappings
/dpi2point 0 def
% font control
/FontSize 0 def
/FMS {/FontSize xstore findfont [FontSize 0 0 FontSize neg 0 0]
makefont setfont} bdef
/reencode {exch dup where {pop load} {pop StandardEncoding} ifelse
exch dup 3 1 roll findfont dup length dict begin
{ 1 index /FID ne {def}{pop pop} ifelse } forall
/Encoding exch def currentdict end definefont pop} bdef
/isroman {findfont /CharStrings get /Agrave known} bdef
/FMSR {3 1 roll 1 index dup isroman {reencode} {pop pop} ifelse
exch FMS} bdef
/csm {1 dpi2point div -1 dpi2point div scale neg translate
dup landscapeMode eq {pop -90 rotate}
{rotateMode eq {90 rotate} if} ifelse} bdef
% line types: solid, dotted, dashed, dotdash
/SO { [] 0 setdash } bdef
/DO { [.5 dpi2point mul 4 dpi2point mul] 0 setdash } bdef
/DA { [6 dpi2point mul] 0 setdash } bdef
/DD { [.5 dpi2point mul 4 dpi2point mul 6 dpi2point mul 4
dpi2point mul] 0 setdash } bdef
% macros for lines and objects
/L {lineto stroke} bdef
/MP {3 1 roll moveto 1 sub {rlineto} repeat} bdef
/AP {{rlineto} repeat} bdef
/PDlw -1 def
/W {/PDlw currentlinewidth def setlinewidth} def
/PP {closepath eofill} bdef
/DP {closepath stroke} bdef
/MR {4 -2 roll moveto dup 0 exch rlineto exch 0 rlineto
neg 0 exch rlineto closepath} bdef
/FR {MR stroke} bdef
/PR {MR fill} bdef
/L1i {{currentfile picstr readhexstring pop} image} bdef
/tMatrix matrix def
/MakeOval {newpath tMatrix currentmatrix pop translate scale
0 0 1 0 360 arc tMatrix setmatrix} bdef
/FO {MakeOval stroke} bdef
/PO {MakeOval fill} bdef
/PD {currentlinewidth 2 div 0 360 arc fill
PDlw -1 eq not {PDlw w /PDlw -1 def} if} def
/FA {newpath tMatrix currentmatrix pop translate scale
0 0 1 5 -2 roll arc tMatrix setmatrix stroke} bdef
/PA {newpath tMatrix currentmatrix pop translate 0 0 moveto scale
0 0 1 5 -2 roll arc closepath tMatrix setmatrix fill} bdef
/FAn {newpath tMatrix currentmatrix pop translate scale
0 0 1 5 -2 roll arcn tMatrix setmatrix stroke} bdef
/PAn {newpath tMatrix currentmatrix pop translate 0 0 moveto scale
0 0 1 5 -2 roll arcn closepath tMatrix setmatrix fill} bdef
/vradius 0 def /hradius 0 def /lry 0 def
/lrx 0 def /uly 0 def /ulx 0 def /rad 0 def
/MRR {/vradius xdef /hradius xdef /lry xdef /lrx xdef /uly xdef
/ulx xdef newpath tMatrix currentmatrix pop ulx hradius add uly
vradius add translate hradius vradius scale 0 0 1 180 270 arc
tMatrix setmatrix lrx hradius sub uly vradius add translate
hradius vradius scale 0 0 1 270 360 arc tMatrix setmatrix
lrx hradius sub lry vradius sub translate hradius vradius scale
0 0 1 0 90 arc tMatrix setmatrix ulx hradius add lry vradius sub
translate hradius vradius scale 0 0 1 90 180 arc tMatrix setmatrix
closepath} bdef
/FRR {MRR stroke } bdef
/PRR {MRR fill } bdef
/MlrRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lry uly sub 2 div def
newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
rad rad scale 0 0 1 90 270 arc tMatrix setmatrix lrx rad sub lry rad
sub translate rad rad scale 0 0 1 270 90 arc tMatrix setmatrix
closepath} bdef
/FlrRR {MlrRR stroke } bdef
/PlrRR {MlrRR fill } bdef
/MtbRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lrx ulx sub 2 div def
newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
rad rad scale 0 0 1 180 360 arc tMatrix setmatrix lrx rad sub lry rad
sub translate rad rad scale 0 0 1 0 180 arc tMatrix setmatrix
closepath} bdef
/FtbRR {MtbRR stroke } bdef
/PtbRR {MtbRR fill } bdef
/stri 6 array def /dtri 6 array def
/smat 6 array def /dmat 6 array def
/tmat1 6 array def /tmat2 6 array def /dif 3 array def
/asub {/ind2 exch def /ind1 exch def dup dup
ind1 get exch ind2 get sub exch } bdef
/tri_to_matrix {
2 0 asub 3 1 asub 4 0 asub 5 1 asub
dup 0 get exch 1 get 7 -1 roll astore } bdef
/compute_transform {
dmat dtri tri_to_matrix tmat1 invertmatrix
smat stri tri_to_matrix tmat2 concatmatrix } bdef
/ds {stri astore pop} bdef
/dt {dtri astore pop} bdef
/db {2 copy /cols xdef /rows xdef mul dup 3 mul string
currentfile
3 index 0 eq {/ASCIIHexDecode filter}
{/ASCII85Decode filter 3 index 2 eq {/RunLengthDecode filter} if }
ifelse exch readstring pop
dup 0 3 index getinterval /rbmap xdef
dup 2 index dup getinterval /gbmap xdef
1 index dup 2 mul exch getinterval /bbmap xdef pop pop}bdef
/it {gs np dtri aload pop moveto lineto lineto cp c
cols rows 8 compute_transform
rbmap gbmap bbmap true 3 colorimage gr}bdef
/il {newpath moveto lineto stroke}bdef
currentdict end def
%%EndProlog
%%BeginSetup
MathWorks begin
0 cap
end
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
%%PageBoundingBox: -13 156 626 636
MathWorks begin
bpage
%%EndPageSetup
%%BeginObject: obj1
bplot
/dpi2point 12 def
portraitMode -0156 7632 csm
0 0 7679 5760 rc
85 dict begin %Colortable dictionary
/c0 { 0.000000 0.000000 0.000000 sr} bdef
/c1 { 1.000000 1.000000 1.000000 sr} bdef
/c2 { 0.900000 0.000000 0.000000 sr} bdef
/c3 { 0.000000 0.820000 0.000000 sr} bdef
/c4 { 0.000000 0.000000 0.800000 sr} bdef
/c5 { 0.910000 0.820000 0.320000 sr} bdef
/c6 { 1.000000 0.260000 0.820000 sr} bdef
/c7 { 0.000000 0.820000 0.820000 sr} bdef
c0
1 j
1 sg
0 0 7680 5761 rf
6 w
0 1200 2570 0 0 -1200 998 1675 4 MP
PP
-2570 0 0 1200 2570 0 0 -1200 998 1675 5 MP stroke
4 w
DO
SO
6 w
0 sg
998 1675 mt 3568 1675 L
998 475 mt 3568 475 L
998 1675 mt 998 475 L
3568 1675 mt 3568 475 L
998 1675 mt 3568 1675 L
998 1675 mt 998 475 L
998 1675 mt 998 1649 L
998 475 mt 998 500 L
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
849 1831 mt
(-30) s
1426 1675 mt 1426 1649 L
1426 475 mt 1426 500 L
1277 1831 mt
(-20) s
1854 1675 mt 1854 1649 L
1854 475 mt 1854 500 L
1705 1831 mt
(-10) s
2283 1675 mt 2283 1649 L
2283 475 mt 2283 500 L
2247 1831 mt
(0) s
2711 1675 mt 2711 1649 L
2711 475 mt 2711 500 L
2638 1831 mt
(10) s
3139 1675 mt 3139 1649 L
3139 475 mt 3139 500 L
3066 1831 mt
(20) s
3568 1675 mt 3568 1649 L
3568 475 mt 3568 500 L
3495 1831 mt
(30) s
998 1675 mt 1023 1675 L
3568 1675 mt 3542 1675 L
890 1723 mt
(0) s
998 1275 mt 1023 1275 L
3568 1275 mt 3542 1275 L
743 1323 mt
(500) s
998 875 mt 1023 875 L
3568 875 mt 3542 875 L
670 923 mt
(1000) s
998 475 mt 1023 475 L
3568 475 mt 3542 475 L
670 523 mt
(1500) s
998 1675 mt 3568 1675 L
998 475 mt 3568 475 L
998 1675 mt 998 475 L
3568 1675 mt 3568 475 L
gs 998 475 2571 1201 rc
18 w
gr
18 w
gs 930 739 2707 988 rc
24 24 998 1658 FO
24 24 1126 1649 FO
24 24 1255 1635 FO
24 24 1383 1612 FO
24 24 1512 1573 FO
24 24 1640 1508 FO
24 24 1769 1403 FO
24 24 1897 1245 FO
24 24 2026 1050 FO
24 24 2154 877 FO
24 24 2283 807 FO
24 24 2411 877 FO
24 24 2540 1050 FO
24 24 2668 1245 FO
24 24 2797 1403 FO
24 24 2925 1508 FO
24 24 3054 1573 FO
24 24 3182 1612 FO
24 24 3311 1635 FO
24 24 3439 1649 FO
24 24 3568 1658 FO
gr
gs 998 475 2571 1201 rc
129 9 128 14 129 23 128 39 129 65 128 105 129 158 128 195
129 173 128 70 129 -70 128 -173 129 -195 128 -158 129 -105 128 -65
129 -39 128 -23 129 -14 128 -9 998 1658 21 MP stroke
gr
528 1356 mt -90 rotate
(T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
594 1276 mt -90 rotate
(xx) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
528 1180 mt -90 rotate
(\(nT/m\)) s
90 rotate
6 w
1 sg
0 1200 2569 0 0 -1200 4380 1675 4 MP
PP
-2569 0 0 1200 2569 0 0 -1200 4380 1675 5 MP stroke
4 w
DO
SO
6 w
0 sg
4380 1675 mt 6949 1675 L
4380 475 mt 6949 475 L
4380 1675 mt 4380 475 L
6949 1675 mt 6949 475 L
4380 1675 mt 6949 1675 L
4380 1675 mt 4380 475 L
4380 1675 mt 4380 1649 L
4380 475 mt 4380 500 L
4231 1831 mt
(-30) s
4808 1675 mt 4808 1649 L
4808 475 mt 4808 500 L
4659 1831 mt
(-20) s
5236 1675 mt 5236 1649 L
5236 475 mt 5236 500 L
5087 1831 mt
(-10) s
5664 1675 mt 5664 1649 L
5664 475 mt 5664 500 L
5628 1831 mt
(0) s
6092 1675 mt 6092 1649 L
6092 475 mt 6092 500 L
6019 1831 mt
(10) s
6520 1675 mt 6520 1649 L
6520 475 mt 6520 500 L
6447 1831 mt
(20) s
6949 1675 mt 6949 1649 L
6949 475 mt 6949 500 L
6876 1831 mt
(30) s
4380 1675 mt 4405 1675 L
6949 1675 mt 6923 1675 L
4195 1723 mt
(-5) s
4380 1375 mt 4405 1375 L
6949 1375 mt 6923 1375 L
4272 1423 mt
(0) s
4380 1075 mt 4405 1075 L
6949 1075 mt 6923 1075 L
4272 1123 mt
(5) s
4380 775 mt 4405 775 L
6949 775 mt 6923 775 L
4199 823 mt
(10) s
4380 475 mt 4405 475 L
6949 475 mt 6923 475 L
4199 523 mt
(15) s
4380 421 mt
(x 10) s
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 88 FMSR
4629 340 mt
(-12) s
4380 1675 mt 6949 1675 L
4380 475 mt 6949 475 L
4380 1675 mt 4380 475 L
6949 1675 mt 6949 475 L
gs 4380 475 2570 1201 rc
18 w
gr
18 w
gs 4312 514 2706 1047 rc
24 24 4380 1400 FO
24 24 4508 1319 FO
24 24 4636 1347 FO
24 24 4765 1449 FO
24 24 4893 1371 FO
24 24 5022 1369 FO
24 24 5150 1375 FO
24 24 5279 1371 FO
24 24 5407 1375 FO
24 24 5536 1377 FO
24 24 5664 1376 FO
24 24 5792 1375 FO
24 24 5921 1375 FO
24 24 6049 1372 FO
24 24 6178 1402 FO
24 24 6306 1457 FO
24 24 6435 1484 FO
24 24 6563 1492 FO
24 24 6692 1031 FO
24 24 6820 1174 FO
24 24 6949 582 FO
gr
gs 4380 475 2570 1201 rc
gr
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
4053 1767 mt -90 rotate
(Relative error of T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
4119 721 mt -90 rotate
(xx) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
4053 625 mt -90 rotate
( \(%\)) s
90 rotate
6 w
1 sg
0 1200 2570 0 0 -1200 998 3401 4 MP
PP
-2570 0 0 1200 2570 0 0 -1200 998 3401 5 MP stroke
4 w
DO
SO
6 w
0 sg
998 3401 mt 3568 3401 L
998 2201 mt 3568 2201 L
998 3401 mt 998 2201 L
3568 3401 mt 3568 2201 L
998 3401 mt 3568 3401 L
998 3401 mt 998 2201 L
998 3401 mt 998 3375 L
998 2201 mt 998 2226 L
849 3557 mt
(-30) s
1426 3401 mt 1426 3375 L
1426 2201 mt 1426 2226 L
1277 3557 mt
(-20) s
1854 3401 mt 1854 3375 L
1854 2201 mt 1854 2226 L
1705 3557 mt
(-10) s
2283 3401 mt 2283 3375 L
2283 2201 mt 2283 2226 L
2247 3557 mt
(0) s
2711 3401 mt 2711 3375 L
2711 2201 mt 2711 2226 L
2638 3557 mt
(10) s
3139 3401 mt 3139 3375 L
3139 2201 mt 3139 2226 L
3066 3557 mt
(20) s
3568 3401 mt 3568 3375 L
3568 2201 mt 3568 2226 L
3495 3557 mt
(30) s
998 3401 mt 1023 3401 L
3568 3401 mt 3542 3401 L
666 3449 mt
(-500) s
998 3101 mt 1023 3101 L
3568 3101 mt 3542 3101 L
890 3149 mt
(0) s
998 2801 mt 1023 2801 L
3568 2801 mt 3542 2801 L
743 2849 mt
(500) s
998 2501 mt 1023 2501 L
3568 2501 mt 3542 2501 L
670 2549 mt
(1000) s
998 2201 mt 1023 2201 L
3568 2201 mt 3542 2201 L
670 2249 mt
(1500) s
998 3401 mt 3568 3401 L
998 2201 mt 3568 2201 L
998 3401 mt 998 2201 L
3568 3401 mt 3568 2201 L
gs 998 2201 2571 1201 rc
18 w
gr
18 w
gs 930 2382 2707 982 rc
24 24 998 3139 FO
24 24 1126 3155 FO
24 24 1255 3178 FO
24 24 1383 3210 FO
24 24 1512 3251 FO
24 24 1640 3291 FO
24 24 1769 3295 FO
24 24 1897 3190 FO
24 24 2026 2919 FO
24 24 2154 2594 FO
24 24 2283 2450 FO
24 24 2411 2594 FO
24 24 2540 2919 FO
24 24 2668 3190 FO
24 24 2797 3295 FO
24 24 2925 3291 FO
24 24 3054 3251 FO
24 24 3182 3210 FO
24 24 3311 3178 FO
24 24 3439 3155 FO
24 24 3568 3139 FO
gr
gs 998 2201 2571 1201 rc
129 -16 128 -23 129 -32 128 -41 129 -40 128 -4 129 105 128 271
129 325 128 144 129 -144 128 -325 129 -271 128 -105 129 4 128 40
129 41 128 32 129 23 128 16 998 3139 21 MP stroke
gr
524 3082 mt -90 rotate
(T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
590 3002 mt -90 rotate
(yy) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
524 2906 mt -90 rotate
(\(nT/m\)) s
90 rotate
6 w
1 sg
0 1200 2569 0 0 -1200 4380 3401 4 MP
PP
-2569 0 0 1200 2569 0 0 -1200 4380 3401 5 MP stroke
4 w
DO
SO
6 w
0 sg
4380 3401 mt 6949 3401 L
4380 2201 mt 6949 2201 L
4380 3401 mt 4380 2201 L
6949 3401 mt 6949 2201 L
4380 3401 mt 6949 3401 L
4380 3401 mt 4380 2201 L
4380 3401 mt 4380 3375 L
4380 2201 mt 4380 2226 L
4231 3557 mt
(-30) s
4808 3401 mt 4808 3375 L
4808 2201 mt 4808 2226 L
4659 3557 mt
(-20) s
5236 3401 mt 5236 3375 L
5236 2201 mt 5236 2226 L
5087 3557 mt
(-10) s
5664 3401 mt 5664 3375 L
5664 2201 mt 5664 2226 L
5628 3557 mt
(0) s
6092 3401 mt 6092 3375 L
6092 2201 mt 6092 2226 L
6019 3557 mt
(10) s
6520 3401 mt 6520 3375 L
6520 2201 mt 6520 2226 L
6447 3557 mt
(20) s
6949 3401 mt 6949 3375 L
6949 2201 mt 6949 2226 L
6876 3557 mt
(30) s
4380 3401 mt 4405 3401 L
6949 3401 mt 6923 3401 L
4122 3449 mt
(-10) s
4380 3001 mt 4405 3001 L
6949 3001 mt 6923 3001 L
4195 3049 mt
(-5) s
4380 2601 mt 4405 2601 L
6949 2601 mt 6923 2601 L
4272 2649 mt
(0) s
4380 2201 mt 4405 2201 L
6949 2201 mt 6923 2201 L
4272 2249 mt
(5) s
4380 2147 mt
(x 10) s
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 88 FMSR
4629 2066 mt
(-13) s
4380 3401 mt 6949 3401 L
4380 2201 mt 6949 2201 L
4380 3401 mt 4380 2201 L
6949 3401 mt 6949 2201 L
gs 4380 2201 2570 1201 rc
18 w
gr
18 w
gs 4312 2218 2706 863 rc
24 24 4380 2735 FO
24 24 4508 2286 FO
24 24 4636 2601 FO
24 24 4765 2787 FO
24 24 4893 2582 FO
24 24 5022 2586 FO
24 24 5150 2502 FO
24 24 5279 2752 FO
24 24 5407 2585 FO
24 24 5536 2568 FO
24 24 5664 2617 FO
24 24 5792 2568 FO
24 24 5921 2616 FO
24 24 6049 2752 FO
24 24 6178 2474 FO
24 24 6306 2658 FO
24 24 6435 2619 FO
24 24 6563 2738 FO
24 24 6692 2936 FO
24 24 6820 2638 FO
24 24 6949 3012 FO
gr
gs 4380 2201 2570 1201 rc
gr
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
3980 3493 mt -90 rotate
(Relative error of T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
4046 2447 mt -90 rotate
(yy) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
3980 2351 mt -90 rotate
( \(%\)) s
90 rotate
6 w
1 sg
0 1199 2570 0 0 -1199 998 5126 4 MP
PP
-2570 0 0 1199 2570 0 0 -1199 998 5126 5 MP stroke
4 w
DO
SO
6 w
0 sg
998 5126 mt 3568 5126 L
998 3927 mt 3568 3927 L
998 5126 mt 998 3927 L
3568 5126 mt 3568 3927 L
998 5126 mt 3568 5126 L
998 5126 mt 998 3927 L
998 5126 mt 998 5100 L
998 3927 mt 998 3952 L
849 5282 mt
(-30) s
1426 5126 mt 1426 5100 L
1426 3927 mt 1426 3952 L
1277 5282 mt
(-20) s
1854 5126 mt 1854 5100 L
1854 3927 mt 1854 3952 L
1705 5282 mt
(-10) s
2283 5126 mt 2283 5100 L
2283 3927 mt 2283 3952 L
2247 5282 mt
(0) s
2711 5126 mt 2711 5100 L
2711 3927 mt 2711 3952 L
2638 5282 mt
(10) s
3139 5126 mt 3139 5100 L
3139 3927 mt 3139 3952 L
3066 5282 mt
(20) s
3568 5126 mt 3568 5100 L
3568 3927 mt 3568 3952 L
3495 5282 mt
(30) s
998 4926 mt 1023 4926 L
3568 4926 mt 3542 4926 L
593 4974 mt
(-4000) s
998 4526 mt 1023 4526 L
3568 4526 mt 3542 4526 L
593 4574 mt
(-2000) s
998 4126 mt 1023 4126 L
3568 4126 mt 3542 4126 L
890 4174 mt
(0) s
998 5126 mt 3568 5126 L
998 3927 mt 3568 3927 L
998 5126 mt 998 3927 L
3568 5126 mt 3568 3927 L
gs 998 3927 2571 1200 rc
18 w
gr
18 w
gs 930 4034 2707 595 rc
24 24 998 4118 FO
24 24 1126 4115 FO
24 24 1255 4110 FO
24 24 1383 4105 FO
24 24 1512 4102 FO
24 24 1640 4104 FO
24 24 1769 4129 FO
24 24 1897 4204 FO
24 24 2026 4343 FO
24 24 2154 4494 FO
24 24 2283 4560 FO
24 24 2411 4494 FO
24 24 2540 4343 FO
24 24 2668 4204 FO
24 24 2797 4129 FO
24 24 2925 4104 FO
24 24 3054 4102 FO
24 24 3182 4105 FO
24 24 3311 4110 FO
24 24 3439 4115 FO
24 24 3568 4118 FO
gr
gs 998 3927 2571 1200 rc
129 3 128 5 129 5 128 3 129 -2 128 -25 129 -75 128 -139
129 -151 128 -66 129 66 128 151 129 139 128 75 129 25 128 2
129 -3 128 -5 129 -5 128 -3 998 4118 21 MP stroke
gr
2150 5434 mt
(y\(m\)) s
451 4807 mt -90 rotate
(T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
517 4727 mt -90 rotate
(zz) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
451 4631 mt -90 rotate
(\(nT/m\)) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 120 FMSR
962 5187 mt
( ) s
3533 3987 mt
( ) s
6 w
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
1712 4783 mt
(Our closed-form solutions) s
gs 1201 4630 2363 381 rc
18 w
gs 1407 4667 137 137 rc
24 24 1475 4735 FO
gr
gr
18 w
1712 4952 mt
(Closed-form solutions for prism) s
gs 1201 4630 2363 381 rc
393 0 1279 4904 2 MP stroke
6 w
gr
6 w
1 sg
0 1199 2569 0 0 -1199 4380 5126 4 MP
PP
-2569 0 0 1199 2569 0 0 -1199 4380 5126 5 MP stroke
4 w
DO
SO
6 w
0 sg
4380 5126 mt 6949 5126 L
4380 3927 mt 6949 3927 L
4380 5126 mt 4380 3927 L
6949 5126 mt 6949 3927 L
4380 5126 mt 6949 5126 L
4380 5126 mt 4380 3927 L
4380 5126 mt 4380 5100 L
4380 3927 mt 4380 3952 L
4231 5282 mt
(-30) s
4808 5126 mt 4808 5100 L
4808 3927 mt 4808 3952 L
4659 5282 mt
(-20) s
5236 5126 mt 5236 5100 L
5236 3927 mt 5236 3952 L
5087 5282 mt
(-10) s
5664 5126 mt 5664 5100 L
5664 3927 mt 5664 3952 L
5628 5282 mt
(0) s
6092 5126 mt 6092 5100 L
6092 3927 mt 6092 3952 L
6019 5282 mt
(10) s
6520 5126 mt 6520 5100 L
6520 3927 mt 6520 3952 L
6447 5282 mt
(20) s
6949 5126 mt 6949 5100 L
6949 3927 mt 6949 3952 L
6876 5282 mt
(30) s
4380 5126 mt 4405 5126 L
6949 5126 mt 6923 5126 L
4122 5174 mt
(-15) s
4380 4826 mt 4405 4826 L
6949 4826 mt 6923 4826 L
4122 4874 mt
(-10) s
4380 4526 mt 4405 4526 L
6949 4526 mt 6923 4526 L
4195 4574 mt
(-5) s
4380 4226 mt 4405 4226 L
6949 4226 mt 6923 4226 L
4272 4274 mt
(0) s
4380 3927 mt 4405 3927 L
6949 3927 mt 6923 3927 L
4272 3975 mt
(5) s
4380 3873 mt
(x 10) s
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 88 FMSR
4629 3792 mt
(-12) s
4380 5126 mt 6949 5126 L
4380 3927 mt 6949 3927 L
4380 5126 mt 4380 3927 L
6949 5126 mt 6949 3927 L
gs 4380 3927 2570 1200 rc
18 w
gr
18 w
gs 4312 4021 2706 917 rc
24 24 4380 4177 FO
24 24 4508 4157 FO
24 24 4636 4292 FO
24 24 4765 4255 FO
24 24 4893 4242 FO
24 24 5022 4254 FO
24 24 5150 4089 FO
24 24 5279 4213 FO
24 24 5407 4222 FO
24 24 5536 4227 FO
24 24 5664 4228 FO
24 24 5792 4226 FO
24 24 5921 4221 FO
24 24 6049 4217 FO
24 24 6178 4869 FO
24 24 6306 4110 FO
24 24 6435 4132 FO
24 24 6563 4227 FO
24 24 6692 4581 FO
24 24 6820 4246 FO
24 24 6949 4570 FO
gr
gs 4380 3927 2570 1200 rc
gr
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
5531 5434 mt
(y\(m\)) s
3980 5218 mt -90 rotate
(Relative error of T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
4046 4172 mt -90 rotate
(zz) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
3980 4076 mt -90 rotate
( \(%\)) s
90 rotate
6 w
end %%Color Dict
eplot
%%EndObject
epage
end
showpage
%%Trailer
%%EOF

View File

@@ -0,0 +1,505 @@
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: MATLAB, The Mathworks, Inc. Version 7.9.0.529 (R2009b). Operating System: Linux 4.6.4-201.fc23.x86_64 #1 SMP Tue Jul 12 11:43:59 UTC 2016 x86_64.
%%Title: /home/renzh/code/m3d2geophysics/m3d/test/prism/solution_one_profile_Tyz.eps
%%CreationDate: 02/26/2017 13:42:33
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%LanguageLevel: 2
%%Pages: 1
%%BoundingBox: -13 295 626 496
%%EndComments
%%BeginProlog
% MathWorks dictionary
/MathWorks 160 dict begin
% definition operators
/bdef {bind def} bind def
/ldef {load def} bind def
/xdef {exch def} bdef
/xstore {exch store} bdef
% operator abbreviations
/c /clip ldef
/cc /concat ldef
/cp /closepath ldef
/gr /grestore ldef
/gs /gsave ldef
/mt /moveto ldef
/np /newpath ldef
/cm /currentmatrix ldef
/sm /setmatrix ldef
/rm /rmoveto ldef
/rl /rlineto ldef
/s {show newpath} bdef
/sc {setcmykcolor} bdef
/sr /setrgbcolor ldef
/sg /setgray ldef
/w /setlinewidth ldef
/j /setlinejoin ldef
/cap /setlinecap ldef
/rc {rectclip} bdef
/rf {rectfill} bdef
% page state control
/pgsv () def
/bpage {/pgsv save def} bdef
/epage {pgsv restore} bdef
/bplot /gsave ldef
/eplot {stroke grestore} bdef
% orientation switch
/portraitMode 0 def /landscapeMode 1 def /rotateMode 2 def
% coordinate system mappings
/dpi2point 0 def
% font control
/FontSize 0 def
/FMS {/FontSize xstore findfont [FontSize 0 0 FontSize neg 0 0]
makefont setfont} bdef
/reencode {exch dup where {pop load} {pop StandardEncoding} ifelse
exch dup 3 1 roll findfont dup length dict begin
{ 1 index /FID ne {def}{pop pop} ifelse } forall
/Encoding exch def currentdict end definefont pop} bdef
/isroman {findfont /CharStrings get /Agrave known} bdef
/FMSR {3 1 roll 1 index dup isroman {reencode} {pop pop} ifelse
exch FMS} bdef
/csm {1 dpi2point div -1 dpi2point div scale neg translate
dup landscapeMode eq {pop -90 rotate}
{rotateMode eq {90 rotate} if} ifelse} bdef
% line types: solid, dotted, dashed, dotdash
/SO { [] 0 setdash } bdef
/DO { [.5 dpi2point mul 4 dpi2point mul] 0 setdash } bdef
/DA { [6 dpi2point mul] 0 setdash } bdef
/DD { [.5 dpi2point mul 4 dpi2point mul 6 dpi2point mul 4
dpi2point mul] 0 setdash } bdef
% macros for lines and objects
/L {lineto stroke} bdef
/MP {3 1 roll moveto 1 sub {rlineto} repeat} bdef
/AP {{rlineto} repeat} bdef
/PDlw -1 def
/W {/PDlw currentlinewidth def setlinewidth} def
/PP {closepath eofill} bdef
/DP {closepath stroke} bdef
/MR {4 -2 roll moveto dup 0 exch rlineto exch 0 rlineto
neg 0 exch rlineto closepath} bdef
/FR {MR stroke} bdef
/PR {MR fill} bdef
/L1i {{currentfile picstr readhexstring pop} image} bdef
/tMatrix matrix def
/MakeOval {newpath tMatrix currentmatrix pop translate scale
0 0 1 0 360 arc tMatrix setmatrix} bdef
/FO {MakeOval stroke} bdef
/PO {MakeOval fill} bdef
/PD {currentlinewidth 2 div 0 360 arc fill
PDlw -1 eq not {PDlw w /PDlw -1 def} if} def
/FA {newpath tMatrix currentmatrix pop translate scale
0 0 1 5 -2 roll arc tMatrix setmatrix stroke} bdef
/PA {newpath tMatrix currentmatrix pop translate 0 0 moveto scale
0 0 1 5 -2 roll arc closepath tMatrix setmatrix fill} bdef
/FAn {newpath tMatrix currentmatrix pop translate scale
0 0 1 5 -2 roll arcn tMatrix setmatrix stroke} bdef
/PAn {newpath tMatrix currentmatrix pop translate 0 0 moveto scale
0 0 1 5 -2 roll arcn closepath tMatrix setmatrix fill} bdef
/vradius 0 def /hradius 0 def /lry 0 def
/lrx 0 def /uly 0 def /ulx 0 def /rad 0 def
/MRR {/vradius xdef /hradius xdef /lry xdef /lrx xdef /uly xdef
/ulx xdef newpath tMatrix currentmatrix pop ulx hradius add uly
vradius add translate hradius vradius scale 0 0 1 180 270 arc
tMatrix setmatrix lrx hradius sub uly vradius add translate
hradius vradius scale 0 0 1 270 360 arc tMatrix setmatrix
lrx hradius sub lry vradius sub translate hradius vradius scale
0 0 1 0 90 arc tMatrix setmatrix ulx hradius add lry vradius sub
translate hradius vradius scale 0 0 1 90 180 arc tMatrix setmatrix
closepath} bdef
/FRR {MRR stroke } bdef
/PRR {MRR fill } bdef
/MlrRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lry uly sub 2 div def
newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
rad rad scale 0 0 1 90 270 arc tMatrix setmatrix lrx rad sub lry rad
sub translate rad rad scale 0 0 1 270 90 arc tMatrix setmatrix
closepath} bdef
/FlrRR {MlrRR stroke } bdef
/PlrRR {MlrRR fill } bdef
/MtbRR {/lry xdef /lrx xdef /uly xdef /ulx xdef /rad lrx ulx sub 2 div def
newpath tMatrix currentmatrix pop ulx rad add uly rad add translate
rad rad scale 0 0 1 180 360 arc tMatrix setmatrix lrx rad sub lry rad
sub translate rad rad scale 0 0 1 0 180 arc tMatrix setmatrix
closepath} bdef
/FtbRR {MtbRR stroke } bdef
/PtbRR {MtbRR fill } bdef
/stri 6 array def /dtri 6 array def
/smat 6 array def /dmat 6 array def
/tmat1 6 array def /tmat2 6 array def /dif 3 array def
/asub {/ind2 exch def /ind1 exch def dup dup
ind1 get exch ind2 get sub exch } bdef
/tri_to_matrix {
2 0 asub 3 1 asub 4 0 asub 5 1 asub
dup 0 get exch 1 get 7 -1 roll astore } bdef
/compute_transform {
dmat dtri tri_to_matrix tmat1 invertmatrix
smat stri tri_to_matrix tmat2 concatmatrix } bdef
/ds {stri astore pop} bdef
/dt {dtri astore pop} bdef
/db {2 copy /cols xdef /rows xdef mul dup 3 mul string
currentfile
3 index 0 eq {/ASCIIHexDecode filter}
{/ASCII85Decode filter 3 index 2 eq {/RunLengthDecode filter} if }
ifelse exch readstring pop
dup 0 3 index getinterval /rbmap xdef
dup 2 index dup getinterval /gbmap xdef
1 index dup 2 mul exch getinterval /bbmap xdef pop pop}bdef
/it {gs np dtri aload pop moveto lineto lineto cp c
cols rows 8 compute_transform
rbmap gbmap bbmap true 3 colorimage gr}bdef
/il {newpath moveto lineto stroke}bdef
currentdict end def
%%EndProlog
%%BeginSetup
MathWorks begin
0 cap
end
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
%%PageBoundingBox: -13 295 626 496
MathWorks begin
bpage
%%EndPageSetup
%%BeginObject: obj1
bplot
/dpi2point 12 def
portraitMode -0156 5952 csm
0 0 7679 2401 rc
85 dict begin %Colortable dictionary
/c0 { 0.000000 0.000000 0.000000 sr} bdef
/c1 { 1.000000 1.000000 1.000000 sr} bdef
/c2 { 0.900000 0.000000 0.000000 sr} bdef
/c3 { 0.000000 0.820000 0.000000 sr} bdef
/c4 { 0.000000 0.000000 0.800000 sr} bdef
/c5 { 0.910000 0.820000 0.320000 sr} bdef
/c6 { 1.000000 0.260000 0.820000 sr} bdef
/c7 { 0.000000 0.820000 0.820000 sr} bdef
c0
1 j
1 sg
0 0 7680 2402 rf
6 w
0 1845 2570 0 0 -1845 998 2062 4 MP
PP
-2570 0 0 1845 2570 0 0 -1845 998 2062 5 MP stroke
4 w
DO
SO
6 w
0 sg
998 2062 mt 3568 2062 L
998 217 mt 3568 217 L
998 2062 mt 998 217 L
3568 2062 mt 3568 217 L
998 2062 mt 3568 2062 L
998 2062 mt 998 217 L
998 2062 mt 998 2036 L
998 217 mt 998 242 L
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
849 2218 mt
(-30) s
1426 2062 mt 1426 2036 L
1426 217 mt 1426 242 L
1277 2218 mt
(-20) s
1854 2062 mt 1854 2036 L
1854 217 mt 1854 242 L
1705 2218 mt
(-10) s
2283 2062 mt 2283 2036 L
2283 217 mt 2283 242 L
2247 2218 mt
(0) s
2711 2062 mt 2711 2036 L
2711 217 mt 2711 242 L
2638 2218 mt
(10) s
3139 2062 mt 3139 2036 L
3139 217 mt 3139 242 L
3066 2218 mt
(20) s
3568 2062 mt 3568 2036 L
3568 217 mt 3568 242 L
3495 2218 mt
(30) s
998 2062 mt 1023 2062 L
3568 2062 mt 3542 2062 L
593 2110 mt
(-1500) s
998 1798 mt 1023 1798 L
3568 1798 mt 3542 1798 L
593 1846 mt
(-1000) s
998 1534 mt 1023 1534 L
3568 1534 mt 3542 1534 L
666 1582 mt
(-500) s
998 1271 mt 1023 1271 L
3568 1271 mt 3542 1271 L
890 1319 mt
(0) s
998 1007 mt 1023 1007 L
3568 1007 mt 3542 1007 L
743 1055 mt
(500) s
998 744 mt 1023 744 L
3568 744 mt 3542 744 L
670 792 mt
(1000) s
998 480 mt 1023 480 L
3568 480 mt 3542 480 L
670 528 mt
(1500) s
998 217 mt 1023 217 L
3568 217 mt 3542 217 L
670 265 mt
(2000) s
998 2062 mt 3568 2062 L
998 217 mt 3568 217 L
998 2062 mt 998 217 L
3568 2062 mt 3568 217 L
gs 998 217 2571 1846 rc
18 w
gr
18 w
gs 930 659 2707 1225 rc
24 24 998 1271 FO
24 24 1126 1266 FO
24 24 1255 1254 FO
24 24 1383 1231 FO
24 24 1512 1186 FO
24 24 1640 1104 FO
24 24 1769 969 FO
24 24 1897 804 FO
24 24 2026 727 FO
24 24 2154 892 FO
24 24 2283 1271 FO
24 24 2411 1649 FO
24 24 2540 1815 FO
24 24 2668 1738 FO
24 24 2797 1573 FO
24 24 2925 1438 FO
24 24 3054 1355 FO
24 24 3182 1310 FO
24 24 3311 1287 FO
24 24 3439 1276 FO
24 24 3568 1271 FO
gr
gs 998 217 2571 1846 rc
129 -5 128 -11 129 -23 128 -45 129 -83 128 -135 129 -165 128 -77
129 166 128 378 129 379 128 165 129 -77 128 -165 129 -135 128 -82
129 -45 128 -23 129 -12 128 -5 998 1271 21 MP stroke
gr
451 1420 mt -90 rotate
(T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
517 1340 mt -90 rotate
(yz) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
451 1244 mt -90 rotate
(\(nT/m\)) s
90 rotate
2150 2370 mt
(y\(m\)) s
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 120 FMSR
962 2123 mt
( ) s
3533 277 mt
( ) s
6 w
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
1712 400 mt
(Our closed-form solutions) s
gs 1201 247 2363 381 rc
18 w
gs 1407 284 137 137 rc
24 24 1475 352 FO
gr
gr
18 w
1712 569 mt
(Closed-form solutions for prism) s
gs 1201 247 2363 381 rc
393 0 1279 521 2 MP stroke
6 w
gr
6 w
1 sg
0 1846 2569 0 0 -1846 4380 2062 4 MP
PP
-2569 0 0 1846 2569 0 0 -1846 4380 2062 5 MP stroke
4 w
DO
SO
6 w
0 sg
4380 2062 mt 6949 2062 L
4380 216 mt 6949 216 L
4380 2062 mt 4380 216 L
6949 2062 mt 6949 216 L
4380 2062 mt 6949 2062 L
4380 2062 mt 4380 216 L
4380 2062 mt 4380 2036 L
4380 216 mt 4380 242 L
4231 2218 mt
(-30) s
4808 2062 mt 4808 2036 L
4808 216 mt 4808 242 L
4659 2218 mt
(-20) s
5236 2062 mt 5236 2036 L
5236 216 mt 5236 242 L
5087 2218 mt
(-10) s
5664 2062 mt 5664 2036 L
5664 216 mt 5664 242 L
5628 2218 mt
(0) s
6092 2062 mt 6092 2036 L
6092 216 mt 6092 242 L
6019 2218 mt
(10) s
6520 2062 mt 6520 2036 L
6520 216 mt 6520 242 L
6447 2218 mt
(20) s
6949 2062 mt 6949 2036 L
6949 216 mt 6949 242 L
6876 2218 mt
(30) s
4380 1798 mt 4405 1798 L
6949 1798 mt 6923 1798 L
4122 1846 mt
(-10) s
4380 1534 mt 4405 1534 L
6949 1534 mt 6923 1534 L
4195 1582 mt
(-8) s
4380 1271 mt 4405 1271 L
6949 1271 mt 6923 1271 L
4195 1319 mt
(-6) s
4380 1007 mt 4405 1007 L
6949 1007 mt 6923 1007 L
4195 1055 mt
(-4) s
4380 744 mt 4405 744 L
6949 744 mt 6923 744 L
4195 792 mt
(-2) s
4380 480 mt 4405 480 L
6949 480 mt 6923 480 L
4272 528 mt
(0) s
4380 217 mt 4405 217 L
6949 217 mt 6923 217 L
4272 265 mt
(2) s
4380 162 mt
(x 10) s
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 88 FMSR
4629 81 mt
(-11) s
4380 2062 mt 6949 2062 L
4380 216 mt 6949 216 L
4380 2062 mt 4380 216 L
6949 2062 mt 6949 216 L
gs 4380 217 2570 1846 rc
18 w
gr
18 w
gs 4312 398 2706 1643 rc
24 24 4380 776 FO
24 24 4508 503 FO
24 24 4636 495 FO
24 24 4765 476 FO
24 24 4893 481 FO
24 24 5022 481 FO
24 24 5150 481 FO
24 24 5279 481 FO
24 24 5407 480 FO
24 24 5536 480 FO
gr
gs 4380 217 2570 1846 rc
gr
gs 4312 398 2706 1643 rc
24 24 5792 480 FO
24 24 5921 481 FO
24 24 6049 481 FO
24 24 6178 480 FO
24 24 6306 480 FO
24 24 6435 478 FO
24 24 6563 479 FO
24 24 6692 485 FO
24 24 6820 466 FO
24 24 6949 1972 FO
gr
gs 4380 217 2570 1846 rc
gr
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
3980 1831 mt -90 rotate
(Relative error of T) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 96 FMSR
4046 785 mt -90 rotate
(yz) s
90 rotate
%%IncludeResource: font Helvetica
/Helvetica /ISOLatin1Encoding 132 FMSR
3980 689 mt -90 rotate
( \(%\)) s
90 rotate
5531 2370 mt
(y\(m\)) s
6 w
end %%Color Dict
eplot
%%EndObject
epage
end
showpage
%%Trailer
%%EOF

21
m3d/test/prism/xyz.dat Executable file
View File

@@ -0,0 +1,21 @@
0 -30 10
0 -27 10
0 -24 10
0 -21 10
0 -18 10
0 -15 10
0 -12 10
0 -9 10
0 -6 10
0 -3 10
0 0 10
0 3 10
0 6 10
0 9 10
0 12 10
0 15 10
0 18 10
0 21 10
0 24 10
0 27 10
0 30 10