Index: /issm/trunk/test/Verification/PigControlMethodDragM2d_20/DomainOutline.exp
===================================================================
--- /issm/trunk/test/Verification/PigControlMethodDragM2d_20/DomainOutline.exp	(revision 425)
+++ /issm/trunk/test/Verification/PigControlMethodDragM2d_20/DomainOutline.exp	(revision 425)
@@ -0,0 +1,32 @@
+## Name:DomainTest
+## Icon:0
+# Points Count  Value
+26 1.000000
+# X pos Y pos
+-1622169.986621 58942.495127
+-1791915.043853 -152199.394686
+-1714317.303404 -226978.813994
+-1728866.879738 -334016.022024
+-1712700.683812 -350144.916385
+-1690068.009514 -338414.811395
+-1656118.998067 -358942.495127
+-1644802.660919 -335482.285148
+-1631869.704177 -323752.180158
+-1596304.073138 -328150.969529
+-1586604.355582 -367740.073869
+-1429792.255091 -360408.758250
+-1390993.384867 -266567.918334
+-1344111.416679 -319353.390787
+-1400693.102423 -326684.706405
+-1405542.961201 -358942.495127
+-1195382.414152 -347212.390137
+-1365127.471384 -111144.027222
+-1429792.255091 -83285.027872
+-1408776.200387 -45162.186656
+-1479907.462465 56009.968879
+-1513856.473911 4690.759550
+-1523556.191467 14954.601416
+-1507389.995540 38414.811395
+-1523556.191467 61875.021374
+-1622169.986621 58942.495127
+
Index: /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Iceshelves.exp
===================================================================
--- /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Iceshelves.exp	(revision 425)
+++ /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Iceshelves.exp	(revision 425)
@@ -0,0 +1,1167 @@
+## Name:
+## Icon:0
+# Points Count  Value
+1161 1.000000
+# X pos Y pos
+-1684888.380714 -346017.087479
+-1666501.756357 -372913.365380
+-1596095.235828 -341730.024233
+-1594724.378369 -336371.217805
+-1593384.676762 -335716.944928
+-1591337.987172 -334447.591379
+-1590800.563119 -334607.447573
+-1590553.622259 -334563.905240
+-1590306.681399 -334520.362908
+-1590059.740539 -334476.820575
+-1589565.858820 -334389.735909
+-1589318.917960 -334346.193576
+-1589071.977100 -334302.651244
+-1588825.036240 -334259.108911
+-1588578.095380 -334215.566578
+-1588287.612187 -334418.965106
+-1588040.671328 -334375.422773
+-1587503.247275 -334535.278967
+-1587256.306415 -334491.736635
+-1586965.823222 -334695.135162
+-1586675.340030 -334898.533689
+-1586384.856837 -335101.932217
+-1586094.373644 -335305.330744
+-1585760.348119 -335755.670132
+-1585469.864926 -335959.068659
+-1585179.381733 -336162.467186
+-1584888.898540 -336365.865714
+-1584598.415348 -336569.264241
+-1584307.932155 -336772.662768
+-1584220.847489 -337266.544489
+-1583930.364296 -337469.943016
+-1583639.881104 -337673.341544
+-1583392.940244 -337629.799211
+-1583145.999384 -337586.256878
+-1582899.058524 -337542.714545
+-1582405.176804 -337455.629880
+-1582158.235944 -337412.087547
+-1581911.295085 -337368.545214
+-1581664.354225 -337325.002881
+-1581417.413365 -337281.460548
+-1581170.472505 -337237.918216
+-1580676.590785 -337150.833550
+-1580429.649925 -337107.291217
+-1580182.709066 -337063.748885
+-1579935.768206 -337020.206552
+-1579601.742680 -337470.545939
+-1579558.200347 -337717.486799
+-1579514.658014 -337964.427660
+-1579471.115681 -338211.368520
+-1579427.573349 -338458.309380
+-1579384.031016 -338705.250240
+-1579296.946350 -339199.131960
+-1579253.404017 -339446.072821
+-1579209.861684 -339693.013681
+-1579166.319352 -339939.954541
+-1579122.777019 -340186.895401
+-1578832.293826 -340390.293928
+-1578788.751493 -340637.234789
+-1578498.268300 -340840.633316
+-1578164.242775 -341290.972704
+-1578120.700442 -341537.913564
+-1577830.217249 -341741.312091
+-1577583.276389 -341697.769758
+-1577292.793197 -341901.168286
+-1577045.852337 -341857.625953
+-1576755.369144 -342061.024480
+-1576261.487424 -341973.939815
+-1575971.004231 -342177.338342
+-1575724.063372 -342133.796009
+-1575433.580179 -342337.194537
+-1575186.639319 -342293.652204
+-1574896.156126 -342497.050731
+-1574649.215266 -342453.508398
+-1574402.274407 -342409.966066
+-1573864.850354 -342569.822260
+-1573617.909494 -342526.279928
+-1573327.426301 -342729.678455
+-1573080.485441 -342686.136122
+-1572833.544582 -342642.593789
+-1572630.146055 -342352.110596
+-1572383.205195 -342308.568264
+-1571932.865808 -341974.542738
+-1571685.924948 -341931.000405
+-1571482.526421 -341640.517212
+-1571235.585561 -341596.974879
+-1571032.187034 -341306.491686
+-1570828.788507 -341016.008494
+-1570421.991453 -340435.042108
+-1570218.592926 -340144.558915
+-1570015.194399 -339854.075722
+-1570058.736732 -339607.134862
+-1569855.338205 -339316.651669
+-1569898.880538 -339069.710808
+-1569695.482011 -338779.227616
+-1569739.024343 -338532.286755
+-1569535.625816 -338241.803562
+-1569579.168149 -337994.862702
+-1569419.311955 -337457.438649
+-1569462.854288 -337210.497789
+-1569259.455761 -336920.014596
+-1569302.998094 -336673.073736
+-1569099.599567 -336382.590543
+-1569143.141900 -336135.649683
+-1568939.743373 -335845.166490
+-1568983.285705 -335598.225630
+-1568779.887178 -335307.742437
+-1568823.429511 -335060.801577
+-1568620.030984 -334770.318384
+-1568663.573317 -334523.377523
+-1568707.115650 -334276.436663
+-1568503.717123 -333985.953470
+-1568547.259456 -333739.012610
+-1568634.344121 -333245.130890
+-1568430.945594 -332954.647697
+-1568474.487927 -332707.706837
+-1568271.089400 -332417.223644
+-1568314.631733 -332170.282784
+-1568358.174066 -331923.341924
+-1568154.775539 -331632.858731
+-1568198.317872 -331385.917870
+-1567994.919345 -331095.434677
+-1568038.461678 -330848.493817
+-1567835.063151 -330558.010624
+-1567878.605484 -330311.069764
+-1567675.206956 -330020.586571
+-1567718.749289 -329773.645711
+-1567515.350762 -329483.162518
+-1567558.893095 -329236.221658
+-1567399.036901 -328698.797605
+-1567442.579234 -328451.856745
+-1567239.180707 -328161.373552
+-1567282.723040 -327914.432692
+-1567079.324513 -327623.949499
+-1567122.866846 -327377.008639
+-1566919.468318 -327086.525446
+-1566963.010651 -326839.584585
+-1566759.612124 -326549.101392
+-1566556.213597 -326258.618199
+-1566599.755930 -326011.677339
+-1566396.357403 -325721.194146
+-1566439.899736 -325474.253286
+-1566236.501209 -325183.770093
+-1566280.043542 -324936.829233
+-1566120.187348 -324399.405180
+-1566163.729681 -324152.464320
+-1565960.331153 -323861.981127
+-1566003.873486 -323615.040267
+-1565800.474959 -323324.557074
+-1565844.017292 -323077.616214
+-1565640.618765 -322787.133021
+-1565684.161098 -322540.192161
+-1565727.703431 -322293.251300
+-1565814.788097 -321799.369580
+-1565858.330429 -321552.428720
+-1565901.872762 -321305.487860
+-1565945.415095 -321058.547000
+-1565988.957428 -320811.606139
+-1566322.982954 -320361.266752
+-1566366.525286 -320114.325892
+-1566410.067619 -319867.385032
+-1566497.152285 -319373.503311
+-1566540.694618 -319126.562451
+-1566337.296091 -318836.079258
+-1566177.439897 -318298.655205
+-1565974.041370 -318008.172012
+-1565770.642843 -317717.688819
+-1565814.185175 -317470.747959
+-1565857.727508 -317223.807099
+-1565944.812174 -316729.925378
+-1565988.354507 -316482.984518
+-1566031.896840 -316236.043658
+-1566075.439173 -315989.102798
+-1566118.981505 -315742.161938
+-1566162.523838 -315495.221078
+-1566249.608504 -315001.339357
+-1566293.150837 -314754.398497
+-1566336.693170 -314507.457637
+-1566380.235502 -314260.516777
+-1566423.777835 -314013.575917
+-1566467.320168 -313766.635056
+-1566510.862501 -313519.694196
+-1566597.947167 -313025.812476
+-1566641.489500 -312778.871616
+-1566685.031832 -312531.930756
+-1566728.574165 -312284.989895
+-1566772.116498 -312038.049035
+-1566815.658831 -311791.108175
+-1566859.201164 -311544.167315
+-1566902.743497 -311297.226455
+-1566699.344970 -311006.743262
+-1566786.429635 -310512.861542
+-1566829.971968 -310265.920681
+-1566873.514301 -310018.979821
+-1566670.115774 -309728.496628
+-1566713.658107 -309481.555768
+-1566466.717247 -309438.013435
+-1566016.377860 -309103.987910
+-1565769.437000 -309060.445577
+-1565522.496140 -309016.903244
+-1565275.555280 -308973.360911
+-1565028.614421 -308929.818578
+-1564781.673561 -308886.276246
+-1564244.249508 -309046.132440
+-1563997.308648 -309002.590107
+-1563750.367788 -308959.047775
+-1563503.426929 -308915.505442
+-1563546.969261 -308668.564582
+-1563343.570734 -308378.081389
+-1563387.113067 -308131.140529
+-1563183.714540 -307840.657336
+-1563227.256873 -307593.716475
+-1563067.400679 -307056.292422
+-1563110.943012 -306809.351562
+-1562907.544485 -306518.868369
+-1562951.086818 -306271.927509
+-1562747.688290 -305981.444316
+-1562791.230623 -305734.503456
+-1562834.772956 -305487.562596
+-1562878.315289 -305240.621736
+-1562921.857622 -304993.680875
+-1562965.399955 -304746.740015
+-1563008.942288 -304499.799155
+-1563052.484620 -304252.858295
+-1563096.026953 -304005.917435
+-1563139.569286 -303758.976575
+-1562979.713092 -303221.552522
+-1563023.255425 -302974.611661
+-1563066.797758 -302727.670801
+-1563110.340091 -302480.729941
+-1563153.882423 -302233.789081
+-1563197.424756 -301986.848221
+-1563240.967089 -301739.907361
+-1563284.509422 -301492.966500
+-1563328.051755 -301246.025640
+-1563371.594088 -300999.084780
+-1563415.136420 -300752.143920
+-1563458.678753 -300505.203060
+-1563792.704279 -300054.863672
+-1563836.246612 -299807.922812
+-1563879.788945 -299560.981952
+-1563923.331277 -299314.041092
+-1563966.873610 -299067.100232
+-1564257.356803 -298863.701704
+-1564547.839996 -298660.303177
+-1564881.865521 -298209.963789
+-1565172.348714 -298006.565262
+-1565462.831907 -297803.166734
+-1565753.315099 -297599.768207
+-1566000.255959 -297643.310540
+-1566537.680012 -297483.454345
+-1566784.620872 -297526.996678
+-1567075.104065 -297323.598151
+-1567162.188730 -296829.716430
+-1567205.731063 -296582.775570
+-1567292.815729 -296088.893850
+-1567583.298921 -295885.495323
+-1567670.383587 -295391.613602
+-1567960.866780 -295188.215075
+-1568004.409113 -294941.274215
+-1568294.892305 -294737.875687
+-1568832.316358 -294578.019493
+-1569122.799551 -294374.620965
+-1569413.282743 -294171.222438
+-1569950.706796 -294011.366243
+-1570241.189989 -293807.967716
+-1570778.614041 -293648.111521
+-1571069.097234 -293444.712994
+-1571359.580427 -293241.314467
+-1571693.605952 -292790.975079
+-1571737.148285 -292544.034219
+-1572027.631478 -292340.635692
+-1572318.114671 -292137.237164
+-1572652.140196 -291686.897777
+-1572695.682529 -291439.956916
+-1572986.165722 -291236.558389
+-1573276.648915 -291033.159862
+-1573857.615300 -290626.362807
+-1574148.098493 -290422.964280
+-1574438.581685 -290219.565752
+-1574772.607211 -289769.226365
+-1574816.149544 -289522.285505
+-1574859.691877 -289275.344644
+-1574946.776542 -288781.462924
+-1574990.318875 -288534.522064
+-1575033.861208 -288287.581204
+-1575077.403541 -288040.640344
+-1574874.005014 -287750.157151
+-1574961.089680 -287256.275430
+-1574757.691153 -286965.792237
+-1574801.233485 -286718.851377
+-1574844.775818 -286471.910517
+-1574684.919624 -285934.486464
+-1574728.461957 -285687.545604
+-1574772.004290 -285440.604744
+-1574815.546623 -285193.663883
+-1574902.631288 -284699.782163
+-1574946.173621 -284452.841303
+-1574989.715954 -284205.900443
+-1575570.682339 -283799.103388
+-1575817.623199 -283842.645721
+-1576311.504919 -283929.730386
+-1576558.445779 -283973.272719
+-1576805.386639 -284016.815052
+-1577299.268359 -284103.899718
+-1577546.209218 -284147.442050
+-1577749.607745 -284437.925243
+-1578199.947132 -284771.950769
+-1578403.345659 -285062.433962
+-1578693.828852 -284859.035435
+-1578780.913518 -284365.153714
+-1579071.396710 -284161.755187
+-1579114.939043 -283914.814327
+-1578664.599656 -283580.788801
+-1578461.201129 -283290.305608
+-1577967.319410 -283203.220942
+-1577763.920883 -282912.737749
+-1577313.581496 -282578.712224
+-1577066.640636 -282535.169891
+-1576616.301249 -282201.144365
+-1576369.360389 -282157.602032
+-1575919.021002 -281823.576507
+-1575715.622475 -281533.093314
+-1575308.825421 -280952.126928
+-1575105.426894 -280661.643735
+-1574902.028367 -280371.160542
+-1574989.113033 -279877.278822
+-1574785.714506 -279586.795629
+-1574582.315979 -279296.312436
+-1574625.858311 -279049.371575
+-1574916.341504 -278845.973048
+-1574959.883837 -278599.032188
+-1575046.968503 -278105.150468
+-1575090.510836 -277858.209607
+-1575380.994028 -277654.811080
+-1575424.536361 -277407.870220
+-1575715.019554 -277204.471693
+-1576252.443606 -277044.615498
+-1576542.926799 -276841.216971
+-1576833.409992 -276637.818443
+-1577123.893185 -276434.419916
+-1577167.435517 -276187.479056
+-1577457.918710 -275984.080528
+-1577791.944236 -275533.741141
+-1578082.427428 -275330.342613
+-1578125.969761 -275083.401753
+-1578416.452954 -274880.003226
+-1578706.936147 -274676.604698
+-1578750.478480 -274429.663838
+-1579084.504005 -273979.324451
+-1579128.046338 -273732.383591
+-1579418.529531 -273528.985063
+-1579462.071864 -273282.044203
+-1579505.614196 -273035.103343
+-1579796.097389 -272831.704816
+-1579839.639722 -272584.763955
+-1580173.665247 -272134.424568
+-1580217.207580 -271887.483708
+-1580507.690773 -271684.085180
+-1580551.233106 -271437.144320
+-1580841.716299 -271233.745793
+-1581132.199491 -271030.347265
+-1581219.284157 -270536.465545
+-1581509.767350 -270333.067018
+-1581800.250542 -270129.668490
+-1582090.733735 -269926.269963
+-1582134.276068 -269679.329103
+-1582424.759261 -269475.930575
+-1582468.301594 -269228.989715
+-1582802.327119 -268778.650328
+-1582845.869452 -268531.709468
+-1583136.352645 -268328.310940
+-1583179.894977 -268081.370080
+-1583470.378170 -267877.971553
+-1583760.861363 -267674.573025
+-1583804.403696 -267427.632165
+-1584138.429221 -266977.292778
+-1584428.912414 -266773.894250
+-1584472.454747 -266526.953390
+-1584762.937940 -266323.554863
+-1585009.878799 -266367.097196
+-1585256.819659 -266410.639528
+-1585750.701379 -266497.724194
+-1585997.642239 -266541.266527
+-1586244.583099 -266584.808859
+-1586491.523959 -266628.351192
+-1586738.464819 -266671.893525
+-1586985.405678 -266715.435858
+-1587479.287398 -266802.520523
+-1587726.228258 -266846.062856
+-1587973.169118 -266889.605189
+-1588220.109978 -266933.147522
+-1588423.508505 -267223.630715
+-1588873.847892 -267557.656241
+-1589077.246419 -267848.139434
+-1589280.644946 -268138.622626
+-1589484.043473 -268429.105819
+-1589440.501140 -268676.046680
+-1589600.357334 -269213.470733
+-1589556.815001 -269460.411593
+-1589760.213528 -269750.894786
+-1589716.671196 -269997.835646
+-1589920.069723 -270288.318839
+-1590123.468250 -270578.802032
+-1590036.383584 -271072.683752
+-1590239.782111 -271363.166945
+-1590443.180638 -271653.650138
+-1590399.638305 -271900.590998
+-1590603.036832 -272191.074191
+-1590806.435359 -272481.557384
+-1590762.893026 -272728.498244
+-1590966.291553 -273018.981437
+-1590922.749221 -273265.922297
+-1591082.605415 -273803.346351
+-1591039.063082 -274050.287211
+-1591242.461609 -274340.770404
+-1591198.919276 -274587.711264
+-1591402.317803 -274878.194457
+-1591605.716330 -275168.677650
+-1591562.173997 -275415.618510
+-1591765.572524 -275706.101703
+-1591722.030191 -275953.042563
+-1591881.886386 -276490.466616
+-1591838.344053 -276737.407476
+-1592041.742580 -277027.890669
+-1591998.200247 -277274.831529
+-1592201.598774 -277565.314722
+-1592695.480494 -277652.399388
+-1592898.879021 -277942.882581
+-1593102.277548 -278233.365774
+-1593392.760741 -278029.967247
+-1593886.642460 -278117.051912
+-1594177.125653 -277913.653385
+-1594467.608846 -277710.254857
+-1595048.575231 -277303.457803
+-1595339.058424 -277100.059275
+-1595629.541617 -276896.660748
+-1595920.024809 -276693.262221
+-1595963.567142 -276446.321360
+-1596297.592668 -275995.981973
+-1596341.135001 -275749.041113
+-1596631.618193 -275545.642585
+-1596675.160526 -275298.701725
+-1596718.702859 -275051.760865
+-1596762.245192 -274804.820005
+-1596805.787525 -274557.879145
+-1596892.872190 -274063.997424
+-1596936.414523 -273817.056564
+-1596979.956856 -273570.115704
+-1597023.499189 -273323.174844
+-1597067.041522 -273076.233984
+-1597648.007907 -272669.436929
+-1597938.491100 -272466.038402
+-1598228.974293 -272262.639874
+-1598316.058958 -271768.758154
+-1598606.542151 -271565.359627
+-1598650.084484 -271318.418766
+-1598693.626817 -271071.477906
+-1598737.169149 -270824.537046
+-1598533.770622 -270534.053853
+-1598577.312955 -270287.112993
+-1598620.855288 -270040.172133
+-1598707.939954 -269546.290413
+-1598751.482287 -269299.349552
+-1598795.024619 -269052.408692
+-1598591.626092 -268761.925499
+-1598635.168425 -268514.984639
+-1598678.710758 -268268.043779
+-1598722.253091 -268021.102919
+-1598518.854564 -267730.619726
+-1598605.939230 -267236.738005
+-1598402.540703 -266946.254813
+-1598446.083035 -266699.313952
+-1598736.566228 -266495.915425
+-1599027.049421 -266292.516898
+-1599608.015806 -265885.719843
+-1599898.498999 -265682.321316
+-1600188.982192 -265478.922788
+-1600479.465384 -265275.524261
+-1601060.431770 -264868.727206
+-1601350.914963 -264665.328679
+-1601641.398155 -264461.930151
+-1601888.339015 -264505.472484
+-1602425.763068 -264345.616290
+-1602716.246260 -264142.217762
+-1602963.187120 -264185.760095
+-1603253.670313 -263982.361568
+-1603500.611173 -264025.903900
+-1603791.094366 -263822.505373
+-1604038.035225 -263866.047706
+-1604531.916945 -263953.132371
+-1604778.857805 -263996.674704
+-1605069.340998 -263793.276177
+-1605316.281858 -263836.818510
+-1605563.222718 -263880.360842
+-1605810.163577 -263923.903175
+-1606057.104437 -263967.445508
+-1606304.045297 -264010.987841
+-1606797.927017 -264098.072506
+-1607044.867877 -264141.614839
+-1607291.808737 -264185.157172
+-1607538.749596 -264228.699505
+-1607785.690456 -264272.241838
+-1607989.088983 -264562.725031
+-1608236.029843 -264606.267363
+-1608686.369230 -264940.292889
+-1608933.310090 -264983.835222
+-1609136.708617 -265274.318415
+-1609383.649477 -265317.860748
+-1609587.048004 -265608.343941
+-1609790.446531 -265898.827134
+-1609993.845058 -266189.310327
+-1610444.184445 -266523.335852
+-1610604.040639 -267060.759905
+-1610807.439166 -267351.243098
+-1611010.837693 -267641.726291
+-1611257.778553 -267685.268624
+-1611461.177080 -267975.751817
+-1611955.058800 -268062.836483
+-1612158.457327 -268353.319676
+-1612405.398187 -268396.862008
+-1612652.339047 -268440.404341
+-1612899.279906 -268483.946674
+-1613436.703959 -268324.090479
+-1613683.644819 -268367.632812
+-1613930.585679 -268411.175145
+-1614177.526539 -268454.717478
+-1614380.925066 -268745.200671
+-1614627.865926 -268788.743004
+-1615078.205312 -269122.768529
+-1615281.603840 -269413.251722
+-1615528.544699 -269456.794055
+-1615731.943226 -269747.277248
+-1615935.341753 -270037.760441
+-1615848.257088 -270531.642161
+-1616051.655615 -270822.125354
+-1616008.113282 -271069.066214
+-1615717.630089 -271272.464742
+-1615674.087756 -271519.405602
+-1615340.062231 -271969.744989
+-1615296.519898 -272216.685850
+-1615006.036705 -272420.084377
+-1614962.494372 -272667.025237
+-1614918.952040 -272913.966097
+-1615122.350567 -273204.449290
+-1615078.808234 -273451.390150
+-1614991.723568 -273945.271871
+-1615195.122095 -274235.755064
+-1615151.579762 -274482.695924
+-1615442.062955 -274279.297396
+-1615935.944675 -274366.382062
+-1616226.427867 -274162.983535
+-1616473.368727 -274206.525867
+-1616763.851920 -274003.127340
+-1616807.394253 -273756.186480
+-1617141.419778 -273305.847092
+-1617431.902971 -273102.448565
+-1617475.445304 -272855.507705
+-1617765.928497 -272652.109178
+-1618012.869357 -272695.651510
+-1618550.293409 -272535.795316
+-1618797.234269 -272579.337649
+-1619044.175129 -272622.879981
+-1619538.056849 -272709.964647
+-1619741.455376 -273000.447840
+-1619988.396236 -273043.990173
+-1619944.853903 -273290.931033
+-1620148.252430 -273581.414226
+-1620104.710097 -273828.355086
+-1620308.108624 -274118.838279
+-1620221.023958 -274612.719999
+-1620424.422485 -274903.203192
+-1620380.880152 -275150.144052
+-1620584.278679 -275440.627245
+-1620540.736347 -275687.568105
+-1620497.194014 -275934.508966
+-1620700.592541 -276224.992159
+-1620657.050208 -276471.933019
+-1620860.448735 -276762.416212
+-1620816.906402 -277009.357072
+-1620976.762596 -277546.781125
+-1620933.220264 -277793.721985
+-1621136.618791 -278084.205178
+-1621093.076458 -278331.146038
+-1621296.474985 -278621.629231
+-1621252.932652 -278868.570091
+-1621456.331179 -279159.053284
+-1621412.788846 -279405.994144
+-1621616.187373 -279696.477337
+-1621529.102707 -280190.359058
+-1621732.501234 -280480.842251
+-1621688.958902 -280727.783111
+-1621645.416569 -280974.723971
+-1621848.815096 -281265.207164
+-1621761.730430 -281759.088884
+-1621965.128957 -282049.572077
+-1621921.586624 -282296.512937
+-1621878.044291 -282543.453797
+-1622081.442819 -282833.936990
+-1622037.900486 -283080.877851
+-1621950.815820 -283574.759571
+-1621907.273487 -283821.700431
+-1622110.672014 -284112.183624
+-1622067.129681 -284359.124484
+-1621776.646489 -284562.523011
+-1621733.104156 -284809.463872
+-1621442.620963 -285012.862399
+-1621108.595437 -285463.201787
+-1621065.053105 -285710.142647
+-1620774.569912 -285913.541174
+-1620731.027579 -286160.482034
+-1620687.485246 -286407.422894
+-1620643.942913 -286654.363754
+-1620600.400581 -286901.304615
+-1620556.858248 -287148.245475
+-1620222.832722 -287598.584862
+-1620179.290389 -287845.525722
+-1620135.748056 -288092.466583
+-1620092.205724 -288339.407443
+-1620048.663391 -288586.348303
+-1620005.121058 -288833.289163
+-1619961.578725 -289080.230023
+-1619918.036392 -289327.170883
+-1619584.010867 -289777.510271
+-1619540.468534 -290024.451131
+-1619496.926201 -290271.391991
+-1619700.324728 -290561.875184
+-1619656.782395 -290808.816044
+-1619613.240062 -291055.756905
+-1619569.697730 -291302.697765
+-1619729.553924 -291840.121818
+-1619686.011591 -292087.062678
+-1619642.469258 -292334.003538
+-1619598.926925 -292580.944398
+-1619802.325452 -292871.427591
+-1619758.783119 -293118.368451
+-1619962.181646 -293408.851644
+-1619918.639314 -293655.792504
+-1620122.037841 -293946.275697
+-1620078.495508 -294193.216558
+-1620281.894035 -294483.699750
+-1620441.750229 -295021.123804
+-1620398.207896 -295268.064664
+-1620601.606423 -295558.547857
+-1620558.064090 -295805.488717
+-1620761.462617 -296095.971910
+-1620964.861144 -296386.455103
+-1621168.259671 -296676.938296
+-1621124.717339 -296923.879156
+-1621328.115866 -297214.362349
+-1621487.972060 -297751.786402
+-1621691.370587 -298042.269595
+-1621647.828254 -298289.210455
+-1621851.226781 -298579.693648
+-1622054.625308 -298870.176841
+-1622258.023835 -299160.660034
+-1622461.422362 -299451.143227
+-1622374.337696 -299945.024947
+-1622577.736223 -300235.508140
+-1622781.134750 -300525.991333
+-1622984.533277 -300816.474526
+-1623187.931804 -301106.957719
+-1623391.330331 -301397.440912
+-1623594.728858 -301687.924105
+-1623754.585053 -302225.348158
+-1623957.983580 -302515.831351
+-1624161.382107 -302806.314544
+-1624408.322967 -302849.856877
+-1624858.662353 -303183.882402
+-1625105.603213 -303227.424735
+-1625396.086406 -303024.026208
+-1625599.484933 -303314.509401
+-1625889.968126 -303111.110873
+-1626427.392178 -302951.254679
+-1626674.333038 -302994.797011
+-1626964.816231 -302791.398484
+-1627008.358564 -302544.457624
+-1627298.841757 -302341.059097
+-1627385.926422 -301847.177376
+-1627676.409615 -301643.778849
+-1627719.951948 -301396.837989
+-1627763.494281 -301149.897129
+-1628097.519806 -300699.557741
+-1628141.062139 -300452.616881
+-1628184.604472 -300205.676021
+-1628765.570857 -299798.878966
+-1629056.054050 -299595.480439
+-1629346.537243 -299392.081911
+-1629433.621908 -298898.200191
+-1629724.105101 -298694.801664
+-1629767.647434 -298447.860804
+-1629811.189767 -298200.919943
+-1629854.732100 -297953.979083
+-1629694.875906 -297416.555030
+-1629738.418238 -297169.614170
+-1629781.960571 -296922.673310
+-1629825.502904 -296675.732450
+-1629622.104377 -296385.249257
+-1629665.646710 -296138.308397
+-1629462.248183 -295847.825204
+-1629549.332849 -295353.943483
+-1629345.934322 -295063.460290
+-1629389.476654 -294816.519430
+-1629186.078127 -294526.036237
+-1628982.679600 -294235.553044
+-1628532.340213 -293901.527519
+-1628328.941686 -293611.044326
+-1628416.026352 -293117.162605
+-1628212.627825 -292826.679412
+-1628793.594210 -292419.882358
+-1629084.077403 -292216.483830
+-1629127.619736 -291969.542970
+-1629461.645262 -291519.203583
+-1629505.187594 -291272.262722
+-1629548.729927 -291025.321862
+-1629592.272260 -290778.381002
+-1629679.356926 -290284.499282
+-1629722.899259 -290037.558422
+-1629766.441591 -289790.617562
+-1630100.467117 -289340.278174
+-1630390.950310 -289136.879647
+-1630928.374362 -288977.023452
+-1631218.857555 -288773.624925
+-1631465.798415 -288817.167258
+-1631669.196942 -289107.650450
+-1632163.078662 -289194.735116
+-1632366.477189 -289485.218309
+-1632613.418049 -289528.760642
+-1632816.816576 -289819.243835
+-1633020.215103 -290109.727028
+-1633514.096822 -290196.811693
+-1633717.495349 -290487.294886
+-1633920.893876 -290777.778079
+-1634167.834736 -290821.320412
+-1634618.174123 -291155.345938
+-1634865.114983 -291198.888270
+-1634908.657316 -290951.947410
+-1635199.140509 -290748.548883
+-1635242.682841 -290501.608023
+-1635329.767507 -290007.726302
+-1635373.309840 -289760.785442
+-1635663.793033 -289557.386915
+-1635707.335366 -289310.446055
+-1635750.877698 -289063.505195
+-1636041.360891 -288860.106667
+-1636375.386417 -288409.767280
+-1636665.869609 -288206.368752
+-1636956.352802 -288002.970225
+-1637246.835995 -287799.571698
+-1637493.776855 -287843.114030
+-1637784.260047 -287639.715503
+-1638278.141767 -287726.800169
+-1638568.624960 -287523.401641
+-1638815.565820 -287566.943974
+-1639106.049012 -287363.545447
+-1639352.989872 -287407.087780
+-1639599.930732 -287450.630112
+-1639890.413925 -287247.231585
+-1640137.354785 -287290.773918
+-1640631.236504 -287377.858583
+-1640878.177364 -287421.400916
+-1641125.118224 -287464.943249
+-1641415.601417 -287261.544722
+-1641662.542277 -287305.087054
+-1641909.483137 -287348.629387
+-1642156.423997 -287392.171720
+-1642359.822524 -287682.654913
+-1642606.763383 -287726.197246
+-1643100.645103 -287813.281911
+-1643347.585963 -287856.824244
+-1643550.984490 -288147.307437
+-1643797.925350 -288190.849770
+-1644001.323877 -288481.332963
+-1643957.781544 -288728.273823
+-1644117.637738 -289265.697876
+-1644074.095405 -289512.638736
+-1644030.553073 -289759.579596
+-1643740.069880 -289962.978124
+-1643652.985214 -290456.859844
+-1643362.502022 -290660.258371
+-1643318.959689 -290907.199232
+-1643275.417356 -291154.140092
+-1643231.875023 -291401.080952
+-1643144.790357 -291894.962672
+-1643101.248024 -292141.903532
+-1643057.705692 -292388.844392
+-1643261.104219 -292679.327585
+-1643217.561886 -292926.268446
+-1643377.418080 -293463.692499
+-1643333.875747 -293710.633359
+-1643537.274274 -294001.116552
+-1643740.672801 -294291.599745
+-1643653.588136 -294785.481465
+-1643856.986663 -295075.964658
+-1643813.444330 -295322.905518
+-1643522.961137 -295526.304045
+-1643435.876471 -296020.185766
+-1643145.393279 -296223.584293
+-1643101.850946 -296470.525153
+-1642811.367753 -296673.923681
+-1642520.884560 -296877.322208
+-1642186.859035 -297327.661595
+-1641896.375842 -297531.060123
+-1641852.833509 -297778.000983
+-1641809.291176 -298024.941843
+-1641765.748844 -298271.882703
+-1641678.664178 -298765.764424
+-1641635.121845 -299012.705284
+-1641591.579512 -299259.646144
+-1641794.978039 -299550.129337
+-1641998.376566 -299840.612530
+-1641911.291901 -300334.494250
+-1642114.690428 -300624.977443
+-1642318.088955 -300915.460636
+-1642811.970674 -301002.545302
+-1643015.369201 -301293.028494
+-1643218.767728 -301583.511687
+-1643509.250921 -301380.113160
+-1644090.217307 -300973.316105
+-1644380.700499 -300769.917578
+-1644424.242832 -300522.976718
+-1644467.785165 -300276.035858
+-1644511.327498 -300029.094998
+-1644554.869831 -299782.154137
+-1644598.412163 -299535.213277
+-1644641.954496 -299288.272417
+-1644685.496829 -299041.331557
+-1644729.039162 -298794.390697
+-1644569.182968 -298256.966644
+-1644612.725301 -298010.025784
+-1644656.267634 -297763.084923
+-1644699.809966 -297516.144063
+-1644743.352299 -297269.203203
+-1644786.894632 -297022.262343
+-1644830.436965 -296775.321483
+-1644873.979298 -296528.380623
+-1644917.521631 -296281.439762
+-1644961.063963 -296034.498902
+-1645004.606296 -295787.558042
+-1645048.148629 -295540.617182
+-1644888.292435 -295003.193129
+-1644931.834768 -294756.252269
+-1644975.377101 -294509.311409
+-1645018.919433 -294262.370548
+-1645062.461766 -294015.429688
+-1645352.944959 -293812.031161
+-1645396.487292 -293565.090301
+-1645440.029625 -293318.149441
+-1645774.055150 -292867.810053
+-1645817.597483 -292620.869193
+-1645861.139816 -292373.928333
+-1646151.623009 -292170.529805
+-1646195.165341 -291923.588945
+-1646529.190867 -291473.249558
+-1646819.674060 -291269.851030
+-1647313.555779 -291356.935696
+-1647807.437499 -291444.020362
+-1648054.378359 -291487.562694
+-1648344.861552 -291284.164167
+-1648882.285604 -291124.307972
+-1649129.226464 -291167.850305
+-1649419.709657 -290964.451778
+-1649957.133710 -290804.595583
+-1650247.616902 -290601.197056
+-1650741.498622 -290688.281722
+-1650944.897149 -290978.764915
+-1651148.295676 -291269.248107
+-1651642.177396 -291356.332773
+-1651845.575923 -291646.815966
+-1652092.516783 -291690.358299
+-1652542.856170 -292024.383825
+-1652789.797029 -292067.926157
+-1652993.195556 -292358.409350
+-1653574.161942 -291951.612296
+-1653864.645135 -291748.213768
+-1653908.187467 -291501.272908
+-1653995.272133 -291007.391188
+-1654038.814466 -290760.450328
+-1654082.356799 -290513.509467
+-1654372.839992 -290310.110940
+-1654706.865517 -289859.771553
+-1654997.348710 -289656.373025
+-1655578.315095 -289249.575970
+-1655868.798288 -289046.177443
+-1656406.222341 -288886.321249
+-1656696.705533 -288682.922721
+-1656987.188726 -288479.524194
+-1657234.129586 -288523.066527
+-1657771.553638 -288363.210332
+-1658018.494498 -288406.752665
+-1658265.435358 -288450.294998
+-1658308.977691 -288203.354138
+-1658599.460884 -287999.955610
+-1658686.545549 -287506.073890
+-1658977.028742 -287302.675362
+-1659020.571075 -287055.734502
+-1658817.172548 -286765.251309
+-1658323.290828 -286678.166644
+-1658119.892301 -286387.683451
+-1657960.036107 -285850.259398
+-1657756.637580 -285559.776205
+-1657553.239053 -285269.293012
+-1657596.781386 -285022.352152
+-1657683.866051 -284528.470431
+-1657727.408384 -284281.529571
+-1658017.891577 -284078.131044
+-1658104.976243 -283584.249324
+-1658395.459435 -283380.850796
+-1658439.001768 -283133.909936
+-1659019.968154 -282727.112881
+-1659310.451346 -282523.714354
+-1659353.993679 -282276.773494
+-1659644.476872 -282073.374967
+-1659731.561538 -281579.493246
+-1660022.044730 -281376.094719
+-1660065.587063 -281129.153859
+-1660646.553449 -280722.356804
+-1660937.036641 -280518.958277
+-1661183.977501 -280562.500609
+-1661677.859221 -280649.585275
+-1661924.800081 -280693.127608
+-1662171.740941 -280736.669941
+-1662375.139468 -281027.153134
+-1662869.021187 -281114.237799
+-1663072.419714 -281404.720992
+-1663028.877382 -281651.661852
+-1663188.733576 -282189.085905
+-1663145.191243 -282436.026766
+-1663101.648910 -282682.967626
+-1663058.106577 -282929.908486
+-1662971.021912 -283423.790206
+-1662927.479579 -283670.731066
+-1662883.937246 -283917.671926
+-1662840.394913 -284164.612787
+-1663043.793440 -284455.095979
+-1662956.708774 -284948.977700
+-1663160.107301 -285239.460893
+-1663116.564969 -285486.401753
+-1663319.963496 -285776.884946
+-1663523.362023 -286067.368139
+-1663726.760550 -286357.851332
+-1663886.616744 -286895.275385
+-1664090.015271 -287185.758578
+-1664293.413798 -287476.241771
+-1664540.354658 -287519.784103
+-1664787.295518 -287563.326436
+-1665324.719570 -287403.470242
+-1665571.660430 -287447.012575
+-1665818.601290 -287490.554907
+-1666109.084483 -287287.156380
+-1666196.169148 -286793.274660
+-1666486.652341 -286589.876132
+-1666690.050868 -286880.359325
+-1666893.449395 -287170.842518
+-1667343.788782 -287504.868044
+-1667547.187309 -287795.351237
+-1667750.585836 -288085.834430
+-1667707.043503 -288332.775290
+-1667663.501170 -288579.716150
+-1667619.958838 -288826.657010
+-1667779.815032 -289364.081063
+-1667736.272699 -289611.021923
+-1667692.730366 -289857.962784
+-1667649.188033 -290104.903644
+-1667605.645700 -290351.844504
+-1667809.044227 -290642.327697
+-1667765.501895 -290889.268557
+-1667721.959562 -291136.209417
+-1667925.358089 -291426.692610
+-1667881.815756 -291673.633470
+-1667838.273423 -291920.574330
+-1668041.671950 -292211.057523
+-1667954.587284 -292704.939244
+-1667911.044952 -292951.880104
+-1667867.502619 -293198.820964
+-1668070.901146 -293489.304157
+-1668027.358813 -293736.245017
+-1667983.816480 -293983.185877
+-1668187.215007 -294273.669070
+-1668143.672674 -294520.609930
+-1668390.613534 -294564.152263
+-1668594.012061 -294854.635456
+-1669087.893781 -294941.720122
+-1669291.292308 -295232.203315
+-1669538.233168 -295275.745647
+-1669741.631695 -295566.228840
+-1669945.030222 -295856.712033
+-1670148.428749 -296147.195226
+-1670642.310469 -296234.279892
+-1670845.708996 -296524.763085
+-1671049.107523 -296815.246278
+-1671005.565190 -297062.187138
+-1670715.081997 -297265.585665
+-1670671.539664 -297512.526525
+-1670584.454999 -298006.408246
+-1670293.971806 -298209.806773
+-1670250.429473 -298456.747633
+-1670206.887140 -298703.688493
+-1669916.403947 -298907.087021
+-1669872.861615 -299154.027881
+-1669829.319282 -299400.968741
+-1669495.293756 -299851.308128
+-1669451.751423 -300098.248988
+-1669161.268231 -300301.647516
+-1669117.725898 -300548.588376
+-1669074.183565 -300795.529236
+-1669030.641232 -301042.470096
+-1668943.556566 -301536.351817
+-1668900.014234 -301783.292677
+-1668856.471901 -302030.233537
+-1669059.870428 -302320.716730
+-1669263.268955 -302611.199923
+-1669176.184289 -303105.081643
+-1669379.582816 -303395.564836
+-1669336.040483 -303642.505696
+-1669292.498151 -303889.446556
+-1669248.955818 -304136.387416
+-1669205.413485 -304383.328277
+-1669118.328819 -304877.209997
+-1669074.786486 -305124.150857
+-1669031.244153 -305371.091717
+-1668987.701821 -305618.032577
+-1668944.159488 -305864.973437
+-1669147.558015 -306155.456630
+-1669104.015682 -306402.397491
+-1669060.473349 -306649.338351
+-1668973.388683 -307143.220071
+-1669176.787210 -307433.703264
+-1669133.244878 -307680.644124
+-1669089.702545 -307927.584984
+-1669046.160212 -308174.525844
+-1669002.617879 -308421.466705
+-1668959.075546 -308668.407565
+-1668871.990881 -309162.289285
+-1668828.448548 -309409.230145
+-1668784.906215 -309656.171005
+-1668741.363882 -309903.111865
+-1668697.821549 -310150.052726
+-1668654.279216 -310396.993586
+-1668363.796024 -310600.392113
+-1668320.253691 -310847.332973
+-1668233.169025 -311341.214693
+-1668189.626692 -311588.155554
+-1667899.143500 -311791.554081
+-1667855.601167 -312038.494941
+-1667565.117974 -312241.893468
+-1667274.634781 -312445.291996
+-1666984.151589 -312648.690523
+-1666737.210729 -312605.148190
+-1666199.786676 -312765.004385
+-1665909.303483 -312968.402912
+-1665618.820291 -313171.801440
+-1665328.337098 -313375.199967
+-1665037.853905 -313578.598494
+-1664747.370713 -313781.997022
+-1664456.887520 -313985.395549
+-1664166.404327 -314188.794077
+-1663875.921134 -314392.192604
+-1663294.954749 -314798.989659
+-1663004.471556 -315002.388186
+-1662713.988364 -315205.786713
+-1662423.505171 -315409.185241
+-1662133.021978 -315612.583768
+-1661842.538785 -315815.982295
+-1661552.055593 -316019.380823
+-1661508.513260 -316266.321683
+-1661218.030067 -316469.720210
+-1660927.546874 -316673.118738
+-1660637.063682 -316876.517265
+-1660549.979016 -317370.398985
+-1660259.495823 -317573.797513
+-1659969.012631 -317777.196040
+-1659678.529438 -317980.594567
+-1659634.987105 -318227.535427
+-1659344.503912 -318430.933955
+-1659300.961579 -318677.874815
+-1659257.419247 -318924.815675
+-1659213.876914 -319171.756535
+-1658923.393721 -319375.155063
+-1658879.851388 -319622.095923
+-1658836.309055 -319869.036783
+-1658749.224390 -320362.918503
+-1658705.682057 -320609.859363
+-1658662.139724 -320856.800224
+-1658371.656531 -321060.198751
+-1658328.114198 -321307.139611
+-1658284.571866 -321554.080471
+-1658241.029533 -321801.021331
+-1658197.487200 -322047.962191
+-1658400.885727 -322338.445384
+-1658357.343394 -322585.386245
+-1658313.801061 -322832.327105
+-1658270.258728 -323079.267965
+-1658473.657255 -323369.751158
+-1658386.572590 -323863.632878
+-1658343.030257 -324110.573738
+-1658299.487924 -324357.514598
+-1658502.886451 -324647.997791
+-1658459.344118 -324894.938651
+-1658415.801785 -325141.879512
+-1658619.200312 -325432.362705
+-1658822.598839 -325722.845897
+-1659025.997366 -326013.329090
+-1659229.395893 -326303.812283
+-1659142.311228 -326797.694004
+-1659345.709755 -327088.177197
+-1659549.108282 -327378.660390
+-1659752.506809 -327669.143582
+-1659955.905336 -327959.626775
+-1659912.363003 -328206.567636
+-1660115.761530 -328497.050828
+-1660072.219197 -328743.991689
+-1660275.617724 -329034.474882
+-1660232.075391 -329281.415742
+-1660391.931585 -329818.839795
+-1660348.389253 -330065.780655
+-1660551.787780 -330356.263848
+-1660508.245447 -330603.204708
+-1660711.643974 -330893.687901
+-1660668.101641 -331140.628761
+-1660624.559308 -331387.569621
+-1660581.016975 -331634.510481
+-1660537.474642 -331881.451342
+-1660450.389977 -332375.333062
+-1660406.847644 -332622.273922
+-1660363.305311 -332869.214782
+-1660319.762978 -333116.155642
+-1660276.220645 -333363.096502
+-1660479.619172 -333653.579695
+-1660436.076840 -333900.520555
+-1660348.992174 -334394.402276
+-1660305.449841 -334641.343136
+-1660508.848368 -334931.826329
+-1660465.306035 -335178.767189
+-1661047.039982 -335887.278798
+-1660989.375307 -336463.925549
+-1661162.369332 -337674.883725
+-1663122.968284 -338655.183201
+-1665083.567236 -338655.183201
+-1666928.836838 -338770.512552
+-1668312.789040 -339808.476703
+-1669812.070591 -340442.788128
+-1672752.969020 -340731.111504
+-1675520.873423 -339808.476703
+-1675578.538098 -340961.770204
+-1674194.585896 -341307.758254
+-1673387.280445 -341999.734355
+-1674540.573946 -341826.740330
+-1676328.178873 -342461.051756
+-1676097.520173 -344709.974083
+-1677366.143025 -343095.363181
+-1679384.406652 -340904.105529
+-1680653.029503 -339635.482678
+-1682209.975730 -338020.871776
+-1683440.542147 -336723.192456
+-1684486.320654 -336966.897483
+-1684909.410425 -337587.232619
+-1685082.218458 -338796.888848
+-1684909.410425 -339790.535036
+-1684764.698350 -341142.562926
+-1685947.803559 -342395.262559
+-1684888.380714 -346017.087479
+
Index: /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Islands.exp
===================================================================
--- /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Islands.exp	(revision 425)
+++ /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Islands.exp	(revision 425)
@@ -0,0 +1,68 @@
+## Name:Island
+## Icon:0
+# Points Count  Value
+7 1.000000
+# X pos Y pos
+-1788144.703034 -331058.869467
+-1790984.462389 -330247.509651
+-1790984.462389 -332073.069237
+-1789767.422665 -334507.148684
+-1787739.023126 -336129.868316
+-1786521.983402 -334912.828592
+-1788144.703034 -331058.869467
+
+## Name:Island
+## Icon:0
+# Points Count  Value
+9 1.000000
+# X pos Y pos
+-1751633.511323 -319902.672000
+-1753053.391000 -318279.952368
+-1756095.990310 -318077.112414
+-1754878.950586 -320916.871770
+-1754067.590770 -326190.710572
+-1752647.711092 -326190.710572
+-1751430.671369 -324365.150987
+-1752039.191231 -322133.911493
+-1751633.511323 -319902.672000
+
+## Name:Island
+## Icon:0
+# Points Count  Value
+7 1.000000
+# X pos Y pos
+-1644331.175683 -296576.077296
+-1645548.215407 -297995.956973
+-1645345.375453 -299415.836651
+-1643722.655821 -300024.356513
+-1641694.256282 -298807.316789
+-1642302.776144 -296576.077296
+-1644331.175683 -296576.077296
+
+## Name:Island
+## Icon:0
+# Points Count  Value
+8 1.000000
+# X pos Y pos
+-1641694.256282 -318077.112414
+-1641694.256282 -320105.511954
+-1639868.696696 -321728.231586
+-1637434.617249 -320916.871770
+-1637434.617249 -318685.632276
+-1638043.137111 -316454.392783
+-1640477.216558 -316657.232737
+-1641694.256282 -318077.112414
+
+## Name:Island
+## Icon:0
+# Points Count  Value
+7 1.000000
+# X pos Y pos
+-1658732.812414 -359253.623066
+-1660558.371999 -362499.062330
+-1658327.132506 -366961.541316
+-1652039.093933 -367164.381270
+-1652444.773841 -360673.502744
+-1655081.693242 -359050.783112
+-1658732.812414 -359253.623066
+
Index: /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Pig.par
===================================================================
--- /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Pig.par	(revision 425)
+++ /issm/trunk/test/Verification/PigControlMethodDragM2d_20/Pig.par	(revision 425)
@@ -0,0 +1,52 @@
+%Start defining model parameters here
+
+disp('      creating geometry');
+if md.numberofgrids~=2042,
+	error('Pig.par error message: Model can not be parameterize if numgrids != 388');
+end
+load('Pigdata.mat');
+md.surface=surface;
+md.bed=bed;
+md.thickness=thickness;
+md.vx_obs=vx_obs;
+md.vy_obs=vy_obs;
+
+disp('      creating drag');
+md.drag_type=2;
+md.drag=50*ones(md.numberofgrids,1);
+%Take care of iceshelves: no basal drag
+pos=find(md.elementoniceshelf);
+md.drag(md.elements(pos,:))=0;
+md.p=ones(md.numberofelements,1);
+md.q=ones(md.numberofelements,1);
+md.viscosity_overshoot=0.3;
+
+disp('      creating temperature');
+md.observed_temperature=(273-20)*ones(md.numberofgrids,1);
+
+disp('      creating flow law paramter');
+md.B=paterson(md.observed_temperature);
+md.n=3*ones(md.numberofelements,1);
+
+%Deal with boundary conditions:
+md=SetMarineIceSheetBC(md);
+
+%Parallel options
+md.np=3;
+md.time=50;
+md.waitonlock=1;
+
+%Misc
+md.debug=0;
+md.plot=0;
+md.eps_abs=NaN;
+md.eps_rel=0.05;
+
+%control methods
+md.control_type='drag';
+md.mincontrolconstraint=2;
+md.maxcontrolconstraint=120;
+md.nsteps=2;
+md.fit=0*ones(md.nsteps,1);
+md.optscal=150*ones(md.nsteps,1);
+md.maxiter=10*ones(md.nsteps,1);
Index: /issm/trunk/test/Verification/PigControlMethodDragM2d_20/runme.m
===================================================================
--- /issm/trunk/test/Verification/PigControlMethodDragM2d_20/runme.m	(revision 425)
+++ /issm/trunk/test/Verification/PigControlMethodDragM2d_20/runme.m	(revision 425)
@@ -0,0 +1,79 @@
+% This file can be run to check that the current version of issm is giving 
+% coherent results. This test deals with Pine Island Glacierfor a 2d model.
+% Just run this file in Matlab, with a properly setup ISSM code. 
+% The results of this test will indicate if there is a difference between current computations 
+% and archived results.
+
+% Errors  between archived results and the current version will get flagged if they are not within 
+% a certain tolerance. The current tolerance is 10^-12. If you have good reasons to believe this 
+% tolerance should be lowered (for example, if you are running single precision compilers?), feel 
+% free to tweak the tolerance variable.
+
+%packages and misfits to be tested
+packages={'cielo_parallel'};
+misfits={'absolute','relative','logarithmic'};
+
+%Initialize log message for nightly runs.
+testname='PigControlMethodDragM2d_20';
+tolerance=10^-12;
+
+%go through the solutions requested
+for i=1:length(packages),
+	package=packages{i};
+
+	for j=1:length(misfits),
+		misfit=misfits{j};
+
+		%check package
+		if ~(strcmpi(package,'cielo_serial') | strcmpi(package,'cielo_parallel'));
+			error(['package: ' package  ' in test: ' testname  ' not supported yet']);
+			%check solution
+		elseif ~(strcmpi(misfit,'absolute') | strcmpi(misfit,'relative') | strcmpi(misfit,'logarithmic')),
+			error(['misfit: ' misfit  ' in test: ' testname  ' not supported yet']);
+		end
+
+		%initialize model
+		md=model;
+		md=mesh(md,'DomainOutline.exp',9000);
+		md=geography(md,'Iceshelves.exp','Islands.exp');
+		md=parameterize(md,'Pig.par');
+		md=setelementstype(md,'macayeal','all');
+		if strcmpi(misfit,'absolute'),
+			md.fit(:)=0;
+		elseif strcmpi(misfit,'relative'),
+			md.fit(:)=1;
+		elseif strcmpi(misfit,'logarithmic'),
+			md.fit(:)=2;
+		end
+		if strcmpi(package,'cielo_parallel'), md.cluster='wilkes'; end
+
+		%launch control method
+		if (strcmpi(package,'cielo_parallel') | strcmpi(package,'cielo_serial')),
+			md=solve(md,'control','cielo');
+		else
+			md=solve(md,'control',package);
+		end
+
+		%compute field to be checked
+		fields={'cont_vel','cont_J','cont_parameter'};
+
+		%load archive
+		eval(['load Archive' package misfit ]);
+
+		for k=1:length(fields),
+			field=fields{k};
+
+			%compare to archive
+			eval(['Archive=Archive' package misfit '_field' num2str(k) ';']);
+			eval(['error_diff=abs(norm((Archive(find(Archive))-md.' field  '(find(Archive)))./Archive(find(Archive)),2));']);
+
+			%disp test result
+			if (error_diff>tolerance);
+				disp(sprintf(['\n\nERROR   (difference=%-7.2g > %g) --> test: %-25s misfit: %-16s package: %-14s field: ' field  '.\n\n'],error_diff,tolerance,testname,misfit,package));
+			else
+				disp(sprintf(['\n\nSUCCESS (difference=%-7.2g < %g) --> test: %-25s misfit: %-16s package: %-14s field: ' field  '.\n\n'],error_diff,tolerance,testname,misfit,package));
+			end
+
+		end
+	end
+end
Index: /issm/trunk/test/Verification/PigControlMethodDragM2d_20/updatearchive.m
===================================================================
--- /issm/trunk/test/Verification/PigControlMethodDragM2d_20/updatearchive.m	(revision 425)
+++ /issm/trunk/test/Verification/PigControlMethodDragM2d_20/updatearchive.m	(revision 425)
@@ -0,0 +1,62 @@
+% This file can be run to update the velocity archives  of the test1.
+% This test deals with an icesheet with icefront for a 2d model. The geometry 
+% is square. Just run this file in Matlab, with a properly setup Ice code. 
+
+% The archive files will be saved in this directory but will not commited to ice1. 
+% Just commit the result if you want to.
+
+%packages and misfits to be tested
+packages={'cielo_parallel','cielo_serial'};
+misfits={'absolute','relative','logarithmic'};
+
+%Initialize log message for nightly runs.
+testname='PigControlMethodDragM2d_20';
+
+%go through the solutions requested
+for i=1:length(packages),
+	package=packages{i};
+
+	for j=1:length(misfits),
+		misfit=misfits{j};
+
+		%check package
+		if ~(strcmpi(package,'cielo_serial') | strcmpi(package,'cielo_parallel'));
+			error(['package: ' package  ' in test: ' testname  ' not supported yet']);
+			%check solution
+		elseif ~(strcmpi(misfit,'absolute') | strcmpi(misfit,'relative') | strcmpi(misfit,'logarithmic')),
+			error(['misfit: ' misfit  ' in test: ' testname  ' not supported yet']);
+		end
+
+		%initialize model
+		md=model;
+		md=mesh(md,'DomainOutline.exp',9000);
+		md=geography(md,'Iceshelves.exp','Islands.exp');
+		md=parameterize(md,'Pig.par');
+		md=setelementstype(md,'macayeal','all');
+		if strcmpi(misfit,'absolute'),
+			md.fit(:)=0;
+		elseif strcmpi(misfit,'relative'),
+			md.fit(:)=1;
+		elseif strcmpi(misfit,'logarithmic'),
+			md.fit(:)=2;
+		end
+		if strcmpi(package,'cielo_parallel'), md.cluster='wilkes'; end
+
+		%launch control method
+		if (strcmpi(package,'cielo_parallel') | strcmpi(package,'cielo_serial')),
+			md=solve(md,'control','cielo');
+		else
+			md=solve(md,'control',package);
+		end
+
+		%compute field to be checked
+		fields={'cont_vel','cont_J','cont_parameter'};
+
+		%save new archive
+		for k=1:length(fields),
+			field=fields{k};
+			eval(['Archive' package misfit '_field' num2str(k) '=md.' field  ';']);
+		end
+		eval(['save Archive' package misfit ' Archive' package misfit '_field*']);
+	end
+end
