lib/App/SeismicUnixGui/sunix/model/susynvxzcs.pm untested

filter: Statementstmt 0.0% 0 / 223 Branchbran 0.0% 0 / 54 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 35 Podpod 0.0% 0 / 31 totaltotal 0.0% 0 / 343 CC 28 SCAR 17.0
CC
28
Cov
0%
cable
6.0
dt
6.0
dx
6.0
CRAP 5.5
1 package App::SeismicUnixGui::sunix::model::susynvxzcs;
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 SUSYNVXZCS - SYNthetic seismograms of common shot in V(X,Z) media via
25  
26 Kirchhoff-style modeling
27  
28  
29  
30 susynvxzcs<vfile >outfile nx= nz= [optional parameters]
31  
32  
33  
34 Required Parameters:
35  
36 <vfile file containing velocities v[nx][nz]
37  
38 >outfile file containing seismograms of common ofset
39  
40 nx= number of x samples (2nd dimension) in velocity
41  
42 nz= number of z samples (1st dimension) in velocity
43  
44  
45  
46 Optional Parameters:
47  
48 nt=501 number of time samples
49  
50 dt=0.004 time sampling interval (sec)
51  
52 ft=0.0 first time (sec)
53  
54 fpeak=0.2/dt peak frequency of symmetric Ricker wavelet (Hz)
55  
56 nxg= number of receivers of input traces
57  
58 dxg=15 receiver sampling interval (m)
59  
60 fxg=0.0 first receiver (m)
61  
62 nxd=5 skipped number of receivers
63  
64 nxs=1 number of offsets
65  
66 dxs=50 shot sampling interval (m)
67  
68 fxs=0.0 first shot (m)
69  
70 dx=50 x sampling interval (m)
71  
72 fx=0. first x sample (m)
73  
74 dz=50 z sampling interval (m)
75  
76 nxb=nx/2 band width centered at midpoint (see note)
77  
78 nxc=0 hozizontal range in which velocity is changed
79  
80 nzc=0 vertical range in which velocity is changed
81  
82 pert=0 =1 calculate time correction from v_p[nx][nz]
83  
84 vpfile file containing slowness perturbation array v_p[nx][nz]
85  
86 ref="1:1,2;4,2" reflector(s): "amplitude:x1,z1;x2,z2;x3,z3;...
87  
88 smooth=0 =1 for smooth (piecewise cubic spline) reflectors
89  
90 ls=0 =1 for line source; =0 for point source
91  
92 tmin=10.0*dt minimum time of interest (sec)
93  
94 ndpfz=5 number of diffractors per Fresnel zone
95  
96 cable=1 roll reciever spread with shot
97  
98 =0 static reciever spread
99  
100 verbose=0 =1 to print some useful information
101  
102  
103  
104 Notes:
105  
106 This algorithm is based on formula (58) in Geo. Pros. 34, 686-703,
107  
108 by N. Bleistein.
109  
110  
111  
112 Traveltime and amplitude are calculated by finite difference which
113  
114 is done only in one of every NXD receivers; in skipped receivers,
115  
116 interpolation is used to calculate traveltime and amplitude. ",
117  
118 For each receiver, traveltime and amplitude are calculated in the
119  
120 horizontal range of (xg-nxb*dx, xg+nxb*dx). Velocity is changed by
121  
122 constant extropolation in two upper trianglar corners whose width is
123  
124 nxc*dx and height is nzc*dz.
125  
126  
127  
128 Eikonal equation will fail to solve if there is a polar turned ray.
129  
130 In this case, the program shows the related geometric information.
131  
132 There are three ways to remove the turned rays: smoothing velocity,
133  
134 reducing nxb, and increaing nxc and nzc (if the turned ray occurs
135  
136 in shallow areas). To prevent traveltime distortion from an over-
137  
138 smoothed velocity, traveltime is corrected based on the slowness
139  
140 perturbation.
141  
142  
143  
144 More than one ref (reflector) may be specified.
145  
146 Note that reflectors are encoded as quoted strings, with an optional
147  
148 reflector amplitude: preceding the x,z coordinates of each reflector.
149  
150 Default amplitude is 1.0 if amplitude: part of the string is omitted.
151  
152  
153  
154  
155  
156  
157  
158 Author: Zhenyue Liu, 07/20/92, Center for Wave Phenomena
159  
160 Many subroutines borrowed from Dave Hale's program: SUSYNLV
161  
162  
163  
164 Trino Salinas, 07/30/96, fixed a bug in the geometry
165  
166 setting to allow the spread move with the shots.
167  
168  
169  
170 Chris Liner 12/10/08 added cable option, set fldr header word
171  
172  
173  
174 Trace header fields set: trid, counit, ns, dt, delrt,
175  
176 tracl. tracr, fldr, tracf,
177  
178 sx, gx
179  
180  
181  
182 =head2 User's notes (Juan Lorenzo)
183 untested
184  
185 =cut
186  
187  
188 =head2 CHANGES and their DATES
189  
190 =cut
191  
192 use Moose;
193 our $VERSION = '0.0.1';
194  
195  
196 =head2 Import packages
197  
198 =cut
199  
200 use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants';
201  
202 use App::SeismicUnixGui::misc::SeismicUnix qw($in $out $on $go $to $suffix_ascii $off $suffix_su $suffix_bin);
203 use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config';
204  
205  
206 =head2 instantiation of packages
207  
208 =cut
209  
210 my $get = L_SU_global_constants->new();
211 my $Project = Project_config->new();
212 my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU();
213 my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN();
214 my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT();
215  
216 my $var = $get->var();
217 my $on = $var->{_on};
218 my $off = $var->{_off};
219 my $true = $var->{_true};
220 my $false = $var->{_false};
221 my $empty_string = $var->{_empty_string};
222  
223 =head2 Encapsulated
224 hash of private variables
225  
226 =cut
227  
228 my $susynvxzcs = {
229 _cable => '',
230 _dt => '',
231 _dx => '',
232 _dxg => '',
233 _dxs => '',
234 _dz => '',
235 _fpeak => '',
236 _ft => '',
237 _fx => '',
238 _fxg => '',
239 _fxs => '',
240 _ls => '',
241 _ndpfz => '',
242 _nt => '',
243 _nx => '',
244 _nxb => '',
245 _nxc => '',
246 _nxd => '',
247 _nxg => '',
248 _nxs => '',
249 _nz => '',
250 _nzc => '',
251 _pert => '',
252 _ref => '',
253 _smooth => '',
254 _tmin => '',
255 _verbose => '',
256 _Step => '',
257 _note => '',
258  
259 };
260  
261 =head2 sub Step
262  
263 collects switches and assembles bash instructions
264 by adding the program name
265  
266 =cut
267  
268 sub Step {
269  
270 $susynvxzcs->{_Step} = 'susynvxzcs'.$susynvxzcs->{_Step};
271 return ( $susynvxzcs->{_Step} );
272  
273 }
274  
275  
276 =head2 sub note
277  
278 collects switches and assembles bash instructions
279 by adding the program name
280  
281 =cut
282  
283 sub note {
284  
285 $susynvxzcs->{_note} = 'susynvxzcs'.$susynvxzcs->{_note};
286 return ( $susynvxzcs->{_note} );
287  
288 }
289  
290  
291  
292 =head2 sub clear
293  
294 =cut
295  
296 sub clear {
297  
298 $susynvxzcs->{_cable} = '';
299 $susynvxzcs->{_dt} = '';
300 $susynvxzcs->{_dx} = '';
301 $susynvxzcs->{_dxg} = '';
302 $susynvxzcs->{_dxs} = '';
303 $susynvxzcs->{_dz} = '';
304 $susynvxzcs->{_fpeak} = '';
305 $susynvxzcs->{_ft} = '';
306 $susynvxzcs->{_fx} = '';
307 $susynvxzcs->{_fxg} = '';
308 $susynvxzcs->{_fxs} = '';
309 $susynvxzcs->{_ls} = '';
310 $susynvxzcs->{_ndpfz} = '';
311 $susynvxzcs->{_nt} = '';
312 $susynvxzcs->{_nx} = '';
313 $susynvxzcs->{_nxb} = '';
314 $susynvxzcs->{_nxc} = '';
315 $susynvxzcs->{_nxd} = '';
316 $susynvxzcs->{_nxg} = '';
317 $susynvxzcs->{_nxs} = '';
318 $susynvxzcs->{_nz} = '';
319 $susynvxzcs->{_nzc} = '';
320 $susynvxzcs->{_pert} = '';
321 $susynvxzcs->{_ref} = '';
322 $susynvxzcs->{_smooth} = '';
323 $susynvxzcs->{_tmin} = '';
324 $susynvxzcs->{_verbose} = '';
325 $susynvxzcs->{_Step} = '';
326 $susynvxzcs->{_note} = '';
327 }
328  
329  
330 =head2 sub cable
331  
332  
333 =cut
334  
335 sub cable {
336  
337 my ( $self,$cable ) = @_;
338 if ( $cable ne $empty_string ) {
339  
340 $susynvxzcs->{_cable} = $cable;
341 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' cable='.$susynvxzcs->{_cable};
342 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' cable='.$susynvxzcs->{_cable};
343  
344 } else {
345 print("susynvxzcs, cable, missing cable,\n");
346 }
347 }
348  
349  
350 =head2 sub dt
351  
352  
353 =cut
354  
355 sub dt {
356  
357 my ( $self,$dt ) = @_;
358 if ( $dt ne $empty_string ) {
359  
360 $susynvxzcs->{_dt} = $dt;
361 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' dt='.$susynvxzcs->{_dt};
362 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' dt='.$susynvxzcs->{_dt};
363  
364 } else {
365 print("susynvxzcs, dt, missing dt,\n");
366 }
367 }
368  
369  
370 =head2 sub dx
371  
372  
373 =cut
374  
375 sub dx {
376  
377 my ( $self,$dx ) = @_;
378 if ( $dx ne $empty_string ) {
379  
380 $susynvxzcs->{_dx} = $dx;
381 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' dx='.$susynvxzcs->{_dx};
382 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' dx='.$susynvxzcs->{_dx};
383  
384 } else {
385 print("susynvxzcs, dx, missing dx,\n");
386 }
387 }
388  
389  
390 =head2 sub dxg
391  
392  
393 =cut
394  
395 sub dxg {
396  
397 my ( $self,$dxg ) = @_;
398 if ( $dxg ne $empty_string ) {
399  
400 $susynvxzcs->{_dxg} = $dxg;
401 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' dxg='.$susynvxzcs->{_dxg};
402 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' dxg='.$susynvxzcs->{_dxg};
403  
404 } else {
405 print("susynvxzcs, dxg, missing dxg,\n");
406 }
407 }
408  
409  
410 =head2 sub dxs
411  
412  
413 =cut
414  
415 sub dxs {
416  
417 my ( $self,$dxs ) = @_;
418 if ( $dxs ne $empty_string ) {
419  
420 $susynvxzcs->{_dxs} = $dxs;
421 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' dxs='.$susynvxzcs->{_dxs};
422 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' dxs='.$susynvxzcs->{_dxs};
423  
424 } else {
425 print("susynvxzcs, dxs, missing dxs,\n");
426 }
427 }
428  
429  
430 =head2 sub dz
431  
432  
433 =cut
434  
435 sub dz {
436  
437 my ( $self,$dz ) = @_;
438 if ( $dz ne $empty_string ) {
439  
440 $susynvxzcs->{_dz} = $dz;
441 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' dz='.$susynvxzcs->{_dz};
442 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' dz='.$susynvxzcs->{_dz};
443  
444 } else {
445 print("susynvxzcs, dz, missing dz,\n");
446 }
447 }
448  
449  
450 =head2 sub fpeak
451  
452  
453 =cut
454  
455 sub fpeak {
456  
457 my ( $self,$fpeak ) = @_;
458 if ( $fpeak ne $empty_string ) {
459  
460 $susynvxzcs->{_fpeak} = $fpeak;
461 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' fpeak='.$susynvxzcs->{_fpeak};
462 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' fpeak='.$susynvxzcs->{_fpeak};
463  
464 } else {
465 print("susynvxzcs, fpeak, missing fpeak,\n");
466 }
467 }
468  
469  
470 =head2 sub ft
471  
472  
473 =cut
474  
475 sub ft {
476  
477 my ( $self,$ft ) = @_;
478 if ( $ft ne $empty_string ) {
479  
480 $susynvxzcs->{_ft} = $ft;
481 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' ft='.$susynvxzcs->{_ft};
482 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' ft='.$susynvxzcs->{_ft};
483  
484 } else {
485 print("susynvxzcs, ft, missing ft,\n");
486 }
487 }
488  
489  
490 =head2 sub fx
491  
492  
493 =cut
494  
495 sub fx {
496  
497 my ( $self,$fx ) = @_;
498 if ( $fx ne $empty_string ) {
499  
500 $susynvxzcs->{_fx} = $fx;
501 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' fx='.$susynvxzcs->{_fx};
502 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' fx='.$susynvxzcs->{_fx};
503  
504 } else {
505 print("susynvxzcs, fx, missing fx,\n");
506 }
507 }
508  
509  
510 =head2 sub fxg
511  
512  
513 =cut
514  
515 sub fxg {
516  
517 my ( $self,$fxg ) = @_;
518 if ( $fxg ne $empty_string ) {
519  
520 $susynvxzcs->{_fxg} = $fxg;
521 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' fxg='.$susynvxzcs->{_fxg};
522 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' fxg='.$susynvxzcs->{_fxg};
523  
524 } else {
525 print("susynvxzcs, fxg, missing fxg,\n");
526 }
527 }
528  
529  
530 =head2 sub fxs
531  
532  
533 =cut
534  
535 sub fxs {
536  
537 my ( $self,$fxs ) = @_;
538 if ( $fxs ne $empty_string ) {
539  
540 $susynvxzcs->{_fxs} = $fxs;
541 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' fxs='.$susynvxzcs->{_fxs};
542 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' fxs='.$susynvxzcs->{_fxs};
543  
544 } else {
545 print("susynvxzcs, fxs, missing fxs,\n");
546 }
547 }
548  
549  
550 =head2 sub ls
551  
552  
553 =cut
554  
555 sub ls {
556  
557 my ( $self,$ls ) = @_;
558 if ( $ls ne $empty_string ) {
559  
560 $susynvxzcs->{_ls} = $ls;
561 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' ls='.$susynvxzcs->{_ls};
562 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' ls='.$susynvxzcs->{_ls};
563  
564 } else {
565 print("susynvxzcs, ls, missing ls,\n");
566 }
567 }
568  
569  
570 =head2 sub ndpfz
571  
572  
573 =cut
574  
575 sub ndpfz {
576  
577 my ( $self,$ndpfz ) = @_;
578 if ( $ndpfz ne $empty_string ) {
579  
580 $susynvxzcs->{_ndpfz} = $ndpfz;
581 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' ndpfz='.$susynvxzcs->{_ndpfz};
582 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' ndpfz='.$susynvxzcs->{_ndpfz};
583  
584 } else {
585 print("susynvxzcs, ndpfz, missing ndpfz,\n");
586 }
587 }
588  
589  
590 =head2 sub nt
591  
592  
593 =cut
594  
595 sub nt {
596  
597 my ( $self,$nt ) = @_;
598 if ( $nt ne $empty_string ) {
599  
600 $susynvxzcs->{_nt} = $nt;
601 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nt='.$susynvxzcs->{_nt};
602 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nt='.$susynvxzcs->{_nt};
603  
604 } else {
605 print("susynvxzcs, nt, missing nt,\n");
606 }
607 }
608  
609  
610 =head2 sub nx
611  
612  
613 =cut
614  
615 sub nx {
616  
617 my ( $self,$nx ) = @_;
618 if ( $nx ne $empty_string ) {
619  
620 $susynvxzcs->{_nx} = $nx;
621 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nx='.$susynvxzcs->{_nx};
622 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nx='.$susynvxzcs->{_nx};
623  
624 } else {
625 print("susynvxzcs, nx, missing nx,\n");
626 }
627 }
628  
629  
630 =head2 sub nxb
631  
632  
633 =cut
634  
635 sub nxb {
636  
637 my ( $self,$nxb ) = @_;
638 if ( $nxb ne $empty_string ) {
639  
640 $susynvxzcs->{_nxb} = $nxb;
641 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nxb='.$susynvxzcs->{_nxb};
642 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nxb='.$susynvxzcs->{_nxb};
643  
644 } else {
645 print("susynvxzcs, nxb, missing nxb,\n");
646 }
647 }
648  
649  
650 =head2 sub nxc
651  
652  
653 =cut
654  
655 sub nxc {
656  
657 my ( $self,$nxc ) = @_;
658 if ( $nxc ne $empty_string ) {
659  
660 $susynvxzcs->{_nxc} = $nxc;
661 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nxc='.$susynvxzcs->{_nxc};
662 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nxc='.$susynvxzcs->{_nxc};
663  
664 } else {
665 print("susynvxzcs, nxc, missing nxc,\n");
666 }
667 }
668  
669  
670 =head2 sub nxd
671  
672  
673 =cut
674  
675 sub nxd {
676  
677 my ( $self,$nxd ) = @_;
678 if ( $nxd ne $empty_string ) {
679  
680 $susynvxzcs->{_nxd} = $nxd;
681 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nxd='.$susynvxzcs->{_nxd};
682 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nxd='.$susynvxzcs->{_nxd};
683  
684 } else {
685 print("susynvxzcs, nxd, missing nxd,\n");
686 }
687 }
688  
689  
690 =head2 sub nxg
691  
692  
693 =cut
694  
695 sub nxg {
696  
697 my ( $self,$nxg ) = @_;
698 if ( $nxg ne $empty_string ) {
699  
700 $susynvxzcs->{_nxg} = $nxg;
701 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nxg='.$susynvxzcs->{_nxg};
702 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nxg='.$susynvxzcs->{_nxg};
703  
704 } else {
705 print("susynvxzcs, nxg, missing nxg,\n");
706 }
707 }
708  
709  
710 =head2 sub nxs
711  
712  
713 =cut
714  
715 sub nxs {
716  
717 my ( $self,$nxs ) = @_;
718 if ( $nxs ne $empty_string ) {
719  
720 $susynvxzcs->{_nxs} = $nxs;
721 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nxs='.$susynvxzcs->{_nxs};
722 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nxs='.$susynvxzcs->{_nxs};
723  
724 } else {
725 print("susynvxzcs, nxs, missing nxs,\n");
726 }
727 }
728  
729  
730 =head2 sub nz
731  
732  
733 =cut
734  
735 sub nz {
736  
737 my ( $self,$nz ) = @_;
738 if ( $nz ne $empty_string ) {
739  
740 $susynvxzcs->{_nz} = $nz;
741 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nz='.$susynvxzcs->{_nz};
742 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nz='.$susynvxzcs->{_nz};
743  
744 } else {
745 print("susynvxzcs, nz, missing nz,\n");
746 }
747 }
748  
749  
750 =head2 sub nzc
751  
752  
753 =cut
754  
755 sub nzc {
756  
757 my ( $self,$nzc ) = @_;
758 if ( $nzc ne $empty_string ) {
759  
760 $susynvxzcs->{_nzc} = $nzc;
761 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' nzc='.$susynvxzcs->{_nzc};
762 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' nzc='.$susynvxzcs->{_nzc};
763  
764 } else {
765 print("susynvxzcs, nzc, missing nzc,\n");
766 }
767 }
768  
769  
770 =head2 sub pert
771  
772  
773 =cut
774  
775 sub pert {
776  
777 my ( $self,$pert ) = @_;
778 if ( $pert ne $empty_string ) {
779  
780 $susynvxzcs->{_pert} = $pert;
781 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' pert='.$susynvxzcs->{_pert};
782 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' pert='.$susynvxzcs->{_pert};
783  
784 } else {
785 print("susynvxzcs, pert, missing pert,\n");
786 }
787 }
788  
789  
790 =head2 sub ref
791  
792  
793 =cut
794  
795 sub ref {
796  
797 my ( $self,$ref ) = @_;
798 if ( $ref ne $empty_string ) {
799  
800 $susynvxzcs->{_ref} = $ref;
801 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' ref='.$susynvxzcs->{_ref};
802 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' ref='.$susynvxzcs->{_ref};
803  
804 } else {
805 print("susynvxzcs, ref, missing ref,\n");
806 }
807 }
808  
809  
810 =head2 sub smooth
811  
812  
813 =cut
814  
815 sub smooth {
816  
817 my ( $self,$smooth ) = @_;
818 if ( $smooth ne $empty_string ) {
819  
820 $susynvxzcs->{_smooth} = $smooth;
821 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' smooth='.$susynvxzcs->{_smooth};
822 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' smooth='.$susynvxzcs->{_smooth};
823  
824 } else {
825 print("susynvxzcs, smooth, missing smooth,\n");
826 }
827 }
828  
829  
830 =head2 sub tmin
831  
832  
833 =cut
834  
835 sub tmin {
836  
837 my ( $self,$tmin ) = @_;
838 if ( $tmin ne $empty_string ) {
839  
840 $susynvxzcs->{_tmin} = $tmin;
841 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' tmin='.$susynvxzcs->{_tmin};
842 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' tmin='.$susynvxzcs->{_tmin};
843  
844 } else {
845 print("susynvxzcs, tmin, missing tmin,\n");
846 }
847 }
848  
849  
850 =head2 sub verbose
851  
852  
853 =cut
854  
855 sub verbose {
856  
857 my ( $self,$verbose ) = @_;
858 if ( $verbose ne $empty_string ) {
859  
860 $susynvxzcs->{_verbose} = $verbose;
861 $susynvxzcs->{_note} = $susynvxzcs->{_note}.' verbose='.$susynvxzcs->{_verbose};
862 $susynvxzcs->{_Step} = $susynvxzcs->{_Step}.' verbose='.$susynvxzcs->{_verbose};
863  
864 } else {
865 print("susynvxzcs, verbose, missing verbose,\n");
866 }
867 }
868  
869  
870 =head2 sub get_max_index
871  
872 max index = number of input variables -1
873
874 =cut
875
876 sub get_max_index {
877 my ($self) = @_;
878 my $max_index = 26;
879  
880 return($max_index);
881 }
882
883
884 1;