Changeset 25439
- Timestamp:
- 08/21/20 10:49:02 (5 years ago)
- Location:
- issm/trunk-jpl/src/c/analyses
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/AdjointBalancethickness2Analysis.cpp
r25379 r25439 74 74 /* Start looping on the number of gaussian points: */ 75 75 Gauss* gauss=element->NewGauss(2); 76 for(int ig=gauss->begin();ig<gauss->end();ig++){ 77 gauss->GaussPoint(ig); 76 while(gauss->next()){ 78 77 79 78 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 175 174 176 175 Gauss* gauss=element->NewGauss(2); 177 for(int ig=gauss->begin();ig<gauss->end();ig++){ 178 gauss->GaussPoint(ig); 176 while(gauss->next()){ 179 177 180 178 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 224 222 225 223 Gauss* gauss=element->NewGauss(2); 226 for(int ig=gauss->begin();ig<gauss->end();ig++){ 227 gauss->GaussPoint(ig); 224 while(gauss->next()){ 228 225 229 226 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 278 275 /* Start looping on the number of gaussian points: */ 279 276 Gauss* gauss=element->NewGauss(2); 280 for(int ig=gauss->begin();ig<gauss->end();ig++){ 281 gauss->GaussPoint(ig); 277 while(gauss->next()){ 282 278 283 279 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 328 324 /* Start looping on the number of gaussian points: */ 329 325 Gauss* gauss=element->NewGauss(2); 330 for(int ig=gauss->begin();ig<gauss->end();ig++){ 331 gauss->GaussPoint(ig); 326 while(gauss->next()){ 332 327 333 328 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/AdjointBalancethicknessAnalysis.cpp
r25379 r25439 94 94 /* Start looping on the number of gaussian points: */ 95 95 Gauss* gauss=basalelement->NewGauss(2); 96 for(int ig=gauss->begin();ig<gauss->end();ig++){ 97 gauss->GaussPoint(ig); 96 while(gauss->next()){ 98 97 99 98 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 288 287 /* Start looping on the number of gaussian points: */ 289 288 Gauss* gauss=element->NewGauss(4); 290 for(int ig=gauss->begin();ig<gauss->end();ig++){ 291 gauss->GaussPoint(ig); 289 while(gauss->next()){ 292 290 293 291 adjoint_input->GetInputDerivativeValue(&Dlambda[0],xyz_list,gauss); … … 335 333 /* Start looping on the number of gaussian points: */ 336 334 Gauss* gauss=element->NewGauss(4); 337 for(int ig=gauss->begin();ig<gauss->end();ig++){ 338 gauss->GaussPoint(ig); 335 while(gauss->next()){ 339 336 340 337 adjoint_input->GetInputDerivativeValue(&Dlambda[0],xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/AdjointHorizAnalysis.cpp
r25379 r25439 102 102 /* Start looping on the number of gaussian points: */ 103 103 Gauss* gauss=element->NewGauss(5); 104 for(int ig=gauss->begin();ig<gauss->end();ig++){ 105 gauss->GaussPoint(ig); 104 while(gauss->next()){ 106 105 107 106 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 179 178 /* Start looping on the number of gaussian points: */ 180 179 Gauss* gauss=element->NewGauss(5); 181 for(int ig=gauss->begin();ig<gauss->end();ig++){ 182 gauss->GaussPoint(ig); 180 while(gauss->next()){ 183 181 184 182 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 285 283 /* Start looping on the number of gaussian points: */ 286 284 Gauss* gauss=basalelement->NewGauss(2); 287 for(int ig=gauss->begin();ig<gauss->end();ig++){ 288 gauss->GaussPoint(ig); 285 while(gauss->next()){ 289 286 290 287 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 397 394 /* Start looping on the number of gaussian points: */ 398 395 Gauss* gauss=element->NewGaussTop(4); 399 for(int ig=gauss->begin();ig<gauss->end();ig++){ 400 gauss->GaussPoint(ig); 396 while(gauss->next()){ 401 397 402 398 element->JacobianDeterminantTop(&Jdet,xyz_list_top,gauss); … … 636 632 /* Start looping on the number of gaussian points: */ 637 633 Gauss* gauss=element->NewGaussTop(4); 638 for(int ig=gauss->begin();ig<gauss->end();ig++){ 639 gauss->GaussPoint(ig); 634 while(gauss->next()){ 640 635 641 636 element->JacobianDeterminantTop(&Jdet,xyz_list_top,gauss); … … 889 884 /* Start looping on the number of gaussian points: */ 890 885 Gauss* gauss=basalelement->NewGauss(4); 891 for(int ig=gauss->begin();ig<gauss->end();ig++){ 892 gauss->GaussPoint(ig); 886 while(gauss->next()){ 893 887 894 888 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 1228 1222 /* Start looping on the number of gaussian points: */ 1229 1223 Gauss* gauss=basalelement->NewGauss(2); 1230 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1231 gauss->GaussPoint(ig); 1224 while(gauss->next()){ 1232 1225 1233 1226 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 1321 1314 /* Start looping on the number of gaussian points: */ 1322 1315 Gauss* gauss=basalelement->NewGauss(4); 1323 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1324 gauss->GaussPoint(ig); 1316 while(gauss->next()){ 1325 1317 1326 1318 thickness_input->GetInputValue(&thickness,gauss); … … 1413 1405 /* Start looping on the number of gaussian points: */ 1414 1406 Gauss* gauss=element->NewGauss(2); 1415 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1416 gauss->GaussPoint(ig); 1407 while(gauss->next()){ 1417 1408 element->JacobianDeterminant(&Jdet,xyz_list,gauss); 1418 1409 element->NodalFunctionsP1Derivatives(dbasis,xyz_list,gauss); … … 1481 1472 /* Start looping on the number of gaussian points: */ 1482 1473 Gauss* gauss=element->NewGauss(2); 1483 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1484 gauss->GaussPoint(ig); 1474 while(gauss->next()){ 1485 1475 element->JacobianDeterminant(&Jdet,xyz_list,gauss); 1486 1476 element->NodalFunctionsP1(basis,gauss); … … 1542 1532 /* Start looping on the number of gaussian points: */ 1543 1533 Gauss* gauss=element->NewGauss(4); 1544 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1545 gauss->GaussPoint(ig); 1534 while(gauss->next()){ 1546 1535 1547 1536 thickness_input->GetInputValue(&thickness,gauss); … … 1634 1623 /* Start looping on the number of gaussian points: */ 1635 1624 Gauss* gauss=basalelement->NewGauss(4); 1636 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1637 gauss->GaussPoint(ig); 1625 while(gauss->next()){ 1638 1626 1639 1627 thickness_input->GetInputValue(&thickness,gauss); … … 1729 1717 /* Start looping on the number of gaussian points: */ 1730 1718 Gauss* gauss=basalelement->NewGauss(2); 1731 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1732 gauss->GaussPoint(ig); 1719 while(gauss->next()){ 1733 1720 1734 1721 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 1807 1794 /* Start looping on the number of gaussian points: */ 1808 1795 Gauss* gauss=element->NewGaussBase(4); 1809 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1810 gauss->GaussPoint(ig); 1796 while(gauss->next()){ 1811 1797 1812 1798 adjointx_input->GetInputValue(&lambda, gauss); … … 1903 1889 /* Start looping on the number of gaussian points: */ 1904 1890 Gauss* gauss=element->NewGaussBase(4); 1905 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1906 gauss->GaussPoint(ig); 1891 while(gauss->next()){ 1907 1892 1908 1893 adjointx_input->GetInputValue(&lambda, gauss); … … 2008 1993 /* Start looping on the number of gaussian points: */ 2009 1994 Gauss* gauss=basalelement->NewGauss(4); 2010 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2011 gauss->GaussPoint(ig); 1995 while(gauss->next()){ 2012 1996 2013 1997 adjointx_input->GetInputValue(&lambda, gauss); … … 2084 2068 /* Start looping on the number of gaussian points: */ 2085 2069 Gauss* gauss=element->NewGaussBase(4); 2086 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2087 gauss->GaussPoint(ig); 2070 while(gauss->next()){ 2088 2071 2089 2072 adjointx_input->GetInputValue(&lambda, gauss); … … 2178 2161 /* Start looping on the number of gaussian points: */ 2179 2162 Gauss* gauss=element->NewGaussBase(4); 2180 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2181 gauss->GaussPoint(ig); 2163 while(gauss->next()){ 2182 2164 2183 2165 adjointx_input->GetInputValue(&lambda, gauss); … … 2283 2265 /* Start looping on the number of gaussian points: */ 2284 2266 Gauss* gauss=basalelement->NewGauss(4); 2285 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2286 gauss->GaussPoint(ig); 2267 while(gauss->next()){ 2287 2268 2288 2269 adjointx_input->GetInputValue(&lambda, gauss); … … 2387 2368 /* Start looping on the number of gaussian points: */ 2388 2369 Gauss* gauss=basalelement->NewGauss(4); 2389 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2390 gauss->GaussPoint(ig); 2370 while(gauss->next()){ 2391 2371 2392 2372 thickness_input->GetInputValue(&thickness,gauss); -
issm/trunk-jpl/src/c/analyses/Balancethickness2Analysis.cpp
r25379 r25439 90 90 /* Start looping on the number of gaussian points: */ 91 91 Gauss* gauss=element->NewGauss(2); 92 for(int ig=gauss->begin();ig<gauss->end();ig++){ 93 gauss->GaussPoint(ig); 92 while(gauss->next()){ 94 93 element->NodalFunctionsDerivatives(dbasis,xyz_list,gauss); 95 94 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 148 147 /* Start looping on the number of gaussian points: */ 149 148 Gauss* gauss=element->NewGauss(2); 150 for(int ig=gauss->begin();ig<gauss->end();ig++){ 151 gauss->GaussPoint(ig); 149 while(gauss->next()){ 152 150 153 151 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/BalancethicknessAnalysis.cpp
r25379 r25439 186 186 /* Start looping on the number of gaussian points: */ 187 187 Gauss* gauss=element->NewGauss(2); 188 for(int ig=gauss->begin();ig<gauss->end();ig++){ 189 gauss->GaussPoint(ig); 188 while(gauss->next()){ 190 189 191 190 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 284 283 /* Start looping on the number of gaussian points: */ 285 284 Gauss* gauss=element->NewGauss(2); 286 for(int ig=gauss->begin();ig<gauss->end();ig++){ 287 gauss->GaussPoint(ig); 285 while(gauss->next()){ 288 286 289 287 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 361 359 /* Start looping on the number of gaussian points: */ 362 360 Gauss* gauss=element->NewGauss(2); 363 for(int ig=gauss->begin();ig<gauss->end();ig++){ 364 gauss->GaussPoint(ig); 361 while(gauss->next()){ 365 362 366 363 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 402 399 /* Start looping on the number of gaussian points: */ 403 400 Gauss* gauss=element->NewGauss(2); 404 for(int ig=gauss->begin();ig<gauss->end();ig++){ 405 gauss->GaussPoint(ig); 401 while(gauss->next()){ 406 402 407 403 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 468 464 /* Start looping on the number of gaussian points: */ 469 465 Gauss* gauss=element->NewGauss(4); 470 for(int ig=gauss->begin();ig<gauss->end();ig++){ 471 gauss->GaussPoint(ig); 466 while(gauss->next()){ 472 467 473 468 thickness_input->GetInputValue(&thickness, gauss); -
issm/trunk-jpl/src/c/analyses/BalancevelocityAnalysis.cpp
r25379 r25439 106 106 /*Start looping on the number of gaussian points:*/ 107 107 Gauss* gauss=element->NewGauss(2); 108 for(int ig=gauss->begin();ig<gauss->end();ig++){ 109 gauss->GaussPoint(ig); 108 while(gauss->next()){ 110 109 111 110 H_input->GetInputValue(&thickness,gauss); … … 200 199 /* Start looping on the number of gaussian points: */ 201 200 Gauss* gauss=basalelement->NewGauss(2); 202 for(int ig=gauss->begin();ig<gauss->end();ig++){ 203 gauss->GaussPoint(ig); 201 while(gauss->next()){ 204 202 205 203 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/DamageEvolutionAnalysis.cpp
r25379 r25439 472 472 /* Start looping on the number of gaussian points: */ 473 473 Gauss* gauss=element->NewGauss(2); 474 for(int ig=gauss->begin();ig<gauss->end();ig++){ 475 gauss->GaussPoint(ig); 474 while(gauss->next()){ 476 475 477 476 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 655 654 /* Start looping on the number of gaussian points: */ 656 655 Gauss* gauss=element->NewGauss(2); 657 for(int ig=gauss->begin();ig<gauss->end();ig++){ 658 gauss->GaussPoint(ig); 656 while(gauss->next()){ 659 657 660 658 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 749 747 /* Start looping on the number of gaussian points: */ 750 748 Gauss* gauss=element->NewGauss(2); 751 for(int ig=gauss->begin();ig<gauss->end();ig++){ 752 gauss->GaussPoint(ig); 749 while(gauss->next()){ 753 750 754 751 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 795 792 /* Start looping on the number of gaussian points: */ 796 793 Gauss* gauss=element->NewGauss(2); 797 for(int ig=gauss->begin();ig<gauss->end();ig++){ 798 gauss->GaussPoint(ig); 799 794 while(gauss->next()){ 800 795 element->JacobianDeterminant(&Jdet,xyz_list,gauss); 801 796 element->NodalFunctions(basis,gauss); -
issm/trunk-jpl/src/c/analyses/DepthAverageAnalysis.cpp
r25379 r25439 70 70 /* Start looping on the number of gaussian points: */ 71 71 Gauss* gauss=element->NewGauss(2); 72 for(int ig=gauss->begin();ig<gauss->end();ig++){ 73 gauss->GaussPoint(ig); 72 while(gauss->next()){ 74 73 75 74 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 118 117 /* Start looping on the number of gaussian points: */ 119 118 Gauss* gauss=element->NewGauss(3); 120 for(int ig=gauss->begin();ig<gauss->end();ig++){ 121 gauss->GaussPoint(ig); 119 while(gauss->next()){ 122 120 123 121 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/ExtrapolationAnalysis.cpp
r25379 r25439 138 138 /* Start looping on the number of gaussian points: */ 139 139 Gauss* gauss=workelement->NewGauss(2); 140 for(int ig=gauss->begin();ig<gauss->end();ig++){ 141 gauss->GaussPoint(ig); 140 while(gauss->next()){ 142 141 143 142 workelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/ExtrudeFromBaseAnalysis.cpp
r25379 r25439 69 69 /* Start looping on the number of gaussian points: */ 70 70 Gauss* gauss=element->NewGauss(2); 71 for(int ig=gauss->begin();ig<gauss->end();ig++){ 72 gauss->GaussPoint(ig); 71 while(gauss->next()){ 73 72 74 73 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/ExtrudeFromTopAnalysis.cpp
r25379 r25439 69 69 /* Start looping on the number of gaussian points: */ 70 70 Gauss* gauss=element->NewGauss(2); 71 for(int ig=gauss->begin();ig<gauss->end();ig++){ 72 gauss->GaussPoint(ig); 71 while(gauss->next()){ 73 72 74 73 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/FreeSurfaceBaseAnalysis.cpp
r25379 r25439 183 183 /* Start looping on the number of gaussian points: */ 184 184 Gauss* gauss=basalelement->NewGauss(2); 185 for(int ig=gauss->begin();ig<gauss->end();ig++){ 186 gauss->GaussPoint(ig); 185 while(gauss->next()){ 187 186 188 187 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 320 319 /* Start looping on the number of gaussian points: */ 321 320 Gauss* gauss=basalelement->NewGauss(2); 322 for(int ig=gauss->begin();ig<gauss->end();ig++){ 323 gauss->GaussPoint(ig); 321 while(gauss->next()){ 324 322 325 323 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/FreeSurfaceTopAnalysis.cpp
r25379 r25439 159 159 /* Start looping on the number of gaussian points: */ 160 160 Gauss* gauss=topelement->NewGauss(2); 161 for(int ig=gauss->begin();ig<gauss->end();ig++){ 162 gauss->GaussPoint(ig); 161 while(gauss->next()){ 163 162 164 163 topelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 298 297 /* Start looping on the number of gaussian points: */ 299 298 Gauss* gauss=topelement->NewGauss(2); 300 for(int ig=gauss->begin();ig<gauss->end();ig++){ 301 gauss->GaussPoint(ig); 299 while(gauss->next()){ 302 300 303 301 topelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/GLheightadvectionAnalysis.cpp
r25379 r25439 103 103 /* Start looping on the number of gaussian points: */ 104 104 Gauss* gauss=basalelement->NewGauss(4); 105 for(int ig=gauss->begin();ig<gauss->end();ig++){ 106 gauss->GaussPoint(ig); 105 while(gauss->next()){ 107 106 108 107 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/HydrologyDCEfficientAnalysis.cpp
r25379 r25439 215 215 /* Start looping on the number of gaussian points: */ 216 216 Gauss* gauss = basalelement->NewGauss(2); 217 for(int ig=gauss->begin();ig<gauss->end();ig++){ 218 gauss ->GaussPoint(ig); 217 while(gauss->next()){ 219 218 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); 220 219 basalelement->NodalFunctionsDerivatives(dbasis,xyz_list,gauss); … … 339 338 /* Start looping on the number of gaussian points: */ 340 339 Gauss* gauss = basalelement->NewGauss(2); 341 for(int ig=gauss->begin();ig<gauss->end();ig++){ 342 gauss->GaussPoint(ig); 340 while(gauss->next()){ 343 341 basalelement ->JacobianDeterminant(&Jdet,xyz_list,gauss); 344 342 basalelement ->NodalFunctions(basis,gauss); -
issm/trunk-jpl/src/c/analyses/HydrologyDCInefficientAnalysis.cpp
r25379 r25439 245 245 /* Start looping on the number of gaussian points: */ 246 246 Gauss* gauss=basalelement->NewGauss(2); 247 248 for(int ig=gauss -> begin();ig<gauss->end();ig++){ 249 gauss ->GaussPoint(ig); 247 while(gauss->next()){ 250 248 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); 251 249 basalelement->NodalFunctionsDerivatives(dbasis,xyz_list,gauss); … … 384 382 /* Start looping on the number of gaussian points: */ 385 383 Gauss* gauss=basalelement->NewGauss(2); 386 387 for(int ig=gauss->begin();ig<gauss->end();ig++){ 388 gauss->GaussPoint(ig); 384 while(gauss->next()){ 389 385 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); 390 386 basalelement->NodalFunctions(basis,gauss); -
issm/trunk-jpl/src/c/analyses/HydrologyShreveAnalysis.cpp
r25379 r25439 177 177 /* Start looping on the number of gaussian points: */ 178 178 Gauss* gauss=element->NewGauss(2); 179 for(int ig=gauss->begin();ig<gauss->end();ig++){ 180 gauss->GaussPoint(ig); 179 while(gauss->next()){ 181 180 182 181 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 255 254 /* Start looping on the number of gaussian points: */ 256 255 Gauss* gauss=element->NewGauss(2); 257 for(int ig=gauss->begin();ig<gauss->end();ig++){ 258 gauss->GaussPoint(ig); 256 while(gauss->next()){ 259 257 260 258 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/L2ProjectionBaseAnalysis.cpp
r25379 r25439 102 102 /* Start looping on the number of gaussian points: */ 103 103 Gauss* gauss=basalelement->NewGauss(2); 104 for(int ig=gauss->begin();ig<gauss->end();ig++){ 105 gauss->GaussPoint(ig); 104 while(gauss->next()){ 106 105 107 106 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 172 171 /* Start looping on the number of gaussian points: */ 173 172 Gauss* gauss=basalelement->NewGauss(2); 174 for(int ig=gauss->begin();ig<gauss->end();ig++){ 175 gauss->GaussPoint(ig); 173 while(gauss->next()){ 176 174 177 175 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/L2ProjectionEPLAnalysis.cpp
r25379 r25439 132 132 /* Start looping on the number of gaussian points: */ 133 133 Gauss* gauss=basalelement->NewGauss(2); 134 for(int ig=gauss->begin();ig<gauss->end();ig++){ 135 gauss->GaussPoint(ig); 134 while(gauss->next()){ 136 135 137 136 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 203 202 /* Start looping on the number of gaussian points: */ 204 203 Gauss* gauss=basalelement->NewGauss(2); 205 for(int ig=gauss->begin();ig<gauss->end();ig++){ 206 gauss->GaussPoint(ig); 204 while(gauss->next()){ 207 205 208 206 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/LevelsetAnalysis.cpp
r25379 r25439 308 308 /* Start looping on the number of gaussian points: */ 309 309 Gauss* gauss=basalelement->NewGauss(2); 310 for(int ig=gauss->begin();ig<gauss->end();ig++){ 311 gauss->GaussPoint(ig); 310 while(gauss->next()){ 312 311 313 312 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 551 550 552 551 /*Intermediaries */ 553 int i, ig,domaintype;552 int domaintype; 554 553 IssmDouble Jdet,dt; 555 554 IssmDouble lsf; … … 573 572 /* Start looping on the number of gaussian points: */ 574 573 Gauss* gauss=basalelement->NewGauss(2); 575 for(ig=gauss->begin();ig<gauss->end();ig++){ 576 gauss->GaussPoint(ig); 577 574 while(gauss->next()){ 578 575 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); 579 576 basalelement->NodalFunctions(basis,gauss); … … 581 578 /* old function value */ 582 579 levelset_input->GetInputValue(&lsf,gauss); 583 for(i =0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*lsf*basis[i];580 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*lsf*basis[i]; 584 581 } 585 582 -
issm/trunk-jpl/src/c/analyses/MasstransportAnalysis.cpp
r25379 r25439 328 328 /* Start looping on the number of gaussian points: */ 329 329 Gauss* gauss=element->NewGauss(2); 330 for(int ig=gauss->begin();ig<gauss->end();ig++){ 331 gauss->GaussPoint(ig); 330 while(gauss->next()){ 332 331 333 332 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 517 516 /* Start looping on the number of gaussian points: */ 518 517 Gauss* gauss=element->NewGauss(2); 519 for(int ig=gauss->begin();ig<gauss->end();ig++){ 520 gauss->GaussPoint(ig); 518 while(gauss->next()){ 521 519 522 520 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 642 640 643 641 /* Start looping on the number of gaussian points: */ 644 for(int ig=gauss->begin();ig<gauss->end();ig++){ 645 gauss->GaussPoint(ig); 642 while(gauss->next()){ 646 643 647 644 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 748 745 749 746 /* Start looping on the number of gaussian points: */ 750 for(int ig=gauss->begin();ig<gauss->end();ig++){ 751 gauss->GaussPoint(ig); 747 while(gauss->next()){ 752 748 753 749 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 953 949 /* Start looping on the number of gaussian points: */ 954 950 Gauss* gauss=element->NewGauss(2); 955 for(int ig=gauss->begin();ig<gauss->end();ig++){ 956 gauss->GaussPoint(ig); 951 while(gauss->next()){ 957 952 958 953 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 1006 1001 /* Start looping on the number of gaussian points: */ 1007 1002 Gauss* gauss=element->NewGauss(2); 1008 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1009 gauss->GaussPoint(ig); 1003 while(gauss->next()){ 1010 1004 1011 1005 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 1079 1073 1080 1074 /* Start looping on the number of gaussian points: */ 1081 for(int ig=gauss->begin();ig<gauss->end();ig++){ 1082 gauss->GaussPoint(ig); 1075 while(gauss->next()){ 1083 1076 1084 1077 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/MeltingAnalysis.cpp
r25379 r25439 102 102 /* Start looping on the number of gaussian points: */ 103 103 Gauss* gauss=basalelement->NewGauss(2); 104 for(int ig=gauss->begin();ig<gauss->end();ig++){ 105 gauss->GaussPoint(ig); 104 while(gauss->next()){ 106 105 107 106 basalelement->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/SmoothAnalysis.cpp
r25379 r25439 74 74 /* Start looping on the number of gaussian points: */ 75 75 Gauss* gauss=element->NewGauss(2); 76 for(int ig=gauss->begin();ig<gauss->end();ig++){ 77 gauss->GaussPoint(ig); 76 while(gauss->next()){ 78 77 79 78 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 155 154 /* Start looping on the number of gaussian points: */ 156 155 Gauss* gauss=element->NewGauss(2); 157 for(int ig=gauss->begin();ig<gauss->end();ig++){ 158 gauss->GaussPoint(ig); 156 while(gauss->next()){ 159 157 160 158 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/StressbalanceSIAAnalysis.cpp
r25379 r25439 444 444 445 445 Gauss* gauss=element->NewGaussLine(nodedown,nodeup,3); 446 for(int ig=gauss->begin();ig<gauss->end();ig++){ 447 gauss->GaussPoint(ig); 446 while(gauss->next()){ 448 447 449 448 B_input->GetInputValue(&B,gauss); -
issm/trunk-jpl/src/c/analyses/ThermalAnalysis.cpp
r25379 r25439 354 354 /* Start looping on the number of gaussian points: */ 355 355 Gauss* gauss=element->NewGaussBase(4); 356 for(int ig=gauss->begin();ig<gauss->end();ig++){ 357 gauss->GaussPoint(ig); 356 while(gauss->next()){ 358 357 359 358 element->JacobianDeterminantBase(&Jdet,xyz_list_base,gauss); … … 412 411 /* Start looping on the number of gaussian points: */ 413 412 Gauss* gauss=element->NewGauss(4); 414 for(int ig=gauss->begin();ig<gauss->end();ig++){ 415 gauss->GaussPoint(ig); 413 while(gauss->next()){ 416 414 417 415 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 564 562 /* Start looping on the number of gaussian points: */ 565 563 Gauss* gauss = element->NewGaussBase(4); 566 for(int ig=gauss->begin();ig<gauss->end();ig++){ 567 gauss->GaussPoint(ig); 564 while(gauss->next()){ 568 565 569 566 element->JacobianDeterminantBase(&Jdet,xyz_list_base,gauss); … … 623 620 /* Start looping on the number of gaussian points: */ 624 621 Gauss* gauss=element->NewGaussBase(4); 625 for(int ig=gauss->begin();ig<gauss->end();ig++){ 626 gauss->GaussPoint(ig); 622 while(gauss->next()){ 627 623 628 624 element->JacobianDeterminantBase(&Jdet,xyz_list_base,gauss); … … 683 679 /* Start looping on the number of gaussian points: */ 684 680 Gauss* gauss=element->NewGauss(4); 685 for(int ig=gauss->begin();ig<gauss->end();ig++){ 686 gauss->GaussPoint(ig); 681 while(gauss->next()){ 687 682 688 683 element->JacobianDeterminant(&Jdet,xyz_list,gauss); -
issm/trunk-jpl/src/c/analyses/UzawaPressureAnalysis.cpp
r25379 r25439 87 87 88 88 //Gauss* gauss = element->NewGauss(5); 89 //for(int ig=gauss->begin();ig<gauss->end();ig++){ 90 // gauss->GaussPoint(ig); 91 89 //while(gauss->next()){ 92 90 // element->JacobianDeterminant(&Jdet,xyz_list,gauss); 93 91 // this->GetM(M,element,gauss); … … 136 134 137 135 Gauss* gauss = element->NewGauss(5); 138 for(int ig=gauss->begin();ig<gauss->end();ig++){ 139 gauss->GaussPoint(ig); 136 while(gauss->next()){ 140 137 141 138 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 251 248 delete gauss; 252 249 gauss = element->NewGaussBase(3); 253 for(int ig=gauss->begin();ig<gauss->end();ig++){ 254 gauss->GaussPoint(ig); 250 while(gauss->next()){ 255 251 256 252 /*Compute Jlambda*/
Note:
See TracChangeset
for help on using the changeset viewer.