lib/App/SeismicUnixGui/sunix/inversion/suinvco3d.pm untested

filter: Statementstmt 0.0% 0 / 420 Branchbran 0.0% 0 / 110 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 63 Podpod 0.0% 0 / 59 totaltotal 0.0% 0 / 652 CC 56 SCAR 17.5
CC
56
Cov
0%
a1file
6.0
alias
6.0
ang
6.0
CRAP 5.7
1 package App::SeismicUnixGui::sunix::inversion::suinvco3d;
2  
3 =head2 SYNOPSIS
4  
5 PERL PROGRAM NAME:
6  
7 AUTHOR: Juan Lorenzo (Perl module only)
8  
9 DATE:
10  
11 DESCRIPTION:
12  
13 Version:
14  
15 =head2 USE
16  
17 =head3 NOTES
18  
19 =head4 Examples
20  
21 =head2 SYNOPSIS
22  
23 =head3 SEISMIC UNIX NOTES
24 SUINVCO3D - Seismic INVersion of Common Offset data with V(X,Y,Z) velocity
25  
26 function in 3D
27  
28  
29  
30 suinvco3d <infile >outfile [optional parameters]
31  
32  
33  
34 Required Parameters:
35  
36 vfile= file containing velocity array v[nvy][nvx][nvz]
37  
38 nzv= number of z samples (1st dimension) in velocity
39  
40 nxm= number of midpoints of input traces
41  
42 nym= number of lines
43  
44 geo_type= geometry type
45  
46 1 ---- general velocity distribution v(x,y,z)
47  
48 2 ---- v(x,z) medium
49  
50 3 ---- v(z) medium
51  
52 com_type= computation type, determines what tables are needed
53  
54 1 ---- only needs traveltime, weight=1.0
55  
56 2 ---- traveltime, propagation angles, weight=ctheta
57  
58 3 ---- traveltime, angle and amplitude,
59  
60 weight = det/as/ag/(1+ctheta)
61  
62 nzt= number of z samples (1st dimension) in traveltime
63  
64 nxt= number of x samples (2nd dimension) in traveltime
65  
66 nyt= number of y samples (3rd dimension) in traveltime
67  
68 tfile= file containing traveltime array t[nyt][nxt][nzt]
69  
70 ampfile file containing amplitude array amp[nyt][nxt][nzt]
71  
72 d21file= file containing Beylkin determinant component array
73  
74 d22file= file containing Beylkin determinant component array
75  
76 d23file= file containing Beylkin determinant component array
77  
78 d31file= file containing Beylkin determinant component array
79  
80 d32file= file containing Beylkin determinant component array
81  
82 d33file= file containing Beylkin determinant component array
83  
84 a1file= file containing ray propagation angle (polar) array
85  
86 b1file= file containing ray propagation angle (azimuth) array
87  
88  
89  
90 Optional Parameters:
91  
92 dt= or from header (dt) time sampling interval of input data
93  
94 offs= or from header (offset) source-receiver offset
95  
96 dxm= or from header (d2) x sampling interval of midpoints
97  
98 fxm=0 first midpoint in input trace
99  
100 dym=50.0 y sampling interval of midpoints
101  
102 fym=0 y-coordinate of first midpoint in input trace
103  
104 nxv= number of x samples (2nd dimension) in velocity
105  
106 nyv= number of y samples (3rd dimension) in velocity
107  
108 dxv=50.0 x sampling interval of velocity
109  
110 fxv=0.0 first x sample of velocity
111  
112 dyv=50.0 y sampling interval of velocity
113  
114 fyv=0.0 first y sample of velocity
115  
116 dzv=50.0 z sampling interval of velocity
117  
118 fzv=0.0 first z sample of velocity
119  
120 nxb=nx/2 band centered at midpoints (see note)
121  
122 fxo=0.0 x-coordinate of first output trace
123  
124 dxo=15.0 horizontal spacing of output trace
125  
126 nxo=101 number of output traces ",
127  
128 fyo=0.0 y-coordinate of first output trace
129  
130 dyo=15.0 y-coordinate spacing of output trace
131  
132 nyo=101 number of output traces in y-direction
133  
134 fzo=0.0 z-coordinate of first point in output trace
135  
136 dzo=15.0 vertical spacing of output trace
137  
138 nzo=101 number of points in output trace ",
139  
140 dxt=100.0 x-coordinate spacing of input tables(traveltime, etc)
141  
142 dyt=100.0 y-coordinate spacing of input tables(traveltime, etc)
143  
144 dzt=100.0 z-coordinate spacing of input tables(traveltime, etc)
145  
146 xt0=0.0 x-coordinate of first input tables
147  
148 xt1=0.0 x-coordinate of last input tables
149  
150 yt0=0.0 y-coordinate of first input tables
151  
152 yt1=0.0 y-coordinate of last input tables
153  
154 fmax=0.25/dt Maximum frequency set for operator antialiasing
155  
156 ang=180 Maximum dip angle allowed in the image
157  
158 apet=45 aperture open angle for summation
159  
160 alias=0 =1 to set the anti-aliasing filter
161  
162 verbose=1 =1 to print some useful information
163  
164  
165  
166 Notes:
167  
168  
169  
170 The information needed in the computation of the weighting factor
171  
172 in Kirchhoff inversion formula includes traveltime, amplitude,
173  
174 and Beylkin determinant at each grid point for each source/receiver
175  
176 point. For a 3-D nonzero common-offset inversion, the Beylkin
177  
178 determinant is computed from a 3x3 matrix with each element
179  
180 containing a sum of quantities from the source and the receiver.
181  
182 The nine elements in the Beylkin matrix for each source/receiver
183  
184 can be determined by eight quantities. These quantities can be
185  
186 computed by the dynamic ray tracer. Tables of traveltime, amplitude,
187  
188 and Beylkin matrix elements from each source and receiver are
189  
190 pre-computed and stored in files.
191  
192  
193  
194 For each trace, tables of traveltime, amplitude and Beylkin matrix
195  
196 at the source and receiver location are input or interpolated from
197  
198 neighboring tables. For the computation of weighting factor, linear
199  
200 interpolation is used to determine the weighting factor at each
201  
202 output grid point, and weighted diffraction summation is then
203  
204 applied. For each midpoint, the traveltimes and weight factors are
205  
206 calculated in the horizontal range of (xm-nxb*dx-z*tan(apet),
207  
208 xm+nxb*dx+z*tan(apet)).
209  
210  
211  
212 Offsets are signed - may be positive or negative. ",
213  
214  
215  
216  
217  
218  
219  
220 This algorithm is based on the inversion formulas in chaper 5 of
221  
222 _Mathematics of Multimensional Seismic Migration, Imaging and Inversion_
223  
224 (Springer-Verlag, 2000), by Bleistein, N., Cohen, J.K.
225  
226 and Stockwell, Jr., J. W.
227  
228  
229  
230 =head2 User's notes (Juan Lorenzo)
231 untested
232  
233 =cut
234  
235  
236 =head2 CHANGES and their DATES
237  
238 =cut
239  
240 use Moose;
241 our $VERSION = '0.0.1';
242  
243  
244 =head2 Import packages
245  
246 =cut
247  
248 use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants';
249  
250 use App::SeismicUnixGui::misc::SeismicUnix qw($go $in $off $on $out $ps $to $suffix_ascii $suffix_bin $suffix_ps $suffix_segy $suffix_su);
251 use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config';
252  
253  
254 =head2 instantiation of packages
255  
256 =cut
257  
258 my $get = L_SU_global_constants->new();
259 my $Project = Project_config->new();
260 my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU();
261 my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN();
262 my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT();
263  
264 my $PS_SEISMIC = $Project->PS_SEISMIC();
265  
266 my $var = $get->var();
267 my $on = $var->{_on};
268 my $off = $var->{_off};
269 my $true = $var->{_true};
270 my $false = $var->{_false};
271 my $empty_string = $var->{_empty_string};
272  
273 =head2 Encapsulated
274 hash of private variables
275  
276 =cut
277  
278 my $suinvco3d = {
279 _a1file => '',
280 _alias => '',
281 _ang => '',
282 _apet => '',
283 _b1file => '',
284 _com_type => '',
285 _d21file => '',
286 _d22file => '',
287 _d23file => '',
288 _d31file => '',
289 _d32file => '',
290 _d33file => '',
291 _dt => '',
292 _dxm => '',
293 _dxo => '',
294 _dxt => '',
295 _dxv => '',
296 _dym => '',
297 _dyo => '',
298 _dyt => '',
299 _dyv => '',
300 _dzo => '',
301 _dzt => '',
302 _dzv => '',
303 _fmax => '',
304 _fxm => '',
305 _fxo => '',
306 _fxv => '',
307 _fym => '',
308 _fyo => '',
309 _fyv => '',
310 _fzo => '',
311 _fzv => '',
312 _geo_type => '',
313 _nxb => '',
314 _nxm => '',
315 _nxo => '',
316 _nxt => '',
317 _nxv => '',
318 _nym => '',
319 _nyo => '',
320 _nyt => '',
321 _nyv => '',
322 _nzo => '',
323 _nzt => '',
324 _nzv => '',
325 _offs => '',
326 _tfile => '',
327 _verbose => '',
328 _vfile => '',
329 _weight => '',
330 _xt0 => '',
331 _xt1 => '',
332 _yt0 => '',
333 _yt1 => '',
334 _Step => '',
335 _note => '',
336  
337 };
338  
339 =head2 sub Step
340  
341 collects switches and assembles bash instructions
342 by adding the program name
343  
344 =cut
345  
346 sub Step {
347  
348 $suinvco3d->{_Step} = 'suinvco3d'.$suinvco3d->{_Step};
349 return ( $suinvco3d->{_Step} );
350  
351 }
352  
353  
354 =head2 sub note
355  
356 collects switches and assembles bash instructions
357 by adding the program name
358  
359 =cut
360  
361 sub note {
362  
363 $suinvco3d->{_note} = 'suinvco3d'.$suinvco3d->{_note};
364 return ( $suinvco3d->{_note} );
365  
366 }
367  
368  
369  
370 =head2 sub clear
371  
372 =cut
373  
374 sub clear {
375  
376 $suinvco3d->{_a1file} = '';
377 $suinvco3d->{_alias} = '';
378 $suinvco3d->{_ang} = '';
379 $suinvco3d->{_apet} = '';
380 $suinvco3d->{_b1file} = '';
381 $suinvco3d->{_com_type} = '';
382 $suinvco3d->{_d21file} = '';
383 $suinvco3d->{_d22file} = '';
384 $suinvco3d->{_d23file} = '';
385 $suinvco3d->{_d31file} = '';
386 $suinvco3d->{_d32file} = '';
387 $suinvco3d->{_d33file} = '';
388 $suinvco3d->{_dt} = '';
389 $suinvco3d->{_dxm} = '';
390 $suinvco3d->{_dxo} = '';
391 $suinvco3d->{_dxt} = '';
392 $suinvco3d->{_dxv} = '';
393 $suinvco3d->{_dym} = '';
394 $suinvco3d->{_dyo} = '';
395 $suinvco3d->{_dyt} = '';
396 $suinvco3d->{_dyv} = '';
397 $suinvco3d->{_dzo} = '';
398 $suinvco3d->{_dzt} = '';
399 $suinvco3d->{_dzv} = '';
400 $suinvco3d->{_fmax} = '';
401 $suinvco3d->{_fxm} = '';
402 $suinvco3d->{_fxo} = '';
403 $suinvco3d->{_fxv} = '';
404 $suinvco3d->{_fym} = '';
405 $suinvco3d->{_fyo} = '';
406 $suinvco3d->{_fyv} = '';
407 $suinvco3d->{_fzo} = '';
408 $suinvco3d->{_fzv} = '';
409 $suinvco3d->{_geo_type} = '';
410 $suinvco3d->{_nxb} = '';
411 $suinvco3d->{_nxm} = '';
412 $suinvco3d->{_nxo} = '';
413 $suinvco3d->{_nxt} = '';
414 $suinvco3d->{_nxv} = '';
415 $suinvco3d->{_nym} = '';
416 $suinvco3d->{_nyo} = '';
417 $suinvco3d->{_nyt} = '';
418 $suinvco3d->{_nyv} = '';
419 $suinvco3d->{_nzo} = '';
420 $suinvco3d->{_nzt} = '';
421 $suinvco3d->{_nzv} = '';
422 $suinvco3d->{_offs} = '';
423 $suinvco3d->{_tfile} = '';
424 $suinvco3d->{_verbose} = '';
425 $suinvco3d->{_vfile} = '';
426 $suinvco3d->{_weight} = '';
427 $suinvco3d->{_xt0} = '';
428 $suinvco3d->{_xt1} = '';
429 $suinvco3d->{_yt0} = '';
430 $suinvco3d->{_yt1} = '';
431 $suinvco3d->{_Step} = '';
432 $suinvco3d->{_note} = '';
433 }
434  
435  
436 =head2 sub a1file
437  
438  
439 =cut
440  
441 sub a1file {
442  
443 my ( $self,$a1file ) = @_;
444 if ( $a1file ne $empty_string ) {
445  
446 $suinvco3d->{_a1file} = $a1file;
447 $suinvco3d->{_note} = $suinvco3d->{_note}.' a1file='.$suinvco3d->{_a1file};
448 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' a1file='.$suinvco3d->{_a1file};
449  
450 } else {
451 print("suinvco3d, a1file, missing a1file,\n");
452 }
453 }
454  
455  
456 =head2 sub alias
457  
458  
459 =cut
460  
461 sub alias {
462  
463 my ( $self,$alias ) = @_;
464 if ( $alias ne $empty_string ) {
465  
466 $suinvco3d->{_alias} = $alias;
467 $suinvco3d->{_note} = $suinvco3d->{_note}.' alias='.$suinvco3d->{_alias};
468 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' alias='.$suinvco3d->{_alias};
469  
470 } else {
471 print("suinvco3d, alias, missing alias,\n");
472 }
473 }
474  
475  
476 =head2 sub ang
477  
478  
479 =cut
480  
481 sub ang {
482  
483 my ( $self,$ang ) = @_;
484 if ( $ang ne $empty_string ) {
485  
486 $suinvco3d->{_ang} = $ang;
487 $suinvco3d->{_note} = $suinvco3d->{_note}.' ang='.$suinvco3d->{_ang};
488 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' ang='.$suinvco3d->{_ang};
489  
490 } else {
491 print("suinvco3d, ang, missing ang,\n");
492 }
493 }
494  
495  
496 =head2 sub apet
497  
498  
499 =cut
500  
501 sub apet {
502  
503 my ( $self,$apet ) = @_;
504 if ( $apet ne $empty_string ) {
505  
506 $suinvco3d->{_apet} = $apet;
507 $suinvco3d->{_note} = $suinvco3d->{_note}.' apet='.$suinvco3d->{_apet};
508 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' apet='.$suinvco3d->{_apet};
509  
510 } else {
511 print("suinvco3d, apet, missing apet,\n");
512 }
513 }
514  
515  
516 =head2 sub b1file
517  
518  
519 =cut
520  
521 sub b1file {
522  
523 my ( $self,$b1file ) = @_;
524 if ( $b1file ne $empty_string ) {
525  
526 $suinvco3d->{_b1file} = $b1file;
527 $suinvco3d->{_note} = $suinvco3d->{_note}.' b1file='.$suinvco3d->{_b1file};
528 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' b1file='.$suinvco3d->{_b1file};
529  
530 } else {
531 print("suinvco3d, b1file, missing b1file,\n");
532 }
533 }
534  
535  
536 =head2 sub com_type
537  
538  
539 =cut
540  
541 sub com_type {
542  
543 my ( $self,$com_type ) = @_;
544 if ( $com_type ne $empty_string ) {
545  
546 $suinvco3d->{_com_type} = $com_type;
547 $suinvco3d->{_note} = $suinvco3d->{_note}.' com_type='.$suinvco3d->{_com_type};
548 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' com_type='.$suinvco3d->{_com_type};
549  
550 } else {
551 print("suinvco3d, com_type, missing com_type,\n");
552 }
553 }
554  
555  
556 =head2 sub d21file
557  
558  
559 =cut
560  
561 sub d21file {
562  
563 my ( $self,$d21file ) = @_;
564 if ( $d21file ne $empty_string ) {
565  
566 $suinvco3d->{_d21file} = $d21file;
567 $suinvco3d->{_note} = $suinvco3d->{_note}.' d21file='.$suinvco3d->{_d21file};
568 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' d21file='.$suinvco3d->{_d21file};
569  
570 } else {
571 print("suinvco3d, d21file, missing d21file,\n");
572 }
573 }
574  
575  
576 =head2 sub d22file
577  
578  
579 =cut
580  
581 sub d22file {
582  
583 my ( $self,$d22file ) = @_;
584 if ( $d22file ne $empty_string ) {
585  
586 $suinvco3d->{_d22file} = $d22file;
587 $suinvco3d->{_note} = $suinvco3d->{_note}.' d22file='.$suinvco3d->{_d22file};
588 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' d22file='.$suinvco3d->{_d22file};
589  
590 } else {
591 print("suinvco3d, d22file, missing d22file,\n");
592 }
593 }
594  
595  
596 =head2 sub d23file
597  
598  
599 =cut
600  
601 sub d23file {
602  
603 my ( $self,$d23file ) = @_;
604 if ( $d23file ne $empty_string ) {
605  
606 $suinvco3d->{_d23file} = $d23file;
607 $suinvco3d->{_note} = $suinvco3d->{_note}.' d23file='.$suinvco3d->{_d23file};
608 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' d23file='.$suinvco3d->{_d23file};
609  
610 } else {
611 print("suinvco3d, d23file, missing d23file,\n");
612 }
613 }
614  
615  
616 =head2 sub d31file
617  
618  
619 =cut
620  
621 sub d31file {
622  
623 my ( $self,$d31file ) = @_;
624 if ( $d31file ne $empty_string ) {
625  
626 $suinvco3d->{_d31file} = $d31file;
627 $suinvco3d->{_note} = $suinvco3d->{_note}.' d31file='.$suinvco3d->{_d31file};
628 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' d31file='.$suinvco3d->{_d31file};
629  
630 } else {
631 print("suinvco3d, d31file, missing d31file,\n");
632 }
633 }
634  
635  
636 =head2 sub d32file
637  
638  
639 =cut
640  
641 sub d32file {
642  
643 my ( $self,$d32file ) = @_;
644 if ( $d32file ne $empty_string ) {
645  
646 $suinvco3d->{_d32file} = $d32file;
647 $suinvco3d->{_note} = $suinvco3d->{_note}.' d32file='.$suinvco3d->{_d32file};
648 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' d32file='.$suinvco3d->{_d32file};
649  
650 } else {
651 print("suinvco3d, d32file, missing d32file,\n");
652 }
653 }
654  
655  
656 =head2 sub d33file
657  
658  
659 =cut
660  
661 sub d33file {
662  
663 my ( $self,$d33file ) = @_;
664 if ( $d33file ne $empty_string ) {
665  
666 $suinvco3d->{_d33file} = $d33file;
667 $suinvco3d->{_note} = $suinvco3d->{_note}.' d33file='.$suinvco3d->{_d33file};
668 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' d33file='.$suinvco3d->{_d33file};
669  
670 } else {
671 print("suinvco3d, d33file, missing d33file,\n");
672 }
673 }
674  
675  
676 =head2 sub dt
677  
678  
679 =cut
680  
681 sub dt {
682  
683 my ( $self,$dt ) = @_;
684 if ( $dt ne $empty_string ) {
685  
686 $suinvco3d->{_dt} = $dt;
687 $suinvco3d->{_note} = $suinvco3d->{_note}.' dt='.$suinvco3d->{_dt};
688 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dt='.$suinvco3d->{_dt};
689  
690 } else {
691 print("suinvco3d, dt, missing dt,\n");
692 }
693 }
694  
695  
696 =head2 sub dxm
697  
698  
699 =cut
700  
701 sub dxm {
702  
703 my ( $self,$dxm ) = @_;
704 if ( $dxm ne $empty_string ) {
705  
706 $suinvco3d->{_dxm} = $dxm;
707 $suinvco3d->{_note} = $suinvco3d->{_note}.' dxm='.$suinvco3d->{_dxm};
708 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dxm='.$suinvco3d->{_dxm};
709  
710 } else {
711 print("suinvco3d, dxm, missing dxm,\n");
712 }
713 }
714  
715  
716 =head2 sub dxo
717  
718  
719 =cut
720  
721 sub dxo {
722  
723 my ( $self,$dxo ) = @_;
724 if ( $dxo ne $empty_string ) {
725  
726 $suinvco3d->{_dxo} = $dxo;
727 $suinvco3d->{_note} = $suinvco3d->{_note}.' dxo='.$suinvco3d->{_dxo};
728 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dxo='.$suinvco3d->{_dxo};
729  
730 } else {
731 print("suinvco3d, dxo, missing dxo,\n");
732 }
733 }
734  
735  
736 =head2 sub dxt
737  
738  
739 =cut
740  
741 sub dxt {
742  
743 my ( $self,$dxt ) = @_;
744 if ( $dxt ne $empty_string ) {
745  
746 $suinvco3d->{_dxt} = $dxt;
747 $suinvco3d->{_note} = $suinvco3d->{_note}.' dxt='.$suinvco3d->{_dxt};
748 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dxt='.$suinvco3d->{_dxt};
749  
750 } else {
751 print("suinvco3d, dxt, missing dxt,\n");
752 }
753 }
754  
755  
756 =head2 sub dxv
757  
758  
759 =cut
760  
761 sub dxv {
762  
763 my ( $self,$dxv ) = @_;
764 if ( $dxv ne $empty_string ) {
765  
766 $suinvco3d->{_dxv} = $dxv;
767 $suinvco3d->{_note} = $suinvco3d->{_note}.' dxv='.$suinvco3d->{_dxv};
768 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dxv='.$suinvco3d->{_dxv};
769  
770 } else {
771 print("suinvco3d, dxv, missing dxv,\n");
772 }
773 }
774  
775  
776 =head2 sub dym
777  
778  
779 =cut
780  
781 sub dym {
782  
783 my ( $self,$dym ) = @_;
784 if ( $dym ne $empty_string ) {
785  
786 $suinvco3d->{_dym} = $dym;
787 $suinvco3d->{_note} = $suinvco3d->{_note}.' dym='.$suinvco3d->{_dym};
788 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dym='.$suinvco3d->{_dym};
789  
790 } else {
791 print("suinvco3d, dym, missing dym,\n");
792 }
793 }
794  
795  
796 =head2 sub dyo
797  
798  
799 =cut
800  
801 sub dyo {
802  
803 my ( $self,$dyo ) = @_;
804 if ( $dyo ne $empty_string ) {
805  
806 $suinvco3d->{_dyo} = $dyo;
807 $suinvco3d->{_note} = $suinvco3d->{_note}.' dyo='.$suinvco3d->{_dyo};
808 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dyo='.$suinvco3d->{_dyo};
809  
810 } else {
811 print("suinvco3d, dyo, missing dyo,\n");
812 }
813 }
814  
815  
816 =head2 sub dyt
817  
818  
819 =cut
820  
821 sub dyt {
822  
823 my ( $self,$dyt ) = @_;
824 if ( $dyt ne $empty_string ) {
825  
826 $suinvco3d->{_dyt} = $dyt;
827 $suinvco3d->{_note} = $suinvco3d->{_note}.' dyt='.$suinvco3d->{_dyt};
828 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dyt='.$suinvco3d->{_dyt};
829  
830 } else {
831 print("suinvco3d, dyt, missing dyt,\n");
832 }
833 }
834  
835  
836 =head2 sub dyv
837  
838  
839 =cut
840  
841 sub dyv {
842  
843 my ( $self,$dyv ) = @_;
844 if ( $dyv ne $empty_string ) {
845  
846 $suinvco3d->{_dyv} = $dyv;
847 $suinvco3d->{_note} = $suinvco3d->{_note}.' dyv='.$suinvco3d->{_dyv};
848 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dyv='.$suinvco3d->{_dyv};
849  
850 } else {
851 print("suinvco3d, dyv, missing dyv,\n");
852 }
853 }
854  
855  
856 =head2 sub dzo
857  
858  
859 =cut
860  
861 sub dzo {
862  
863 my ( $self,$dzo ) = @_;
864 if ( $dzo ne $empty_string ) {
865  
866 $suinvco3d->{_dzo} = $dzo;
867 $suinvco3d->{_note} = $suinvco3d->{_note}.' dzo='.$suinvco3d->{_dzo};
868 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dzo='.$suinvco3d->{_dzo};
869  
870 } else {
871 print("suinvco3d, dzo, missing dzo,\n");
872 }
873 }
874  
875  
876 =head2 sub dzt
877  
878  
879 =cut
880  
881 sub dzt {
882  
883 my ( $self,$dzt ) = @_;
884 if ( $dzt ne $empty_string ) {
885  
886 $suinvco3d->{_dzt} = $dzt;
887 $suinvco3d->{_note} = $suinvco3d->{_note}.' dzt='.$suinvco3d->{_dzt};
888 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dzt='.$suinvco3d->{_dzt};
889  
890 } else {
891 print("suinvco3d, dzt, missing dzt,\n");
892 }
893 }
894  
895  
896 =head2 sub dzv
897  
898  
899 =cut
900  
901 sub dzv {
902  
903 my ( $self,$dzv ) = @_;
904 if ( $dzv ne $empty_string ) {
905  
906 $suinvco3d->{_dzv} = $dzv;
907 $suinvco3d->{_note} = $suinvco3d->{_note}.' dzv='.$suinvco3d->{_dzv};
908 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' dzv='.$suinvco3d->{_dzv};
909  
910 } else {
911 print("suinvco3d, dzv, missing dzv,\n");
912 }
913 }
914  
915  
916 =head2 sub fmax
917  
918  
919 =cut
920  
921 sub fmax {
922  
923 my ( $self,$fmax ) = @_;
924 if ( $fmax ne $empty_string ) {
925  
926 $suinvco3d->{_fmax} = $fmax;
927 $suinvco3d->{_note} = $suinvco3d->{_note}.' fmax='.$suinvco3d->{_fmax};
928 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fmax='.$suinvco3d->{_fmax};
929  
930 } else {
931 print("suinvco3d, fmax, missing fmax,\n");
932 }
933 }
934  
935  
936 =head2 sub fxm
937  
938  
939 =cut
940  
941 sub fxm {
942  
943 my ( $self,$fxm ) = @_;
944 if ( $fxm ne $empty_string ) {
945  
946 $suinvco3d->{_fxm} = $fxm;
947 $suinvco3d->{_note} = $suinvco3d->{_note}.' fxm='.$suinvco3d->{_fxm};
948 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fxm='.$suinvco3d->{_fxm};
949  
950 } else {
951 print("suinvco3d, fxm, missing fxm,\n");
952 }
953 }
954  
955  
956 =head2 sub fxo
957  
958  
959 =cut
960  
961 sub fxo {
962  
963 my ( $self,$fxo ) = @_;
964 if ( $fxo ne $empty_string ) {
965  
966 $suinvco3d->{_fxo} = $fxo;
967 $suinvco3d->{_note} = $suinvco3d->{_note}.' fxo='.$suinvco3d->{_fxo};
968 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fxo='.$suinvco3d->{_fxo};
969  
970 } else {
971 print("suinvco3d, fxo, missing fxo,\n");
972 }
973 }
974  
975  
976 =head2 sub fxv
977  
978  
979 =cut
980  
981 sub fxv {
982  
983 my ( $self,$fxv ) = @_;
984 if ( $fxv ne $empty_string ) {
985  
986 $suinvco3d->{_fxv} = $fxv;
987 $suinvco3d->{_note} = $suinvco3d->{_note}.' fxv='.$suinvco3d->{_fxv};
988 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fxv='.$suinvco3d->{_fxv};
989  
990 } else {
991 print("suinvco3d, fxv, missing fxv,\n");
992 }
993 }
994  
995  
996 =head2 sub fym
997  
998  
999 =cut
1000  
1001 sub fym {
1002  
1003 my ( $self,$fym ) = @_;
1004 if ( $fym ne $empty_string ) {
1005  
1006 $suinvco3d->{_fym} = $fym;
1007 $suinvco3d->{_note} = $suinvco3d->{_note}.' fym='.$suinvco3d->{_fym};
1008 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fym='.$suinvco3d->{_fym};
1009  
1010 } else {
1011 print("suinvco3d, fym, missing fym,\n");
1012 }
1013 }
1014  
1015  
1016 =head2 sub fyo
1017  
1018  
1019 =cut
1020  
1021 sub fyo {
1022  
1023 my ( $self,$fyo ) = @_;
1024 if ( $fyo ne $empty_string ) {
1025  
1026 $suinvco3d->{_fyo} = $fyo;
1027 $suinvco3d->{_note} = $suinvco3d->{_note}.' fyo='.$suinvco3d->{_fyo};
1028 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fyo='.$suinvco3d->{_fyo};
1029  
1030 } else {
1031 print("suinvco3d, fyo, missing fyo,\n");
1032 }
1033 }
1034  
1035  
1036 =head2 sub fyv
1037  
1038  
1039 =cut
1040  
1041 sub fyv {
1042  
1043 my ( $self,$fyv ) = @_;
1044 if ( $fyv ne $empty_string ) {
1045  
1046 $suinvco3d->{_fyv} = $fyv;
1047 $suinvco3d->{_note} = $suinvco3d->{_note}.' fyv='.$suinvco3d->{_fyv};
1048 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fyv='.$suinvco3d->{_fyv};
1049  
1050 } else {
1051 print("suinvco3d, fyv, missing fyv,\n");
1052 }
1053 }
1054  
1055  
1056 =head2 sub fzo
1057  
1058  
1059 =cut
1060  
1061 sub fzo {
1062  
1063 my ( $self,$fzo ) = @_;
1064 if ( $fzo ne $empty_string ) {
1065  
1066 $suinvco3d->{_fzo} = $fzo;
1067 $suinvco3d->{_note} = $suinvco3d->{_note}.' fzo='.$suinvco3d->{_fzo};
1068 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fzo='.$suinvco3d->{_fzo};
1069  
1070 } else {
1071 print("suinvco3d, fzo, missing fzo,\n");
1072 }
1073 }
1074  
1075  
1076 =head2 sub fzv
1077  
1078  
1079 =cut
1080  
1081 sub fzv {
1082  
1083 my ( $self,$fzv ) = @_;
1084 if ( $fzv ne $empty_string ) {
1085  
1086 $suinvco3d->{_fzv} = $fzv;
1087 $suinvco3d->{_note} = $suinvco3d->{_note}.' fzv='.$suinvco3d->{_fzv};
1088 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' fzv='.$suinvco3d->{_fzv};
1089  
1090 } else {
1091 print("suinvco3d, fzv, missing fzv,\n");
1092 }
1093 }
1094  
1095  
1096 =head2 sub geo_type
1097  
1098  
1099 =cut
1100  
1101 sub geo_type {
1102  
1103 my ( $self,$geo_type ) = @_;
1104 if ( $geo_type ne $empty_string ) {
1105  
1106 $suinvco3d->{_geo_type} = $geo_type;
1107 $suinvco3d->{_note} = $suinvco3d->{_note}.' geo_type='.$suinvco3d->{_geo_type};
1108 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' geo_type='.$suinvco3d->{_geo_type};
1109  
1110 } else {
1111 print("suinvco3d, geo_type, missing geo_type,\n");
1112 }
1113 }
1114  
1115  
1116 =head2 sub nxb
1117  
1118  
1119 =cut
1120  
1121 sub nxb {
1122  
1123 my ( $self,$nxb ) = @_;
1124 if ( $nxb ne $empty_string ) {
1125  
1126 $suinvco3d->{_nxb} = $nxb;
1127 $suinvco3d->{_note} = $suinvco3d->{_note}.' nxb='.$suinvco3d->{_nxb};
1128 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nxb='.$suinvco3d->{_nxb};
1129  
1130 } else {
1131 print("suinvco3d, nxb, missing nxb,\n");
1132 }
1133 }
1134  
1135  
1136 =head2 sub nxm
1137  
1138  
1139 =cut
1140  
1141 sub nxm {
1142  
1143 my ( $self,$nxm ) = @_;
1144 if ( $nxm ne $empty_string ) {
1145  
1146 $suinvco3d->{_nxm} = $nxm;
1147 $suinvco3d->{_note} = $suinvco3d->{_note}.' nxm='.$suinvco3d->{_nxm};
1148 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nxm='.$suinvco3d->{_nxm};
1149  
1150 } else {
1151 print("suinvco3d, nxm, missing nxm,\n");
1152 }
1153 }
1154  
1155  
1156 =head2 sub nxo
1157  
1158  
1159 =cut
1160  
1161 sub nxo {
1162  
1163 my ( $self,$nxo ) = @_;
1164 if ( $nxo ne $empty_string ) {
1165  
1166 $suinvco3d->{_nxo} = $nxo;
1167 $suinvco3d->{_note} = $suinvco3d->{_note}.' nxo='.$suinvco3d->{_nxo};
1168 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nxo='.$suinvco3d->{_nxo};
1169  
1170 } else {
1171 print("suinvco3d, nxo, missing nxo,\n");
1172 }
1173 }
1174  
1175  
1176 =head2 sub nxt
1177  
1178  
1179 =cut
1180  
1181 sub nxt {
1182  
1183 my ( $self,$nxt ) = @_;
1184 if ( $nxt ne $empty_string ) {
1185  
1186 $suinvco3d->{_nxt} = $nxt;
1187 $suinvco3d->{_note} = $suinvco3d->{_note}.' nxt='.$suinvco3d->{_nxt};
1188 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nxt='.$suinvco3d->{_nxt};
1189  
1190 } else {
1191 print("suinvco3d, nxt, missing nxt,\n");
1192 }
1193 }
1194  
1195  
1196 =head2 sub nxv
1197  
1198  
1199 =cut
1200  
1201 sub nxv {
1202  
1203 my ( $self,$nxv ) = @_;
1204 if ( $nxv ne $empty_string ) {
1205  
1206 $suinvco3d->{_nxv} = $nxv;
1207 $suinvco3d->{_note} = $suinvco3d->{_note}.' nxv='.$suinvco3d->{_nxv};
1208 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nxv='.$suinvco3d->{_nxv};
1209  
1210 } else {
1211 print("suinvco3d, nxv, missing nxv,\n");
1212 }
1213 }
1214  
1215  
1216 =head2 sub nym
1217  
1218  
1219 =cut
1220  
1221 sub nym {
1222  
1223 my ( $self,$nym ) = @_;
1224 if ( $nym ne $empty_string ) {
1225  
1226 $suinvco3d->{_nym} = $nym;
1227 $suinvco3d->{_note} = $suinvco3d->{_note}.' nym='.$suinvco3d->{_nym};
1228 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nym='.$suinvco3d->{_nym};
1229  
1230 } else {
1231 print("suinvco3d, nym, missing nym,\n");
1232 }
1233 }
1234  
1235  
1236 =head2 sub nyo
1237  
1238  
1239 =cut
1240  
1241 sub nyo {
1242  
1243 my ( $self,$nyo ) = @_;
1244 if ( $nyo ne $empty_string ) {
1245  
1246 $suinvco3d->{_nyo} = $nyo;
1247 $suinvco3d->{_note} = $suinvco3d->{_note}.' nyo='.$suinvco3d->{_nyo};
1248 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nyo='.$suinvco3d->{_nyo};
1249  
1250 } else {
1251 print("suinvco3d, nyo, missing nyo,\n");
1252 }
1253 }
1254  
1255  
1256 =head2 sub nyt
1257  
1258  
1259 =cut
1260  
1261 sub nyt {
1262  
1263 my ( $self,$nyt ) = @_;
1264 if ( $nyt ne $empty_string ) {
1265  
1266 $suinvco3d->{_nyt} = $nyt;
1267 $suinvco3d->{_note} = $suinvco3d->{_note}.' nyt='.$suinvco3d->{_nyt};
1268 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nyt='.$suinvco3d->{_nyt};
1269  
1270 } else {
1271 print("suinvco3d, nyt, missing nyt,\n");
1272 }
1273 }
1274  
1275  
1276 =head2 sub nyv
1277  
1278  
1279 =cut
1280  
1281 sub nyv {
1282  
1283 my ( $self,$nyv ) = @_;
1284 if ( $nyv ne $empty_string ) {
1285  
1286 $suinvco3d->{_nyv} = $nyv;
1287 $suinvco3d->{_note} = $suinvco3d->{_note}.' nyv='.$suinvco3d->{_nyv};
1288 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nyv='.$suinvco3d->{_nyv};
1289  
1290 } else {
1291 print("suinvco3d, nyv, missing nyv,\n");
1292 }
1293 }
1294  
1295  
1296 =head2 sub nzo
1297  
1298  
1299 =cut
1300  
1301 sub nzo {
1302  
1303 my ( $self,$nzo ) = @_;
1304 if ( $nzo ne $empty_string ) {
1305  
1306 $suinvco3d->{_nzo} = $nzo;
1307 $suinvco3d->{_note} = $suinvco3d->{_note}.' nzo='.$suinvco3d->{_nzo};
1308 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nzo='.$suinvco3d->{_nzo};
1309  
1310 } else {
1311 print("suinvco3d, nzo, missing nzo,\n");
1312 }
1313 }
1314  
1315  
1316 =head2 sub nzt
1317  
1318  
1319 =cut
1320  
1321 sub nzt {
1322  
1323 my ( $self,$nzt ) = @_;
1324 if ( $nzt ne $empty_string ) {
1325  
1326 $suinvco3d->{_nzt} = $nzt;
1327 $suinvco3d->{_note} = $suinvco3d->{_note}.' nzt='.$suinvco3d->{_nzt};
1328 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nzt='.$suinvco3d->{_nzt};
1329  
1330 } else {
1331 print("suinvco3d, nzt, missing nzt,\n");
1332 }
1333 }
1334  
1335  
1336 =head2 sub nzv
1337  
1338  
1339 =cut
1340  
1341 sub nzv {
1342  
1343 my ( $self,$nzv ) = @_;
1344 if ( $nzv ne $empty_string ) {
1345  
1346 $suinvco3d->{_nzv} = $nzv;
1347 $suinvco3d->{_note} = $suinvco3d->{_note}.' nzv='.$suinvco3d->{_nzv};
1348 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' nzv='.$suinvco3d->{_nzv};
1349  
1350 } else {
1351 print("suinvco3d, nzv, missing nzv,\n");
1352 }
1353 }
1354  
1355  
1356 =head2 sub offs
1357  
1358  
1359 =cut
1360  
1361 sub offs {
1362  
1363 my ( $self,$offs ) = @_;
1364 if ( $offs ne $empty_string ) {
1365  
1366 $suinvco3d->{_offs} = $offs;
1367 $suinvco3d->{_note} = $suinvco3d->{_note}.' offs='.$suinvco3d->{_offs};
1368 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' offs='.$suinvco3d->{_offs};
1369  
1370 } else {
1371 print("suinvco3d, offs, missing offs,\n");
1372 }
1373 }
1374  
1375  
1376 =head2 sub tfile
1377  
1378  
1379 =cut
1380  
1381 sub tfile {
1382  
1383 my ( $self,$tfile ) = @_;
1384 if ( $tfile ne $empty_string ) {
1385  
1386 $suinvco3d->{_tfile} = $tfile;
1387 $suinvco3d->{_note} = $suinvco3d->{_note}.' tfile='.$suinvco3d->{_tfile};
1388 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' tfile='.$suinvco3d->{_tfile};
1389  
1390 } else {
1391 print("suinvco3d, tfile, missing tfile,\n");
1392 }
1393 }
1394  
1395  
1396 =head2 sub verbose
1397  
1398  
1399 =cut
1400  
1401 sub verbose {
1402  
1403 my ( $self,$verbose ) = @_;
1404 if ( $verbose ne $empty_string ) {
1405  
1406 $suinvco3d->{_verbose} = $verbose;
1407 $suinvco3d->{_note} = $suinvco3d->{_note}.' verbose='.$suinvco3d->{_verbose};
1408 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' verbose='.$suinvco3d->{_verbose};
1409  
1410 } else {
1411 print("suinvco3d, verbose, missing verbose,\n");
1412 }
1413 }
1414  
1415  
1416 =head2 sub vfile
1417  
1418  
1419 =cut
1420  
1421 sub vfile {
1422  
1423 my ( $self,$vfile ) = @_;
1424 if ( $vfile ne $empty_string ) {
1425  
1426 $suinvco3d->{_vfile} = $vfile;
1427 $suinvco3d->{_note} = $suinvco3d->{_note}.' vfile='.$suinvco3d->{_vfile};
1428 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' vfile='.$suinvco3d->{_vfile};
1429  
1430 } else {
1431 print("suinvco3d, vfile, missing vfile,\n");
1432 }
1433 }
1434  
1435  
1436 =head2 sub weight
1437  
1438  
1439 =cut
1440  
1441 sub weight {
1442  
1443 my ( $self,$weight ) = @_;
1444 if ( $weight ne $empty_string ) {
1445  
1446 $suinvco3d->{_weight} = $weight;
1447 $suinvco3d->{_note} = $suinvco3d->{_note}.' weight='.$suinvco3d->{_weight};
1448 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' weight='.$suinvco3d->{_weight};
1449  
1450 } else {
1451 print("suinvco3d, weight, missing weight,\n");
1452 }
1453 }
1454  
1455  
1456 =head2 sub xt0
1457  
1458  
1459 =cut
1460  
1461 sub xt0 {
1462  
1463 my ( $self,$xt0 ) = @_;
1464 if ( $xt0 ne $empty_string ) {
1465  
1466 $suinvco3d->{_xt0} = $xt0;
1467 $suinvco3d->{_note} = $suinvco3d->{_note}.' xt0='.$suinvco3d->{_xt0};
1468 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' xt0='.$suinvco3d->{_xt0};
1469  
1470 } else {
1471 print("suinvco3d, xt0, missing xt0,\n");
1472 }
1473 }
1474  
1475  
1476 =head2 sub xt1
1477  
1478  
1479 =cut
1480  
1481 sub xt1 {
1482  
1483 my ( $self,$xt1 ) = @_;
1484 if ( $xt1 ne $empty_string ) {
1485  
1486 $suinvco3d->{_xt1} = $xt1;
1487 $suinvco3d->{_note} = $suinvco3d->{_note}.' xt1='.$suinvco3d->{_xt1};
1488 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' xt1='.$suinvco3d->{_xt1};
1489  
1490 } else {
1491 print("suinvco3d, xt1, missing xt1,\n");
1492 }
1493 }
1494  
1495  
1496 =head2 sub yt0
1497  
1498  
1499 =cut
1500  
1501 sub yt0 {
1502  
1503 my ( $self,$yt0 ) = @_;
1504 if ( $yt0 ne $empty_string ) {
1505  
1506 $suinvco3d->{_yt0} = $yt0;
1507 $suinvco3d->{_note} = $suinvco3d->{_note}.' yt0='.$suinvco3d->{_yt0};
1508 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' yt0='.$suinvco3d->{_yt0};
1509  
1510 } else {
1511 print("suinvco3d, yt0, missing yt0,\n");
1512 }
1513 }
1514  
1515  
1516 =head2 sub yt1
1517  
1518  
1519 =cut
1520  
1521 sub yt1 {
1522  
1523 my ( $self,$yt1 ) = @_;
1524 if ( $yt1 ne $empty_string ) {
1525  
1526 $suinvco3d->{_yt1} = $yt1;
1527 $suinvco3d->{_note} = $suinvco3d->{_note}.' yt1='.$suinvco3d->{_yt1};
1528 $suinvco3d->{_Step} = $suinvco3d->{_Step}.' yt1='.$suinvco3d->{_yt1};
1529  
1530 } else {
1531 print("suinvco3d, yt1, missing yt1,\n");
1532 }
1533 }
1534  
1535  
1536 =head2 sub get_max_index
1537  
1538 max index = number of input variables -1
1539
1540 =cut
1541
1542 sub get_max_index {
1543 my ($self) = @_;
1544 my $max_index = 54;
1545  
1546 return($max_index);
1547 }
1548
1549
1550 1;