« lib/App/SeismicUnixGui/sunix/migration/sukdmig3d.pm
↑ Summary
lib/App/SeismicUnixGui/sunix/model/suremel2dan.pm »
| 1 | package App::SeismicUnixGui::sunix::model::suea2df; | ||
| 2 | |||
| 3 | =head1 DOCUMENTATION | ||
| 4 | |||
| 5 | =head2 SYNOPSIS | ||
| 6 | |||
| 7 | PERL PROGRAM NAME: SUEA2DF - SU version of (an)elastic anisotropic 2D finite difference | ||
| 8 | AUTHOR: Juan Lorenzo (Perl module only) | ||
| 9 | DATE: | ||
| 10 | DESCRIPTION: | ||
| 11 | Version: | ||
| 12 | |||
| 13 | =head2 USE | ||
| 14 | |||
| 15 | =head3 NOTES | ||
| 16 | |||
| 17 | =head4 Examples | ||
| 18 | |||
| 19 | =head3 SEISMIC UNIX NOTES | ||
| 20 | |||
| 21 | SUEA2DF - SU version of (an)elastic anisotropic 2D finite difference | ||
| 22 | forward modeling, 4th order in space | ||
| 23 | |||
| 24 | suea2df > outfile c11file= c55file= [optional parameters] | ||
| 25 | |||
| 26 | Required Parameters: | ||
| 27 | c11file=c11_file c11 voigt elasticity parameter filename | ||
| 28 | c55file=c55_file c55 voigt elasticity parameter filename | ||
| 29 | |||
| 30 | Optional Parameters: | ||
| 31 | rhofile=rho_file density filename | ||
| 32 | (if rhofile is not set, rho=1000 is assumed) | ||
| 33 | Anisotropy parameters: | ||
| 34 | aniso=0 =1 - include anisotropy parameters | ||
| 35 | mode=0 =0 output particle velocity, =1 output stresses | ||
| 36 | (snapshots only) | ||
| 37 | |||
| 38 | ... the next 3 parameters become active only when aniso=1.... | ||
| 39 | c13file=c13_file c13 voigt elasticity parameter filename | ||
| 40 | c33file=c33_file c33 voigt elasticity parameter filename | ||
| 41 | c15file=c15_file c15 voigt elasticity parameter filename | ||
| 42 | c35file=c35_file c35 voigt elasticity parameter filename | ||
| 43 | |||
| 44 | Attenuation parameters: | ||
| 45 | qsw=0 switch to include attenuation =1 - include | ||
| 46 | ... the next parameter becomes active only when qsw=1.... | ||
| 47 | qfile=Q_file Q parameter filename | ||
| 48 | |||
| 49 | dt=0.001 time sampling interval (s) | ||
| 50 | ft=0.0 first time (s) | ||
| 51 | lt=1.0 last time (s) | ||
| 52 | |||
| 53 | nx=200 number of values in slow (x-direction) | ||
| 54 | dx=10.0 spatial sampling interval (m) x-coor | ||
| 55 | fx=-1000 first x coor (m) | ||
| 56 | |||
| 57 | nz=100 number of values in fast (z)-dimension | ||
| 58 | dz=dx spatial sampling interval (m) z-coor | ||
| 59 | fz=0 firstz coor (m) | ||
| 60 | |||
| 61 | Source parameters: | ||
| 62 | sx=0 source x position (m) | ||
| 63 | sz=500 source location (m) | ||
| 64 | stype='p' source type | ||
| 65 | p: P-wave | ||
| 66 | v: velocity | ||
| 67 | pw: P plane-wave | ||
| 68 | sang=0 for stype='pw': plane wave angle | ||
| 69 | wtype='dg' wave type | ||
| 70 | dg: Gaussian derivative | ||
| 71 | ga: Gaussian | ||
| 72 | ri: Ricker | ||
| 73 | sp: spike, sp2: double spike | ||
| 74 | ts=0.05 source duration (s) | ||
| 75 | favg=50 source average frequency | ||
| 76 | |||
| 77 | Attenuation parameters: | ||
| 78 | qsw=0 switch to include attenuation =1 - include | ||
| 79 | |||
| 80 | Boundary condition parameters: | ||
| 81 | bc=10,10,10,10 Top,left,bottom,right boundary condition | ||
| 82 | =0 none | ||
| 83 | =1 symmetry | ||
| 84 | =2 free surface (top only) | ||
| 85 | >2 absorbing (value indicates width of absorbing | ||
| 86 | layer | ||
| 87 | bc_a=0.95; bc initial taper value for absorbing boundary | ||
| 88 | bc_r=0.; bc exponential factor for absorbing boundary | ||
| 89 | variables are scaled by bc_a*pow(i,-bc_r) | ||
| 90 | |||
| 91 | Optional output parameters: | ||
| 92 | sofile= name of source file | ||
| 93 | snfile= name of file containing for snapshots | ||
| 94 | snaptime= times of snapshots i.e. snaptime=0.1,0.2,0.3 | ||
| 95 | |||
| 96 | vsx= x coordinate of vertical line of seismograms | ||
| 97 | hsz= z coordinate of horizontal line of seismograms | ||
| 98 | vrslfile="vsp.su" output file for vertical line of seismograms[nz][nt] | ||
| 99 | hsfile="hs.su" output file for horizontal line of seismograms[nx][nt] | ||
| 100 | tsw=0 switch to use shear stress only in non-fluid | ||
| 101 | media - may help reduce dispersion tsw=1. If | ||
| 102 | tsw=0 then standard calculation | ||
| 103 | verbose=0 =1 to print progress on screen | ||
| 104 | |||
| 105 | Notes: | ||
| 106 | 1) The outfile contains information generated by the input parameters, | ||
| 107 | such as memory allocation, stability, etc. If your input file does | ||
| 108 | not work, check this file first. | ||
| 109 | |||
| 110 | The model is specified as binary files of stiffness parameters and | ||
| 111 | densities. These may be created any way the user desires. The program | ||
| 112 | unif2 or makevel may be used to generate densities, and the program | ||
| 113 | unif2aniso may be used to generate the stiffnesses. You will need to | ||
| 114 | transpose these files (stiffnesses and densities), as the input | ||
| 115 | format for suea2df assumes that the fast dimesion is the horizontal or | ||
| 116 | the x-dimension. You may do this via | ||
| 117 | |||
| 118 | transp n1=nz < c11_file > transp_c11_file | ||
| 119 | |||
| 120 | If aniso=1 then the program will expect the additional stiffnesss files. | ||
| 121 | |||
| 122 | If qsw=1 unif2anis can be used to generate the Q values on a grid | ||
| 123 | These value also need to be transposed, as with the stiffnesses. | ||
| 124 | |||
| 125 | Output files (always generated) | ||
| 126 | hsfile | ||
| 127 | vrslfile | ||
| 128 | hsfile.chd - header for hsfile | ||
| 129 | vrslfile.chd - header for vrslfile | ||
| 130 | hsfile.mod - model file | ||
| 131 | |||
| 132 | Output files (if requested) | ||
| 133 | sofile - ascii source file | ||
| 134 | snfile - su format snapshots file | ||
| 135 | |||
| 136 | Caveat: | ||
| 137 | A common error in using this program is to compute stiffnesses with | ||
| 138 | a specified density, but forget to specify this density as the rhofile. | ||
| 139 | |||
| 140 | |||
| 141 | Credits: UU GEOPHY Chris Juhlin 15 May 1999 | ||
| 142 | Copyright (c) Uppsala University, 1998. | ||
| 143 | All rights reserved. | ||
| 144 | Parts of program use Seismic Unix Package - CSM | ||
| 145 | Changes - C. Juhlin | ||
| 146 | |||
| 147 | 1. Fixed upgrading of stresses. There was an error in the coding for | ||
| 148 | the Tzz term, c15 was being used instead of c35. This only caused | ||
| 149 | problems for dipping anisotropic layers | ||
| 150 | |||
| 151 | 2. Added some header information for hutput of snapshots. | ||
| 152 | |||
| 153 | 3. 2001-01-30: Added option to set absorbing bc constants bc_a and bc_r | ||
| 154 | |||
| 155 | 4. 2001-02-23: Corrected bug in outputting model boundaries to standard | ||
| 156 | output in | ||
| 157 | routine get_econst | ||
| 158 | |||
| 159 | 5. 2001-04-26: Added option for updating velocities to only use | ||
| 160 | shear stress if material is non-fluid, this appears to reduce dispersion at | ||
| 161 | near grazing angles for fluid-solid boundary. Set tsw=1 to invoke | ||
| 162 | |||
| 163 | 6. 2001-05-14: Changed loop in free-surface boundary condition for velocties | ||
| 164 | Thanks goes to Mike Holzrichter for pointing out this problem and the wrong | ||
| 165 | scaling factor in the updating. | ||
| 166 | |||
| 167 | 7. 2001-05-16: Changed set_layers function to avoid negative indexing. | ||
| 168 | Thanks goes to Mike Holzrichter for pointing out this problem | ||
| 169 | |||
| 170 | 8. 2001-05-17: Modified make_seis to take into account VSP geometry | ||
| 171 | correctly and not store unnecessary data. | ||
| 172 | |||
| 173 | 9. 2001-08-21: Fixed set_layers so mode fills properly in depth. Earlier | ||
| 174 | versions were accessing incorrect array locations at last defined depth. | ||
| 175 | |||
| 176 | 10. 2003-04-21: Fixed boundary conditions. | ||
| 177 | |||
| 178 | 11. 2003-05-02: Extended the model area by half the grid spacing on the RHS. | ||
| 179 | This makes the model area symmetric allowing a plane wave source to be | ||
| 180 | introduced into the model (stype=pw). The w, txx and tzz grids contain now | ||
| 181 | one more column than the u and txz grids. | ||
| 182 | |||
| 183 | 12. 2003-05-02: Added routines to allow plane waves to be introduced at a | ||
| 184 | specified angle (sang) into the model with functions add_pw_source_V and | ||
| 185 | add_pw_source_S. | ||
| 186 | |||
| 187 | 13. 15 Oct 2005 -- tossed all the model building stuff. Read models | ||
| 188 | from binary files made by unif2aniso (CWP:John Stockwell) | ||
| 189 | |||
| 190 | 14. 25 Feb 2008 -- Fixed attenutation option (qsw=1) so that Q values are | ||
| 191 | from binary files made by makevel or similar program | ||
| 192 | |||
| 193 | 15. 1 April 2010 -- Changed free surface velocity BC back to original. | ||
| 194 | Someone had changed the scaling factor from 2.0 to 0.5 in fs4v_bc_top | ||
| 195 | |||
| 196 | Algorithm based on Juhlin (1995, Geophys. Prosp.) | ||
| 197 | and Levander (1988, Geophysics) | ||
| 198 | Attenuation included as in Graves (1996, BSSA) | ||
| 199 | |||
| 200 | |||
| 201 | |||
| 202 | =head2 CHANGES and their DATES | ||
| 203 | |||
| 204 | =cut | ||
| 205 | |||
| 206 | use Moose; | ||
| 207 | our $VERSION = '0.0.1'; | ||
| 208 | use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants'; | ||
| 209 | |||
| 210 | my $get = L_SU_global_constants->new(); | ||
| 211 | |||
| 212 | my $var = $get->var(); | ||
| 213 | my $empty_string = $var->{_empty_string}; | ||
| 214 | |||
| 215 | my $suea2df = { | ||
| 216 | _aniso => '', | ||
| 217 | _asw => '', | ||
| 218 | _bc => '', | ||
| 219 | _bc_a => '', | ||
| 220 | _bc_r => '', | ||
| 221 | _c11file => '', | ||
| 222 | _c13file => '', | ||
| 223 | _c15file => '', | ||
| 224 | _c33file => '', | ||
| 225 | _c35file => '', | ||
| 226 | _c55file => '', | ||
| 227 | _dt => '', | ||
| 228 | _dx => '', | ||
| 229 | _dz => '', | ||
| 230 | _favg => '', | ||
| 231 | _ft => '', | ||
| 232 | _fx => '', | ||
| 233 | _fz => '', | ||
| 234 | _hsfile => '', | ||
| 235 | _hsz => '', | ||
| 236 | _lt => '', | ||
| 237 | _mode => '', | ||
| 238 | _nx => '', | ||
| 239 | _nz => '', | ||
| 240 | _qfile => '', | ||
| 241 | _qsw => '', | ||
| 242 | _rho => '', | ||
| 243 | _rhofile => '', | ||
| 244 | _sang => '', | ||
| 245 | _snaptime => '', | ||
| 246 | _snfile => '', | ||
| 247 | _sofile => '', | ||
| 248 | _stype => '', | ||
| 249 | _sx => '', | ||
| 250 | _sz => '', | ||
| 251 | _ts => '', | ||
| 252 | _tsw => '', | ||
| 253 | _verbose => '', | ||
| 254 | _vrslfile => '', | ||
| 255 | _vsx => '', | ||
| 256 | _wtype => '', | ||
| 257 | _Step => '', | ||
| 258 | _note => '', | ||
| 259 | }; | ||
| 260 | |||
| 261 | =head2 sub Step | ||
| 262 | |||
| 263 | collects switches and assembles bash instructions | ||
| 264 | by adding the program name | ||
| 265 | |||
| 266 | suea2df reads anisotropy files locally wherever the executable | ||
| 267 | is run | ||
| 268 | |||
| 269 | =cut | ||
| 270 | |||
| 271 | sub Step { | ||
| 272 | use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config'; | ||
| 273 | |||
| 274 | my $Project = Project_config->new(); | ||
| 275 | |||
| 276 | my $PL_SEISMIC = $Project->PL_SEISMIC(); | ||
| 277 | |||
| 278 | $suea2df->{_Step} ="cd $PL_SEISMIC \n".'suea2df' . $suea2df->{_Step}; | ||
| 279 | return ( $suea2df->{_Step} ); | ||
| 280 | |||
| 281 | } | ||
| 282 | |||
| 283 | =head2 sub note | ||
| 284 | |||
| 285 | collects switches and assembles bash instructions | ||
| 286 | by adding the program name | ||
| 287 | |||
| 288 | =cut | ||
| 289 | |||
| 290 | sub note { | ||
| 291 | |||
| 292 | $suea2df->{_note} = 'suea2df' . $suea2df->{_note}; | ||
| 293 | return ( $suea2df->{_note} ); | ||
| 294 | |||
| 295 | } | ||
| 296 | |||
| 297 | =head2 sub clear | ||
| 298 | |||
| 299 | =cut | ||
| 300 | |||
| 301 | sub clear { | ||
| 302 | |||
| 303 | $suea2df->{_aniso} = ''; | ||
| 304 | $suea2df->{_asw} = ''; | ||
| 305 | $suea2df->{_bc} = ''; | ||
| 306 | $suea2df->{_bc_a} = ''; | ||
| 307 | $suea2df->{_bc_r} = ''; | ||
| 308 | $suea2df->{_c11file} = ''; | ||
| 309 | $suea2df->{_c13file} = ''; | ||
| 310 | $suea2df->{_c15file} = ''; | ||
| 311 | $suea2df->{_c33file} = ''; | ||
| 312 | $suea2df->{_c35file} = ''; | ||
| 313 | $suea2df->{_c55file} = ''; | ||
| 314 | $suea2df->{_dt} = ''; | ||
| 315 | $suea2df->{_dx} = ''; | ||
| 316 | $suea2df->{_dz} = ''; | ||
| 317 | $suea2df->{_favg} = ''; | ||
| 318 | $suea2df->{_ft} = ''; | ||
| 319 | $suea2df->{_fx} = ''; | ||
| 320 | $suea2df->{_fz} = ''; | ||
| 321 | $suea2df->{_hsfile} = ''; | ||
| 322 | $suea2df->{_hsz} = ''; | ||
| 323 | $suea2df->{_lt} = ''; | ||
| 324 | $suea2df->{_mode} = ''; | ||
| 325 | $suea2df->{_nx} = ''; | ||
| 326 | $suea2df->{_nz} = ''; | ||
| 327 | $suea2df->{_qfile} = ''; | ||
| 328 | $suea2df->{_qsw} = ''; | ||
| 329 | $suea2df->{_rho} = ''; | ||
| 330 | $suea2df->{_rhofile} = ''; | ||
| 331 | $suea2df->{_sang} = ''; | ||
| 332 | $suea2df->{_snaptime} = ''; | ||
| 333 | $suea2df->{_snfile} = ''; | ||
| 334 | $suea2df->{_sofile} = ''; | ||
| 335 | $suea2df->{_stype} = ''; | ||
| 336 | $suea2df->{_sx} = ''; | ||
| 337 | $suea2df->{_sz} = ''; | ||
| 338 | $suea2df->{_ts} = ''; | ||
| 339 | $suea2df->{_tsw} = ''; | ||
| 340 | $suea2df->{_verbose} = ''; | ||
| 341 | $suea2df->{_vrslfile} = ''; | ||
| 342 | $suea2df->{_vsx} = ''; | ||
| 343 | $suea2df->{_wtype} = ''; | ||
| 344 | $suea2df->{_Step} = ''; | ||
| 345 | $suea2df->{_note} = ''; | ||
| 346 | } | ||
| 347 | |||
| 348 | =head2 sub aniso | ||
| 349 | |||
| 350 | |||
| 351 | =cut | ||
| 352 | |||
| 353 | sub aniso { | ||
| 354 | |||
| 355 | my ( $self, $aniso ) = @_; | ||
| 356 | if ( $aniso ne $empty_string ) { | ||
| 357 | |||
| 358 | $suea2df->{_aniso} = $aniso; | ||
| 359 | $suea2df->{_note} = | ||
| 360 | $suea2df->{_note} . ' aniso=' . $suea2df->{_aniso}; | ||
| 361 | $suea2df->{_Step} = | ||
| 362 | $suea2df->{_Step} . ' aniso=' . $suea2df->{_aniso}; | ||
| 363 | |||
| 364 | } | ||
| 365 | else { | ||
| 366 | print("suea2df, aniso, missing aniso,\n"); | ||
| 367 | } | ||
| 368 | } | ||
| 369 | |||
| 370 | =head2 sub asw | ||
| 371 | |||
| 372 | |||
| 373 | =cut | ||
| 374 | |||
| 375 | sub asw { | ||
| 376 | |||
| 377 | my ( $self, $asw ) = @_; | ||
| 378 | if ( $asw ne $empty_string ) { | ||
| 379 | |||
| 380 | $suea2df->{_asw} = $asw; | ||
| 381 | $suea2df->{_note} = | ||
| 382 | $suea2df->{_note} . ' asw=' . $suea2df->{_asw}; | ||
| 383 | $suea2df->{_Step} = | ||
| 384 | $suea2df->{_Step} . ' asw=' . $suea2df->{_asw}; | ||
| 385 | |||
| 386 | } | ||
| 387 | else { | ||
| 388 | print("suea2df, asw, missing asw,\n"); | ||
| 389 | } | ||
| 390 | } | ||
| 391 | |||
| 392 | =head2 sub bc | ||
| 393 | |||
| 394 | |||
| 395 | =cut | ||
| 396 | |||
| 397 | sub bc { | ||
| 398 | |||
| 399 | my ( $self, $bc ) = @_; | ||
| 400 | if ( $bc ne $empty_string ) { | ||
| 401 | |||
| 402 | $suea2df->{_bc} = $bc; | ||
| 403 | $suea2df->{_note} = $suea2df->{_note} . ' bc=' . $suea2df->{_bc}; | ||
| 404 | $suea2df->{_Step} = $suea2df->{_Step} . ' bc=' . $suea2df->{_bc}; | ||
| 405 | |||
| 406 | } | ||
| 407 | else { | ||
| 408 | print("suea2df, bc, missing bc,\n"); | ||
| 409 | } | ||
| 410 | } | ||
| 411 | |||
| 412 | =head2 sub bc_a | ||
| 413 | |||
| 414 | |||
| 415 | =cut | ||
| 416 | |||
| 417 | sub bc_a { | ||
| 418 | |||
| 419 | my ( $self, $bc_a ) = @_; | ||
| 420 | if ( $bc_a ne $empty_string ) { | ||
| 421 | |||
| 422 | $suea2df->{_bc_a} = $bc_a; | ||
| 423 | $suea2df->{_note} = $suea2df->{_note} . ' bc_a=' . $suea2df->{_bc_a}; | ||
| 424 | $suea2df->{_Step} = $suea2df->{_Step} . ' bc_a=' . $suea2df->{_bc_a}; | ||
| 425 | |||
| 426 | } | ||
| 427 | else { | ||
| 428 | print("suea2df, bc_a, missing bc_a,\n"); | ||
| 429 | } | ||
| 430 | } | ||
| 431 | |||
| 432 | =head2 sub bc_r | ||
| 433 | |||
| 434 | |||
| 435 | =cut | ||
| 436 | |||
| 437 | sub bc_r { | ||
| 438 | |||
| 439 | my ( $self, $bc_r ) = @_; | ||
| 440 | if ( $bc_r ne $empty_string ) { | ||
| 441 | |||
| 442 | $suea2df->{_bc_r} = $bc_r; | ||
| 443 | $suea2df->{_note} = $suea2df->{_note} . ' bc_r=' . $suea2df->{_bc_r}; | ||
| 444 | $suea2df->{_Step} = $suea2df->{_Step} . ' bc_r=' . $suea2df->{_bc_r}; | ||
| 445 | |||
| 446 | } | ||
| 447 | else { | ||
| 448 | print("suea2df, bc_r, missing bc_r,\n"); | ||
| 449 | } | ||
| 450 | } | ||
| 451 | |||
| 452 | =head2 sub c11file | ||
| 453 | |||
| 454 | |||
| 455 | =cut | ||
| 456 | |||
| 457 | sub c11file { | ||
| 458 | |||
| 459 | my ( $self, $c11file ) = @_; | ||
| 460 | if ( $c11file ne $empty_string ) { | ||
| 461 | |||
| 462 | $suea2df->{_c11file} = $c11file; | ||
| 463 | $suea2df->{_note} = | ||
| 464 | $suea2df->{_note} . ' c11file=' . $suea2df->{_c11file}; | ||
| 465 | $suea2df->{_Step} = | ||
| 466 | $suea2df->{_Step} . ' c11file=' . $suea2df->{_c11file}; | ||
| 467 | |||
| 468 | } | ||
| 469 | else { | ||
| 470 | print("suea2df, c11file, missing c11file,\n"); | ||
| 471 | } | ||
| 472 | } | ||
| 473 | |||
| 474 | =head2 sub c13file | ||
| 475 | |||
| 476 | |||
| 477 | =cut | ||
| 478 | |||
| 479 | sub c13file { | ||
| 480 | |||
| 481 | my ( $self, $c13file ) = @_; | ||
| 482 | if ( $c13file ne $empty_string ) { | ||
| 483 | |||
| 484 | $suea2df->{_c13file} = $c13file; | ||
| 485 | $suea2df->{_note} = | ||
| 486 | $suea2df->{_note} . ' c13file=' . $suea2df->{_c13file}; | ||
| 487 | $suea2df->{_Step} = | ||
| 488 | $suea2df->{_Step} . ' c13file=' . $suea2df->{_c13file}; | ||
| 489 | |||
| 490 | } | ||
| 491 | else { | ||
| 492 | print("suea2df, c13file, missing c13file,\n"); | ||
| 493 | } | ||
| 494 | } | ||
| 495 | |||
| 496 | =head2 sub c15file | ||
| 497 | |||
| 498 | |||
| 499 | =cut | ||
| 500 | |||
| 501 | sub c15file { | ||
| 502 | |||
| 503 | my ( $self, $c15file ) = @_; | ||
| 504 | if ( $c15file ne $empty_string ) { | ||
| 505 | |||
| 506 | $suea2df->{_c15file} = $c15file; | ||
| 507 | $suea2df->{_note} = | ||
| 508 | $suea2df->{_note} . ' c15file=' . $suea2df->{_c15file}; | ||
| 509 | $suea2df->{_Step} = | ||
| 510 | $suea2df->{_Step} . ' c15file=' . $suea2df->{_c15file}; | ||
| 511 | |||
| 512 | } | ||
| 513 | else { | ||
| 514 | print("suea2df, c15file, missing c15file,\n"); | ||
| 515 | } | ||
| 516 | } | ||
| 517 | |||
| 518 | =head2 sub c33file | ||
| 519 | |||
| 520 | |||
| 521 | =cut | ||
| 522 | |||
| 523 | sub c33file { | ||
| 524 | |||
| 525 | my ( $self, $c33file ) = @_; | ||
| 526 | if ( $c33file ne $empty_string ) { | ||
| 527 | |||
| 528 | $suea2df->{_c33file} = $c33file; | ||
| 529 | $suea2df->{_note} = | ||
| 530 | $suea2df->{_note} . ' c33file=' . $suea2df->{_c33file}; | ||
| 531 | $suea2df->{_Step} = | ||
| 532 | $suea2df->{_Step} . ' c33file=' . $suea2df->{_c33file}; | ||
| 533 | |||
| 534 | } | ||
| 535 | else { | ||
| 536 | print("suea2df, c33file, missing c33file,\n"); | ||
| 537 | } | ||
| 538 | } | ||
| 539 | |||
| 540 | =head2 sub c35file | ||
| 541 | |||
| 542 | |||
| 543 | =cut | ||
| 544 | |||
| 545 | sub c35file { | ||
| 546 | |||
| 547 | my ( $self, $c35file ) = @_; | ||
| 548 | if ( $c35file ne $empty_string ) { | ||
| 549 | |||
| 550 | $suea2df->{_c35file} = $c35file; | ||
| 551 | $suea2df->{_note} = | ||
| 552 | $suea2df->{_note} . ' c35file=' . $suea2df->{_c35file}; | ||
| 553 | $suea2df->{_Step} = | ||
| 554 | $suea2df->{_Step} . ' c35file=' . $suea2df->{_c35file}; | ||
| 555 | |||
| 556 | } | ||
| 557 | else { | ||
| 558 | print("suea2df, c35file, missing c35file,\n"); | ||
| 559 | } | ||
| 560 | } | ||
| 561 | |||
| 562 | =head2 sub c55file | ||
| 563 | |||
| 564 | |||
| 565 | =cut | ||
| 566 | |||
| 567 | sub c55file { | ||
| 568 | |||
| 569 | my ( $self, $c55file ) = @_; | ||
| 570 | if ( $c55file ne $empty_string ) { | ||
| 571 | |||
| 572 | $suea2df->{_c55file} = $c55file; | ||
| 573 | $suea2df->{_note} = | ||
| 574 | $suea2df->{_note} . ' c55file=' . $suea2df->{_c55file}; | ||
| 575 | $suea2df->{_Step} = | ||
| 576 | $suea2df->{_Step} . ' c55file=' . $suea2df->{_c55file}; | ||
| 577 | |||
| 578 | } | ||
| 579 | else { | ||
| 580 | print("suea2df, c55file, missing c55file,\n"); | ||
| 581 | } | ||
| 582 | } | ||
| 583 | |||
| 584 | =head2 sub dt | ||
| 585 | |||
| 586 | |||
| 587 | =cut | ||
| 588 | |||
| 589 | sub dt { | ||
| 590 | |||
| 591 | my ( $self, $dt ) = @_; | ||
| 592 | if ( $dt ne $empty_string ) { | ||
| 593 | |||
| 594 | $suea2df->{_dt} = $dt; | ||
| 595 | $suea2df->{_note} = $suea2df->{_note} . ' dt=' . $suea2df->{_dt}; | ||
| 596 | $suea2df->{_Step} = $suea2df->{_Step} . ' dt=' . $suea2df->{_dt}; | ||
| 597 | |||
| 598 | } | ||
| 599 | else { | ||
| 600 | print("suea2df, dt, missing dt,\n"); | ||
| 601 | } | ||
| 602 | } | ||
| 603 | |||
| 604 | =head2 sub dx | ||
| 605 | |||
| 606 | |||
| 607 | =cut | ||
| 608 | |||
| 609 | sub dx { | ||
| 610 | |||
| 611 | my ( $self, $dx ) = @_; | ||
| 612 | if ( $dx ne $empty_string ) { | ||
| 613 | |||
| 614 | $suea2df->{_dx} = $dx; | ||
| 615 | $suea2df->{_note} = $suea2df->{_note} . ' dx=' . $suea2df->{_dx}; | ||
| 616 | $suea2df->{_Step} = $suea2df->{_Step} . ' dx=' . $suea2df->{_dx}; | ||
| 617 | |||
| 618 | } | ||
| 619 | else { | ||
| 620 | print("suea2df, dx, missing dx,\n"); | ||
| 621 | } | ||
| 622 | } | ||
| 623 | |||
| 624 | =head2 sub dz | ||
| 625 | |||
| 626 | |||
| 627 | =cut | ||
| 628 | |||
| 629 | sub dz { | ||
| 630 | |||
| 631 | my ( $self, $dz ) = @_; | ||
| 632 | if ( $dz ne $empty_string ) { | ||
| 633 | |||
| 634 | $suea2df->{_dz} = $dz; | ||
| 635 | $suea2df->{_note} = $suea2df->{_note} . ' dz=' . $suea2df->{_dz}; | ||
| 636 | $suea2df->{_Step} = $suea2df->{_Step} . ' dz=' . $suea2df->{_dz}; | ||
| 637 | |||
| 638 | } | ||
| 639 | else { | ||
| 640 | print("suea2df, dz, missing dz,\n"); | ||
| 641 | } | ||
| 642 | } | ||
| 643 | |||
| 644 | =head2 sub favg | ||
| 645 | |||
| 646 | |||
| 647 | =cut | ||
| 648 | |||
| 649 | sub favg { | ||
| 650 | |||
| 651 | my ( $self, $favg ) = @_; | ||
| 652 | if ( $favg ne $empty_string ) { | ||
| 653 | |||
| 654 | $suea2df->{_favg} = $favg; | ||
| 655 | $suea2df->{_note} = $suea2df->{_note} . ' favg=' . $suea2df->{_favg}; | ||
| 656 | $suea2df->{_Step} = $suea2df->{_Step} . ' favg=' . $suea2df->{_favg}; | ||
| 657 | |||
| 658 | } | ||
| 659 | else { | ||
| 660 | print("suea2df, favg, missing favg,\n"); | ||
| 661 | } | ||
| 662 | } | ||
| 663 | |||
| 664 | =head2 sub ft | ||
| 665 | |||
| 666 | |||
| 667 | =cut | ||
| 668 | |||
| 669 | sub ft { | ||
| 670 | |||
| 671 | my ( $self, $ft ) = @_; | ||
| 672 | if ( $ft ne $empty_string ) { | ||
| 673 | |||
| 674 | $suea2df->{_ft} = $ft; | ||
| 675 | $suea2df->{_note} = $suea2df->{_note} . ' ft=' . $suea2df->{_ft}; | ||
| 676 | $suea2df->{_Step} = $suea2df->{_Step} . ' ft=' . $suea2df->{_ft}; | ||
| 677 | |||
| 678 | } | ||
| 679 | else { | ||
| 680 | print("suea2df, ft, missing ft,\n"); | ||
| 681 | } | ||
| 682 | } | ||
| 683 | |||
| 684 | =head2 sub fx | ||
| 685 | |||
| 686 | |||
| 687 | =cut | ||
| 688 | |||
| 689 | sub fx { | ||
| 690 | |||
| 691 | my ( $self, $fx ) = @_; | ||
| 692 | if ( $fx ne $empty_string ) { | ||
| 693 | |||
| 694 | $suea2df->{_fx} = $fx; | ||
| 695 | $suea2df->{_note} = $suea2df->{_note} . ' fx=' . $suea2df->{_fx}; | ||
| 696 | $suea2df->{_Step} = $suea2df->{_Step} . ' fx=' . $suea2df->{_fx}; | ||
| 697 | |||
| 698 | } | ||
| 699 | else { | ||
| 700 | print("suea2df, fx, missing fx,\n"); | ||
| 701 | } | ||
| 702 | } | ||
| 703 | |||
| 704 | =head2 sub fz | ||
| 705 | |||
| 706 | |||
| 707 | =cut | ||
| 708 | |||
| 709 | sub fz { | ||
| 710 | |||
| 711 | my ( $self, $fz ) = @_; | ||
| 712 | if ( $fz ne $empty_string ) { | ||
| 713 | |||
| 714 | $suea2df->{_fz} = $fz; | ||
| 715 | $suea2df->{_note} = $suea2df->{_note} . ' fz=' . $suea2df->{_fz}; | ||
| 716 | $suea2df->{_Step} = $suea2df->{_Step} . ' fz=' . $suea2df->{_fz}; | ||
| 717 | |||
| 718 | } | ||
| 719 | else { | ||
| 720 | print("suea2df, fz, missing fz,\n"); | ||
| 721 | } | ||
| 722 | } | ||
| 723 | |||
| 724 | =head2 sub hsfile | ||
| 725 | |||
| 726 | |||
| 727 | =cut | ||
| 728 | |||
| 729 | sub hsfile { | ||
| 730 | |||
| 731 | my ( $self, $hsfile ) = @_; | ||
| 732 | if ( $hsfile ne $empty_string ) { | ||
| 733 | |||
| 734 | $suea2df->{_hsfile} = $hsfile; | ||
| 735 | $suea2df->{_note} = | ||
| 736 | $suea2df->{_note} . ' hsfile=' . $suea2df->{_hsfile}; | ||
| 737 | $suea2df->{_Step} = | ||
| 738 | $suea2df->{_Step} . ' hsfile=' . $suea2df->{_hsfile}; | ||
| 739 | |||
| 740 | } | ||
| 741 | else { | ||
| 742 | print("suea2df, hsfile, missing hsfile,\n"); | ||
| 743 | } | ||
| 744 | } | ||
| 745 | |||
| 746 | =head2 sub hsz | ||
| 747 | |||
| 748 | |||
| 749 | =cut | ||
| 750 | |||
| 751 | sub hsz { | ||
| 752 | |||
| 753 | my ( $self, $hsz ) = @_; | ||
| 754 | if ( $hsz ne $empty_string ) { | ||
| 755 | |||
| 756 | $suea2df->{_hsz} = $hsz; | ||
| 757 | $suea2df->{_note} = $suea2df->{_note} . ' hsz=' . $suea2df->{_hsz}; | ||
| 758 | $suea2df->{_Step} = $suea2df->{_Step} . ' hsz=' . $suea2df->{_hsz}; | ||
| 759 | |||
| 760 | } | ||
| 761 | else { | ||
| 762 | print("suea2df, hsz, missing hsz,\n"); | ||
| 763 | } | ||
| 764 | } | ||
| 765 | |||
| 766 | =head2 sub lt | ||
| 767 | |||
| 768 | |||
| 769 | =cut | ||
| 770 | |||
| 771 | sub lt { | ||
| 772 | |||
| 773 | my ( $self, $lt ) = @_; | ||
| 774 | if ( $lt ne $empty_string ) { | ||
| 775 | |||
| 776 | $suea2df->{_lt} = $lt; | ||
| 777 | $suea2df->{_note} = $suea2df->{_note} . ' lt=' . $suea2df->{_lt}; | ||
| 778 | $suea2df->{_Step} = $suea2df->{_Step} . ' lt=' . $suea2df->{_lt}; | ||
| 779 | |||
| 780 | } | ||
| 781 | else { | ||
| 782 | print("suea2df, lt, missing lt,\n"); | ||
| 783 | } | ||
| 784 | } | ||
| 785 | |||
| 786 | =head2 sub mode | ||
| 787 | |||
| 788 | |||
| 789 | =cut | ||
| 790 | |||
| 791 | sub mode { | ||
| 792 | |||
| 793 | my ( $self, $mode ) = @_; | ||
| 794 | if ( $mode ne $empty_string ) { | ||
| 795 | |||
| 796 | $suea2df->{_mode} = $mode; | ||
| 797 | $suea2df->{_note} = $suea2df->{_note} . ' mode=' . $suea2df->{_mode}; | ||
| 798 | $suea2df->{_Step} = $suea2df->{_Step} . ' mode=' . $suea2df->{_mode}; | ||
| 799 | |||
| 800 | } | ||
| 801 | else { | ||
| 802 | print("suea2df, mode, missing mode,\n"); | ||
| 803 | } | ||
| 804 | } | ||
| 805 | |||
| 806 | =head2 sub nx | ||
| 807 | |||
| 808 | |||
| 809 | =cut | ||
| 810 | |||
| 811 | sub nx { | ||
| 812 | |||
| 813 | my ( $self, $nx ) = @_; | ||
| 814 | if ( $nx ne $empty_string ) { | ||
| 815 | |||
| 816 | $suea2df->{_nx} = $nx; | ||
| 817 | $suea2df->{_note} = $suea2df->{_note} . ' nx=' . $suea2df->{_nx}; | ||
| 818 | $suea2df->{_Step} = $suea2df->{_Step} . ' nx=' . $suea2df->{_nx}; | ||
| 819 | |||
| 820 | } | ||
| 821 | else { | ||
| 822 | print("suea2df, nx, missing nx,\n"); | ||
| 823 | } | ||
| 824 | } | ||
| 825 | |||
| 826 | =head2 sub nz | ||
| 827 | |||
| 828 | |||
| 829 | =cut | ||
| 830 | |||
| 831 | sub nz { | ||
| 832 | |||
| 833 | my ( $self, $nz ) = @_; | ||
| 834 | if ( $nz ne $empty_string ) { | ||
| 835 | |||
| 836 | $suea2df->{_nz} = $nz; | ||
| 837 | $suea2df->{_note} = $suea2df->{_note} . ' nz=' . $suea2df->{_nz}; | ||
| 838 | $suea2df->{_Step} = $suea2df->{_Step} . ' nz=' . $suea2df->{_nz}; | ||
| 839 | |||
| 840 | } | ||
| 841 | else { | ||
| 842 | print("suea2df, nz, missing nz,\n"); | ||
| 843 | } | ||
| 844 | } | ||
| 845 | |||
| 846 | =head2 sub qfile | ||
| 847 | |||
| 848 | |||
| 849 | =cut | ||
| 850 | |||
| 851 | sub qfile { | ||
| 852 | |||
| 853 | my ( $self, $qfile ) = @_; | ||
| 854 | if ( $qfile ne $empty_string ) { | ||
| 855 | |||
| 856 | $suea2df->{_qfile} = $qfile; | ||
| 857 | $suea2df->{_note} = | ||
| 858 | $suea2df->{_note} . ' qfile=' . $suea2df->{_qfile}; | ||
| 859 | $suea2df->{_Step} = | ||
| 860 | $suea2df->{_Step} . ' qfile=' . $suea2df->{_qfile}; | ||
| 861 | |||
| 862 | } | ||
| 863 | else { | ||
| 864 | print("suea2df, qfile, missing qfile,\n"); | ||
| 865 | } | ||
| 866 | } | ||
| 867 | |||
| 868 | =head2 sub qsw | ||
| 869 | |||
| 870 | |||
| 871 | =cut | ||
| 872 | |||
| 873 | sub qsw { | ||
| 874 | |||
| 875 | my ( $self, $qsw ) = @_; | ||
| 876 | if ( $qsw ne $empty_string ) { | ||
| 877 | |||
| 878 | $suea2df->{_qsw} = $qsw; | ||
| 879 | $suea2df->{_note} = $suea2df->{_note} . ' qsw=' . $suea2df->{_qsw}; | ||
| 880 | $suea2df->{_Step} = $suea2df->{_Step} . ' qsw=' . $suea2df->{_qsw}; | ||
| 881 | |||
| 882 | } | ||
| 883 | else { | ||
| 884 | print("suea2df, qsw, missing qsw,\n"); | ||
| 885 | } | ||
| 886 | } | ||
| 887 | |||
| 888 | =head2 sub rho | ||
| 889 | |||
| 890 | |||
| 891 | =cut | ||
| 892 | |||
| 893 | sub rho { | ||
| 894 | |||
| 895 | my ( $self, $rho ) = @_; | ||
| 896 | if ( $rho ne $empty_string ) { | ||
| 897 | |||
| 898 | $suea2df->{_rho} = $rho; | ||
| 899 | $suea2df->{_note} = $suea2df->{_note} . ' rho=' . $suea2df->{_rho}; | ||
| 900 | $suea2df->{_Step} = $suea2df->{_Step} . ' rho=' . $suea2df->{_rho}; | ||
| 901 | |||
| 902 | } | ||
| 903 | else { | ||
| 904 | print("suea2df, rho, missing rho,\n"); | ||
| 905 | } | ||
| 906 | } | ||
| 907 | |||
| 908 | =head2 sub rhofile | ||
| 909 | |||
| 910 | |||
| 911 | =cut | ||
| 912 | |||
| 913 | sub rhofile { | ||
| 914 | |||
| 915 | my ( $self, $rhofile ) = @_; | ||
| 916 | if ( $rhofile ne $empty_string ) { | ||
| 917 | |||
| 918 | $suea2df->{_rhofile} = $rhofile; | ||
| 919 | $suea2df->{_note} = | ||
| 920 | $suea2df->{_note} . ' rhofile=' . $suea2df->{_rhofile}; | ||
| 921 | $suea2df->{_Step} = | ||
| 922 | $suea2df->{_Step} . ' rhofile=' . $suea2df->{_rhofile}; | ||
| 923 | |||
| 924 | } | ||
| 925 | else { | ||
| 926 | print("suea2df, rhofile, missing rhofile,\n"); | ||
| 927 | } | ||
| 928 | } | ||
| 929 | |||
| 930 | =head2 sub sang | ||
| 931 | |||
| 932 | |||
| 933 | =cut | ||
| 934 | |||
| 935 | sub sang { | ||
| 936 | |||
| 937 | my ( $self, $sang ) = @_; | ||
| 938 | if ( $sang ne $empty_string ) { | ||
| 939 | |||
| 940 | $suea2df->{_sang} = $sang; | ||
| 941 | $suea2df->{_note} = $suea2df->{_note} . ' sang=' . $suea2df->{_sang}; | ||
| 942 | $suea2df->{_Step} = $suea2df->{_Step} . ' sang=' . $suea2df->{_sang}; | ||
| 943 | |||
| 944 | } | ||
| 945 | else { | ||
| 946 | print("suea2df, sang, missing sang,\n"); | ||
| 947 | } | ||
| 948 | } | ||
| 949 | |||
| 950 | =head2 sub snaptime | ||
| 951 | |||
| 952 | |||
| 953 | =cut | ||
| 954 | |||
| 955 | sub snaptime { | ||
| 956 | |||
| 957 | my ( $self, $snaptime ) = @_; | ||
| 958 | if ( $snaptime ne $empty_string ) { | ||
| 959 | |||
| 960 | $suea2df->{_snaptime} = $snaptime; | ||
| 961 | $suea2df->{_note} = | ||
| 962 | $suea2df->{_note} . ' snaptime=' . $suea2df->{_snaptime}; | ||
| 963 | $suea2df->{_Step} = | ||
| 964 | $suea2df->{_Step} . ' snaptime=' . $suea2df->{_snaptime}; | ||
| 965 | |||
| 966 | } | ||
| 967 | else { | ||
| 968 | print("suea2df, snaptime, missing snaptime,\n"); | ||
| 969 | } | ||
| 970 | } | ||
| 971 | |||
| 972 | =head2 sub snfile | ||
| 973 | |||
| 974 | |||
| 975 | =cut | ||
| 976 | |||
| 977 | sub snfile { | ||
| 978 | |||
| 979 | my ( $self, $snfile ) = @_; | ||
| 980 | if ( $snfile ne $empty_string ) { | ||
| 981 | |||
| 982 | $suea2df->{_snfile} = $snfile; | ||
| 983 | $suea2df->{_note} = | ||
| 984 | $suea2df->{_note} . ' snfile=' . $suea2df->{_snfile}; | ||
| 985 | $suea2df->{_Step} = | ||
| 986 | $suea2df->{_Step} . ' snfile=' . $suea2df->{_snfile}; | ||
| 987 | |||
| 988 | } | ||
| 989 | else { | ||
| 990 | print("suea2df, snfile, missing snfile,\n"); | ||
| 991 | } | ||
| 992 | } | ||
| 993 | |||
| 994 | =head2 sub sofile | ||
| 995 | |||
| 996 | |||
| 997 | =cut | ||
| 998 | |||
| 999 | sub sofile { | ||
| 1000 | |||
| 1001 | my ( $self, $sofile ) = @_; | ||
| 1002 | if ( $sofile ne $empty_string ) { | ||
| 1003 | |||
| 1004 | $suea2df->{_sofile} = $sofile; | ||
| 1005 | $suea2df->{_note} = | ||
| 1006 | $suea2df->{_note} . ' sofile=' . $suea2df->{_sofile}; | ||
| 1007 | $suea2df->{_Step} = | ||
| 1008 | $suea2df->{_Step} . ' sofile=' . $suea2df->{_sofile}; | ||
| 1009 | |||
| 1010 | } | ||
| 1011 | else { | ||
| 1012 | print("suea2df, sofile, missing sofile,\n"); | ||
| 1013 | } | ||
| 1014 | } | ||
| 1015 | |||
| 1016 | =head2 sub stype | ||
| 1017 | |||
| 1018 | |||
| 1019 | =cut | ||
| 1020 | |||
| 1021 | sub stype { | ||
| 1022 | |||
| 1023 | my ( $self, $stype ) = @_; | ||
| 1024 | if ( $stype ne $empty_string ) { | ||
| 1025 | |||
| 1026 | $suea2df->{_stype} = $stype; | ||
| 1027 | $suea2df->{_note} = | ||
| 1028 | $suea2df->{_note} . ' stype=' . $suea2df->{_stype}; | ||
| 1029 | $suea2df->{_Step} = | ||
| 1030 | $suea2df->{_Step} . ' stype=' . $suea2df->{_stype}; | ||
| 1031 | |||
| 1032 | } | ||
| 1033 | else { | ||
| 1034 | print("suea2df, stype, missing stype,\n"); | ||
| 1035 | } | ||
| 1036 | } | ||
| 1037 | |||
| 1038 | =head2 sub sx | ||
| 1039 | |||
| 1040 | |||
| 1041 | =cut | ||
| 1042 | |||
| 1043 | sub sx { | ||
| 1044 | |||
| 1045 | my ( $self, $sx ) = @_; | ||
| 1046 | if ( $sx ne $empty_string ) { | ||
| 1047 | |||
| 1048 | $suea2df->{_sx} = $sx; | ||
| 1049 | $suea2df->{_note} = $suea2df->{_note} . ' sx=' . $suea2df->{_sx}; | ||
| 1050 | $suea2df->{_Step} = $suea2df->{_Step} . ' sx=' . $suea2df->{_sx}; | ||
| 1051 | |||
| 1052 | } | ||
| 1053 | else { | ||
| 1054 | print("suea2df, sx, missing sx,\n"); | ||
| 1055 | } | ||
| 1056 | } | ||
| 1057 | |||
| 1058 | =head2 sub sz | ||
| 1059 | |||
| 1060 | |||
| 1061 | =cut | ||
| 1062 | |||
| 1063 | sub sz { | ||
| 1064 | |||
| 1065 | my ( $self, $sz ) = @_; | ||
| 1066 | if ( $sz ne $empty_string ) { | ||
| 1067 | |||
| 1068 | $suea2df->{_sz} = $sz; | ||
| 1069 | $suea2df->{_note} = $suea2df->{_note} . ' sz=' . $suea2df->{_sz}; | ||
| 1070 | $suea2df->{_Step} = $suea2df->{_Step} . ' sz=' . $suea2df->{_sz}; | ||
| 1071 | |||
| 1072 | } | ||
| 1073 | else { | ||
| 1074 | print("suea2df, sz, missing sz,\n"); | ||
| 1075 | } | ||
| 1076 | } | ||
| 1077 | |||
| 1078 | =head2 sub ts | ||
| 1079 | |||
| 1080 | |||
| 1081 | =cut | ||
| 1082 | |||
| 1083 | sub ts { | ||
| 1084 | |||
| 1085 | my ( $self, $ts ) = @_; | ||
| 1086 | if ( $ts ne $empty_string ) { | ||
| 1087 | |||
| 1088 | $suea2df->{_ts} = $ts; | ||
| 1089 | $suea2df->{_note} = $suea2df->{_note} . ' ts=' . $suea2df->{_ts}; | ||
| 1090 | $suea2df->{_Step} = $suea2df->{_Step} . ' ts=' . $suea2df->{_ts}; | ||
| 1091 | |||
| 1092 | } | ||
| 1093 | else { | ||
| 1094 | print("suea2df, ts, missing ts,\n"); | ||
| 1095 | } | ||
| 1096 | } | ||
| 1097 | |||
| 1098 | =head2 sub tsw | ||
| 1099 | |||
| 1100 | |||
| 1101 | =cut | ||
| 1102 | |||
| 1103 | sub tsw { | ||
| 1104 | |||
| 1105 | my ( $self, $tsw ) = @_; | ||
| 1106 | if ( $tsw ne $empty_string ) { | ||
| 1107 | |||
| 1108 | $suea2df->{_tsw} = $tsw; | ||
| 1109 | $suea2df->{_note} = $suea2df->{_note} . ' tsw=' . $suea2df->{_tsw}; | ||
| 1110 | $suea2df->{_Step} = $suea2df->{_Step} . ' tsw=' . $suea2df->{_tsw}; | ||
| 1111 | |||
| 1112 | } | ||
| 1113 | else { | ||
| 1114 | print("suea2df, tsw, missing tsw,\n"); | ||
| 1115 | } | ||
| 1116 | } | ||
| 1117 | |||
| 1118 | =head2 sub verbose | ||
| 1119 | |||
| 1120 | |||
| 1121 | =cut | ||
| 1122 | |||
| 1123 | sub verbose { | ||
| 1124 | |||
| 1125 | my ( $self, $verbose ) = @_; | ||
| 1126 | if ( $verbose ne $empty_string ) { | ||
| 1127 | |||
| 1128 | $suea2df->{_verbose} = $verbose; | ||
| 1129 | $suea2df->{_note} = | ||
| 1130 | $suea2df->{_note} . ' verbose=' . $suea2df->{_verbose}; | ||
| 1131 | $suea2df->{_Step} = | ||
| 1132 | $suea2df->{_Step} . ' verbose=' . $suea2df->{_verbose}; | ||
| 1133 | |||
| 1134 | } | ||
| 1135 | else { | ||
| 1136 | print("suea2df, verbose, missing verbose,\n"); | ||
| 1137 | } | ||
| 1138 | } | ||
| 1139 | |||
| 1140 | =head2 sub vrslfile | ||
| 1141 | |||
| 1142 | |||
| 1143 | =cut | ||
| 1144 | |||
| 1145 | sub vrslfile { | ||
| 1146 | |||
| 1147 | my ( $self, $vrslfile ) = @_; | ||
| 1148 | if ( $vrslfile ne $empty_string ) { | ||
| 1149 | |||
| 1150 | $suea2df->{_vrslfile} = $vrslfile; | ||
| 1151 | $suea2df->{_note} = | ||
| 1152 | $suea2df->{_note} . ' vrslfile=' . $suea2df->{_vrslfile}; | ||
| 1153 | $suea2df->{_Step} = | ||
| 1154 | $suea2df->{_Step} . ' vrslfile=' . $suea2df->{_vrslfile}; | ||
| 1155 | |||
| 1156 | } | ||
| 1157 | else { | ||
| 1158 | print("suea2df, vrslfile, missing vrslfile,\n"); | ||
| 1159 | } | ||
| 1160 | } | ||
| 1161 | |||
| 1162 | =head2 sub vsx | ||
| 1163 | |||
| 1164 | |||
| 1165 | =cut | ||
| 1166 | |||
| 1167 | sub vsx { | ||
| 1168 | |||
| 1169 | my ( $self, $vsx ) = @_; | ||
| 1170 | if ( $vsx ne $empty_string ) { | ||
| 1171 | |||
| 1172 | $suea2df->{_vsx} = $vsx; | ||
| 1173 | $suea2df->{_note} = $suea2df->{_note} . ' vsx=' . $suea2df->{_vsx}; | ||
| 1174 | $suea2df->{_Step} = $suea2df->{_Step} . ' vsx=' . $suea2df->{_vsx}; | ||
| 1175 | |||
| 1176 | } | ||
| 1177 | else { | ||
| 1178 | print("suea2df, vsx, missing vsx,\n"); | ||
| 1179 | } | ||
| 1180 | } | ||
| 1181 | |||
| 1182 | =head2 sub wtype | ||
| 1183 | |||
| 1184 | |||
| 1185 | =cut | ||
| 1186 | |||
| 1187 | sub wtype { | ||
| 1188 | |||
| 1189 | my ( $self, $wtype ) = @_; | ||
| 1190 | if ( $wtype ne $empty_string ) { | ||
| 1191 | |||
| 1192 | $suea2df->{_wtype} = $wtype; | ||
| 1193 | $suea2df->{_note} = | ||
| 1194 | $suea2df->{_note} . ' wtype=' . $suea2df->{_wtype}; | ||
| 1195 | $suea2df->{_Step} = | ||
| 1196 | $suea2df->{_Step} . ' wtype=' . $suea2df->{_wtype}; | ||
| 1197 | |||
| 1198 | } | ||
| 1199 | else { | ||
| 1200 | print("suea2df, wtype, missing wtype,\n"); | ||
| 1201 | } | ||
| 1202 | } | ||
| 1203 | |||
| 1204 | =head2 sub get_max_index | ||
| 1205 | |||
| 1206 | max index = number of input variables -1 | ||
| 1207 | |||
| 1208 | =cut | ||
| 1209 | |||
| 1210 | sub get_max_index { | ||
| 1211 | my ($self) = @_; | ||
| 1212 | my $max_index = 40; | ||
| 1213 | |||
| 1214 | return ($max_index); | ||
| 1215 | } | ||
| 1216 | |||
| 1217 | 1; |