Changeset 23108
- Timestamp:
- 08/17/18 11:44:26 (7 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/configure.ac
r23107 r23108 3 3 #AUTOCONF 4 4 AC_INIT([Ice Sheet System Model (ISSM)],[4.14],[issm@jpl.nasa.gov],[issm],[http://issm.jpl.nasa.gov]) #Initializing configure 5 AC_CONFIG_AUX_DIR([./aux-config]) #Put config files in aux-config6 AC_CONFIG_MACRO_DIR([m4]) #m4 macros are located in m45 AC_CONFIG_AUX_DIR([./aux-config]) #Put config files in aux-config 6 AC_CONFIG_MACRO_DIR([m4]) #m4 macros are located in m4 7 7 m4_include([m4/issm_options.m4]) 8 8 … … 25 25 #Initialize automake and declare foreign so that we don't need a ChangeLog, INSTALL, etc 26 26 AM_INIT_AUTOMAKE([foreign]) 27 AC_CONFIG_HEADERS([./config.h]) #Config file must be config.h27 AC_CONFIG_HEADERS([./config.h]) #Config file must be config.h 28 28 AM_SILENT_RULES([yes]) #Do not show compilation command by default 29 29 AM_PROG_AR -
issm/trunk-jpl/etc/environment.sh
r23107 r23108 235 235 236 236 PYTHON_DIR="$ISSM_DIR/externalpackages/python/install" 237 #if [ -d "$PYTHON_DIR" ]; then238 #export PYTHONPATH="$PYTHONPATH:$ISSM_DIR/lib"239 #pathprepend "$PYTHON_DIR/bin"240 #libpathprepend "$PYTHON_DIR/lib"241 #libpathprepend "$ISSM_DIR/lib"242 #fi237 if [ -d "$PYTHON_DIR" ]; then 238 export PYTHONPATH="$PYTHONPATH:$ISSM_DIR/lib" 239 pathprepend "$PYTHON_DIR/bin" 240 libpathprepend "$PYTHON_DIR/lib" 241 libpathprepend "$ISSM_DIR/lib" 242 fi 243 243 244 244 MODELE_DIR="$ISSM_DIR/externalpackages/modelE/install" -
issm/trunk-jpl/examples/Inversion/runme.m
r23107 r23108 1 step=1 :4;1 step=1; 2 2 if any(step==1) 3 3 %Generate observations -
issm/trunk-jpl/externalpackages/dem/dem.m
r23107 r23108 119 119 decim = 0; 120 120 121 %novalue_color = [0,0,0]; 122 novalue_color = [1,1,1]; 121 novalue_color = [0,0,0]; 123 122 124 123 if ~isnumeric(x) | ~isnumeric(y) | ~isnumeric(z) -
issm/trunk-jpl/m4/analyses.m4
r23107 r23108 11 11 12 12 dnl with-AdjointBalancethickness2{{{ 13 13 14 AC_ARG_WITH([AdjointBalancethickness2], 15 14 16 AS_HELP_STRING([--with-AdjointBalancethickness2 = YES], [compile with AdjointBalancethickness2 capabilities (default is yes)]), 17 15 18 [ADJOINTBALANCETHICKNESS2=$withval],[ADJOINTBALANCETHICKNESS2=yes]) 19 16 20 AC_MSG_CHECKING(for AdjointBalancethickness2 capability compilation) 17 21 22 18 23 HAVE_ADJOINTBALANCETHICKNESS2=no 24 19 25 if test "x$ADJOINTBALANCETHICKNESS2" = "xyes"; then 26 20 27 HAVE_ADJOINTBALANCETHICKNESS2=yes 28 21 29 AC_DEFINE([_HAVE_ADJOINTBALANCETHICKNESS2_],[1],[with AdjointBalancethickness2 capability]) 22 fi 30 31 fi 32 23 33 AM_CONDITIONAL([ADJOINTBALANCETHICKNESS2], [test x$HAVE_ADJOINTBALANCETHICKNESS2 = xyes]) 34 24 35 AC_MSG_RESULT($HAVE_ADJOINTBALANCETHICKNESS2) 36 25 37 dnl }}} 26 38 dnl with-AdjointBalancethickness{{{ 39 27 40 AC_ARG_WITH([AdjointBalancethickness], 41 28 42 AS_HELP_STRING([--with-AdjointBalancethickness = YES], [compile with AdjointBalancethickness capabilities (default is yes)]), 43 29 44 [ADJOINTBALANCETHICKNESS=$withval],[ADJOINTBALANCETHICKNESS=yes]) 45 30 46 AC_MSG_CHECKING(for AdjointBalancethickness capability compilation) 31 47 48 32 49 HAVE_ADJOINTBALANCETHICKNESS=no 50 33 51 if test "x$ADJOINTBALANCETHICKNESS" = "xyes"; then 52 34 53 HAVE_ADJOINTBALANCETHICKNESS=yes 54 35 55 AC_DEFINE([_HAVE_ADJOINTBALANCETHICKNESS_],[1],[with AdjointBalancethickness capability]) 36 fi 56 57 fi 58 37 59 AM_CONDITIONAL([ADJOINTBALANCETHICKNESS], [test x$HAVE_ADJOINTBALANCETHICKNESS = xyes]) 60 38 61 AC_MSG_RESULT($HAVE_ADJOINTBALANCETHICKNESS) 62 39 63 dnl }}} 40 64 dnl with-AdjointHoriz{{{ 65 41 66 AC_ARG_WITH([AdjointHoriz], 67 42 68 AS_HELP_STRING([--with-AdjointHoriz = YES], [compile with AdjointHoriz capabilities (default is yes)]), 69 43 70 [ADJOINTHORIZ=$withval],[ADJOINTHORIZ=yes]) 71 44 72 AC_MSG_CHECKING(for AdjointHoriz capability compilation) 45 73 74 46 75 HAVE_ADJOINTHORIZ=no 76 47 77 if test "x$ADJOINTHORIZ" = "xyes"; then 78 48 79 HAVE_ADJOINTHORIZ=yes 80 49 81 AC_DEFINE([_HAVE_ADJOINTHORIZ_],[1],[with AdjointHoriz capability]) 50 fi 82 83 fi 84 51 85 AM_CONDITIONAL([ADJOINTHORIZ], [test x$HAVE_ADJOINTHORIZ = xyes]) 86 52 87 AC_MSG_RESULT($HAVE_ADJOINTHORIZ) 88 53 89 dnl }}} 54 90 dnl with-Balancethickness2{{{ 91 55 92 AC_ARG_WITH([Balancethickness2], 93 56 94 AS_HELP_STRING([--with-Balancethickness2 = YES], [compile with Balancethickness2 capabilities (default is yes)]), 95 57 96 [BALANCETHICKNESS2=$withval],[BALANCETHICKNESS2=yes]) 97 58 98 AC_MSG_CHECKING(for Balancethickness2 capability compilation) 59 99 100 60 101 HAVE_BALANCETHICKNESS2=no 102 61 103 if test "x$BALANCETHICKNESS2" = "xyes"; then 104 62 105 HAVE_BALANCETHICKNESS2=yes 106 63 107 AC_DEFINE([_HAVE_BALANCETHICKNESS2_],[1],[with Balancethickness2 capability]) 64 fi 108 109 fi 110 65 111 AM_CONDITIONAL([BALANCETHICKNESS2], [test x$HAVE_BALANCETHICKNESS2 = xyes]) 112 66 113 AC_MSG_RESULT($HAVE_BALANCETHICKNESS2) 114 67 115 dnl }}} 68 116 dnl with-Balancethickness{{{ 117 69 118 AC_ARG_WITH([Balancethickness], 119 70 120 AS_HELP_STRING([--with-Balancethickness = YES], [compile with Balancethickness capabilities (default is yes)]), 121 71 122 [BALANCETHICKNESS=$withval],[BALANCETHICKNESS=yes]) 123 72 124 AC_MSG_CHECKING(for Balancethickness capability compilation) 73 125 126 74 127 HAVE_BALANCETHICKNESS=no 128 75 129 if test "x$BALANCETHICKNESS" = "xyes"; then 130 76 131 HAVE_BALANCETHICKNESS=yes 132 77 133 AC_DEFINE([_HAVE_BALANCETHICKNESS_],[1],[with Balancethickness capability]) 78 fi 134 135 fi 136 79 137 AM_CONDITIONAL([BALANCETHICKNESS], [test x$HAVE_BALANCETHICKNESS = xyes]) 138 80 139 AC_MSG_RESULT($HAVE_BALANCETHICKNESS) 140 81 141 dnl }}} 82 142 dnl with-BalancethicknessSoft{{{ 143 83 144 AC_ARG_WITH([BalancethicknessSoft], 145 84 146 AS_HELP_STRING([--with-BalancethicknessSoft = YES], [compile with BalancethicknessSoft capabilities (default is yes)]), 147 85 148 [BALANCETHICKNESSSOFT=$withval],[BALANCETHICKNESSSOFT=yes]) 149 86 150 AC_MSG_CHECKING(for BalancethicknessSoft capability compilation) 87 151 152 88 153 HAVE_BALANCETHICKNESSSOFT=no 154 89 155 if test "x$BALANCETHICKNESSSOFT" = "xyes"; then 156 90 157 HAVE_BALANCETHICKNESSSOFT=yes 158 91 159 AC_DEFINE([_HAVE_BALANCETHICKNESSSOFT_],[1],[with BalancethicknessSoft capability]) 92 fi 160 161 fi 162 93 163 AM_CONDITIONAL([BALANCETHICKNESSSOFT], [test x$HAVE_BALANCETHICKNESSSOFT = xyes]) 164 94 165 AC_MSG_RESULT($HAVE_BALANCETHICKNESSSOFT) 166 95 167 dnl }}} 96 168 dnl with-Balancevelocity{{{ 169 97 170 AC_ARG_WITH([Balancevelocity], 171 98 172 AS_HELP_STRING([--with-Balancevelocity = YES], [compile with Balancevelocity capabilities (default is yes)]), 173 99 174 [BALANCEVELOCITY=$withval],[BALANCEVELOCITY=yes]) 175 100 176 AC_MSG_CHECKING(for Balancevelocity capability compilation) 101 177 178 102 179 HAVE_BALANCEVELOCITY=no 180 103 181 if test "x$BALANCEVELOCITY" = "xyes"; then 182 104 183 HAVE_BALANCEVELOCITY=yes 184 105 185 AC_DEFINE([_HAVE_BALANCEVELOCITY_],[1],[with Balancevelocity capability]) 106 fi 186 187 fi 188 107 189 AM_CONDITIONAL([BALANCEVELOCITY], [test x$HAVE_BALANCEVELOCITY = xyes]) 190 108 191 AC_MSG_RESULT($HAVE_BALANCEVELOCITY) 192 109 193 dnl }}} 110 194 dnl with-DamageEvolution{{{ 195 111 196 AC_ARG_WITH([DamageEvolution], 197 112 198 AS_HELP_STRING([--with-DamageEvolution = YES], [compile with DamageEvolution capabilities (default is yes)]), 199 113 200 [DAMAGEEVOLUTION=$withval],[DAMAGEEVOLUTION=yes]) 201 114 202 AC_MSG_CHECKING(for DamageEvolution capability compilation) 115 203 204 116 205 HAVE_DAMAGEEVOLUTION=no 206 117 207 if test "x$DAMAGEEVOLUTION" = "xyes"; then 208 118 209 HAVE_DAMAGEEVOLUTION=yes 210 119 211 AC_DEFINE([_HAVE_DAMAGEEVOLUTION_],[1],[with DamageEvolution capability]) 120 fi 212 213 fi 214 121 215 AM_CONDITIONAL([DAMAGEEVOLUTION], [test x$HAVE_DAMAGEEVOLUTION = xyes]) 216 122 217 AC_MSG_RESULT($HAVE_DAMAGEEVOLUTION) 218 123 219 dnl }}} 124 220 dnl with-DepthAverage{{{ 221 125 222 AC_ARG_WITH([DepthAverage], 223 126 224 AS_HELP_STRING([--with-DepthAverage = YES], [compile with DepthAverage capabilities (default is yes)]), 225 127 226 [DEPTHAVERAGE=$withval],[DEPTHAVERAGE=yes]) 227 128 228 AC_MSG_CHECKING(for DepthAverage capability compilation) 129 229 230 130 231 HAVE_DEPTHAVERAGE=no 232 131 233 if test "x$DEPTHAVERAGE" = "xyes"; then 234 132 235 HAVE_DEPTHAVERAGE=yes 236 133 237 AC_DEFINE([_HAVE_DEPTHAVERAGE_],[1],[with DepthAverage capability]) 134 fi 238 239 fi 240 135 241 AM_CONDITIONAL([DEPTHAVERAGE], [test x$HAVE_DEPTHAVERAGE = xyes]) 242 136 243 AC_MSG_RESULT($HAVE_DEPTHAVERAGE) 244 137 245 dnl }}} 138 246 dnl with-Enthalpy{{{ 247 139 248 AC_ARG_WITH([Enthalpy], 249 140 250 AS_HELP_STRING([--with-Enthalpy = YES], [compile with Enthalpy capabilities (default is yes)]), 251 141 252 [ENTHALPY=$withval],[ENTHALPY=yes]) 253 142 254 AC_MSG_CHECKING(for Enthalpy capability compilation) 143 255 256 144 257 HAVE_ENTHALPY=no 258 145 259 if test "x$ENTHALPY" = "xyes"; then 260 146 261 HAVE_ENTHALPY=yes 262 147 263 AC_DEFINE([_HAVE_ENTHALPY_],[1],[with Enthalpy capability]) 148 fi 264 265 fi 266 149 267 AM_CONDITIONAL([ENTHALPY], [test x$HAVE_ENTHALPY = xyes]) 268 150 269 AC_MSG_RESULT($HAVE_ENTHALPY) 270 151 271 dnl }}} 152 272 dnl with-Esa{{{ 273 153 274 AC_ARG_WITH([Esa], 275 154 276 AS_HELP_STRING([--with-Esa = YES], [compile with Esa capabilities (default is yes)]), 277 155 278 [ESA=$withval],[ESA=yes]) 279 156 280 AC_MSG_CHECKING(for Esa capability compilation) 157 281 282 158 283 HAVE_ESA=no 284 159 285 if test "x$ESA" = "xyes"; then 286 160 287 HAVE_ESA=yes 288 161 289 AC_DEFINE([_HAVE_ESA_],[1],[with Esa capability]) 162 fi 290 291 fi 292 163 293 AM_CONDITIONAL([ESA], [test x$HAVE_ESA = xyes]) 294 164 295 AC_MSG_RESULT($HAVE_ESA) 296 165 297 dnl }}} 166 298 dnl with-Extrapolation{{{ 299 167 300 AC_ARG_WITH([Extrapolation], 301 168 302 AS_HELP_STRING([--with-Extrapolation = YES], [compile with Extrapolation capabilities (default is yes)]), 303 169 304 [EXTRAPOLATION=$withval],[EXTRAPOLATION=yes]) 305 170 306 AC_MSG_CHECKING(for Extrapolation capability compilation) 171 307 308 172 309 HAVE_EXTRAPOLATION=no 310 173 311 if test "x$EXTRAPOLATION" = "xyes"; then 312 174 313 HAVE_EXTRAPOLATION=yes 314 175 315 AC_DEFINE([_HAVE_EXTRAPOLATION_],[1],[with Extrapolation capability]) 176 fi 316 317 fi 318 177 319 AM_CONDITIONAL([EXTRAPOLATION], [test x$HAVE_EXTRAPOLATION = xyes]) 320 178 321 AC_MSG_RESULT($HAVE_EXTRAPOLATION) 322 179 323 dnl }}} 180 324 dnl with-ExtrudeFromBase{{{ 325 181 326 AC_ARG_WITH([ExtrudeFromBase], 327 182 328 AS_HELP_STRING([--with-ExtrudeFromBase = YES], [compile with ExtrudeFromBase capabilities (default is yes)]), 329 183 330 [EXTRUDEFROMBASE=$withval],[EXTRUDEFROMBASE=yes]) 331 184 332 AC_MSG_CHECKING(for ExtrudeFromBase capability compilation) 185 333 334 186 335 HAVE_EXTRUDEFROMBASE=no 336 187 337 if test "x$EXTRUDEFROMBASE" = "xyes"; then 338 188 339 HAVE_EXTRUDEFROMBASE=yes 340 189 341 AC_DEFINE([_HAVE_EXTRUDEFROMBASE_],[1],[with ExtrudeFromBase capability]) 190 fi 342 343 fi 344 191 345 AM_CONDITIONAL([EXTRUDEFROMBASE], [test x$HAVE_EXTRUDEFROMBASE = xyes]) 346 192 347 AC_MSG_RESULT($HAVE_EXTRUDEFROMBASE) 348 193 349 dnl }}} 194 350 dnl with-ExtrudeFromTop{{{ 351 195 352 AC_ARG_WITH([ExtrudeFromTop], 353 196 354 AS_HELP_STRING([--with-ExtrudeFromTop = YES], [compile with ExtrudeFromTop capabilities (default is yes)]), 355 197 356 [EXTRUDEFROMTOP=$withval],[EXTRUDEFROMTOP=yes]) 357 198 358 AC_MSG_CHECKING(for ExtrudeFromTop capability compilation) 199 359 360 200 361 HAVE_EXTRUDEFROMTOP=no 362 201 363 if test "x$EXTRUDEFROMTOP" = "xyes"; then 364 202 365 HAVE_EXTRUDEFROMTOP=yes 366 203 367 AC_DEFINE([_HAVE_EXTRUDEFROMTOP_],[1],[with ExtrudeFromTop capability]) 204 fi 368 369 fi 370 205 371 AM_CONDITIONAL([EXTRUDEFROMTOP], [test x$HAVE_EXTRUDEFROMTOP = xyes]) 372 206 373 AC_MSG_RESULT($HAVE_EXTRUDEFROMTOP) 374 207 375 dnl }}} 208 376 dnl with-FreeSurfaceBase{{{ 377 209 378 AC_ARG_WITH([FreeSurfaceBase], 379 210 380 AS_HELP_STRING([--with-FreeSurfaceBase = YES], [compile with FreeSurfaceBase capabilities (default is yes)]), 381 211 382 [FREESURFACEBASE=$withval],[FREESURFACEBASE=yes]) 383 212 384 AC_MSG_CHECKING(for FreeSurfaceBase capability compilation) 213 385 386 214 387 HAVE_FREESURFACEBASE=no 388 215 389 if test "x$FREESURFACEBASE" = "xyes"; then 390 216 391 HAVE_FREESURFACEBASE=yes 392 217 393 AC_DEFINE([_HAVE_FREESURFACEBASE_],[1],[with FreeSurfaceBase capability]) 218 fi 394 395 fi 396 219 397 AM_CONDITIONAL([FREESURFACEBASE], [test x$HAVE_FREESURFACEBASE = xyes]) 398 220 399 AC_MSG_RESULT($HAVE_FREESURFACEBASE) 400 221 401 dnl }}} 222 402 dnl with-FreeSurfaceTop{{{ 403 223 404 AC_ARG_WITH([FreeSurfaceTop], 405 224 406 AS_HELP_STRING([--with-FreeSurfaceTop = YES], [compile with FreeSurfaceTop capabilities (default is yes)]), 407 225 408 [FREESURFACETOP=$withval],[FREESURFACETOP=yes]) 409 226 410 AC_MSG_CHECKING(for FreeSurfaceTop capability compilation) 227 411 412 228 413 HAVE_FREESURFACETOP=no 414 229 415 if test "x$FREESURFACETOP" = "xyes"; then 416 230 417 HAVE_FREESURFACETOP=yes 418 231 419 AC_DEFINE([_HAVE_FREESURFACETOP_],[1],[with FreeSurfaceTop capability]) 232 fi 420 421 fi 422 233 423 AM_CONDITIONAL([FREESURFACETOP], [test x$HAVE_FREESURFACETOP = xyes]) 424 234 425 AC_MSG_RESULT($HAVE_FREESURFACETOP) 426 235 427 dnl }}} 236 428 dnl with-GLheightadvection{{{ 429 237 430 AC_ARG_WITH([GLheightadvection], 431 238 432 AS_HELP_STRING([--with-GLheightadvection = YES], [compile with GLheightadvection capabilities (default is yes)]), 433 239 434 [GLHEIGHTADVECTION=$withval],[GLHEIGHTADVECTION=yes]) 435 240 436 AC_MSG_CHECKING(for GLheightadvection capability compilation) 241 437 438 242 439 HAVE_GLHEIGHTADVECTION=no 440 243 441 if test "x$GLHEIGHTADVECTION" = "xyes"; then 442 244 443 HAVE_GLHEIGHTADVECTION=yes 444 245 445 AC_DEFINE([_HAVE_GLHEIGHTADVECTION_],[1],[with GLheightadvection capability]) 246 fi 446 447 fi 448 247 449 AM_CONDITIONAL([GLHEIGHTADVECTION], [test x$HAVE_GLHEIGHTADVECTION = xyes]) 450 248 451 AC_MSG_RESULT($HAVE_GLHEIGHTADVECTION) 452 249 453 dnl }}} 250 454 dnl with-GiaIvins{{{ 455 251 456 AC_ARG_WITH([GiaIvins], 457 252 458 AS_HELP_STRING([--with-GiaIvins = YES], [compile with GiaIvins capabilities (default is yes)]), 459 253 460 [GIAIVINS=$withval],[GIAIVINS=yes]) 461 254 462 AC_MSG_CHECKING(for GiaIvins capability compilation) 255 463 464 256 465 HAVE_GIAIVINS=no 466 257 467 if test "x$GIAIVINS" = "xyes"; then 468 258 469 HAVE_GIAIVINS=yes 470 259 471 AC_DEFINE([_HAVE_GIAIVINS_],[1],[with GiaIvins capability]) 260 fi 472 473 fi 474 261 475 AM_CONDITIONAL([GIAIVINS], [test x$HAVE_GIAIVINS = xyes]) 476 262 477 AC_MSG_RESULT($HAVE_GIAIVINS) 478 263 479 dnl }}} 264 480 dnl with-HydrologyDCEfficient{{{ 481 265 482 AC_ARG_WITH([HydrologyDCEfficient], 483 266 484 AS_HELP_STRING([--with-HydrologyDCEfficient = YES], [compile with HydrologyDCEfficient capabilities (default is yes)]), 485 267 486 [HYDROLOGYDCEFFICIENT=$withval],[HYDROLOGYDCEFFICIENT=yes]) 487 268 488 AC_MSG_CHECKING(for HydrologyDCEfficient capability compilation) 269 489 490 270 491 HAVE_HYDROLOGYDCEFFICIENT=no 492 271 493 if test "x$HYDROLOGYDCEFFICIENT" = "xyes"; then 494 272 495 HAVE_HYDROLOGYDCEFFICIENT=yes 496 273 497 AC_DEFINE([_HAVE_HYDROLOGYDCEFFICIENT_],[1],[with HydrologyDCEfficient capability]) 274 fi 498 499 fi 500 275 501 AM_CONDITIONAL([HYDROLOGYDCEFFICIENT], [test x$HAVE_HYDROLOGYDCEFFICIENT = xyes]) 502 276 503 AC_MSG_RESULT($HAVE_HYDROLOGYDCEFFICIENT) 504 277 505 dnl }}} 278 506 dnl with-HydrologyDCInefficient{{{ 507 279 508 AC_ARG_WITH([HydrologyDCInefficient], 509 280 510 AS_HELP_STRING([--with-HydrologyDCInefficient = YES], [compile with HydrologyDCInefficient capabilities (default is yes)]), 511 281 512 [HYDROLOGYDCINEFFICIENT=$withval],[HYDROLOGYDCINEFFICIENT=yes]) 513 282 514 AC_MSG_CHECKING(for HydrologyDCInefficient capability compilation) 283 515 516 284 517 HAVE_HYDROLOGYDCINEFFICIENT=no 518 285 519 if test "x$HYDROLOGYDCINEFFICIENT" = "xyes"; then 520 286 521 HAVE_HYDROLOGYDCINEFFICIENT=yes 522 287 523 AC_DEFINE([_HAVE_HYDROLOGYDCINEFFICIENT_],[1],[with HydrologyDCInefficient capability]) 288 fi 524 525 fi 526 289 527 AM_CONDITIONAL([HYDROLOGYDCINEFFICIENT], [test x$HAVE_HYDROLOGYDCINEFFICIENT = xyes]) 528 290 529 AC_MSG_RESULT($HAVE_HYDROLOGYDCINEFFICIENT) 530 291 531 dnl }}} 292 532 dnl with-HydrologyShreve{{{ 533 293 534 AC_ARG_WITH([HydrologyShreve], 535 294 536 AS_HELP_STRING([--with-HydrologyShreve = YES], [compile with HydrologyShreve capabilities (default is yes)]), 537 295 538 [HYDROLOGYSHREVE=$withval],[HYDROLOGYSHREVE=yes]) 539 296 540 AC_MSG_CHECKING(for HydrologyShreve capability compilation) 297 541 542 298 543 HAVE_HYDROLOGYSHREVE=no 544 299 545 if test "x$HYDROLOGYSHREVE" = "xyes"; then 546 300 547 HAVE_HYDROLOGYSHREVE=yes 548 301 549 AC_DEFINE([_HAVE_HYDROLOGYSHREVE_],[1],[with HydrologyShreve capability]) 302 fi 550 551 fi 552 303 553 AM_CONDITIONAL([HYDROLOGYSHREVE], [test x$HAVE_HYDROLOGYSHREVE = xyes]) 554 304 555 AC_MSG_RESULT($HAVE_HYDROLOGYSHREVE) 556 305 557 dnl }}} 306 558 dnl with-HydrologyShakti{{{ 559 307 560 AC_ARG_WITH([HydrologyShakti], 561 308 562 AS_HELP_STRING([--with-HydrologyShakti = YES], [compile with HydrologyShakti capabilities (default is yes)]), 563 309 564 [HYDROLOGYSHAKTI=$withval],[HYDROLOGYSHAKTI=yes]) 565 310 566 AC_MSG_CHECKING(for HydrologyShakti capability compilation) 311 567 568 312 569 HAVE_HYDROLOGYSHAKTI=no 570 313 571 if test "x$HYDROLOGYSHAKTI" = "xyes"; then 572 314 573 HAVE_HYDROLOGYSHAKTI=yes 574 315 575 AC_DEFINE([_HAVE_HYDROLOGYSHAKTI_],[1],[with HydrologyShakti capability]) 316 fi 576 577 fi 578 317 579 AM_CONDITIONAL([HYDROLOGYSHAKTI], [test x$HAVE_HYDROLOGYSHAKTI = xyes]) 580 318 581 AC_MSG_RESULT($HAVE_HYDROLOGYSHAKTI) 582 319 583 dnl }}} 320 584 dnl with-HydrologyPism{{{ 585 321 586 AC_ARG_WITH([HydrologyPism], 587 322 588 AS_HELP_STRING([--with-HydrologyPism = YES], [compile with HydrologyPism capabilities (default is yes)]), 589 323 590 [HYDROLOGYPISM=$withval],[HYDROLOGYPISM=yes]) 591 324 592 AC_MSG_CHECKING(for HydrologyPism capability compilation) 325 593 594 326 595 HAVE_HYDROLOGYPISM=no 596 327 597 if test "x$HYDROLOGYPISM" = "xyes"; then 598 328 599 HAVE_HYDROLOGYPISM=yes 600 329 601 AC_DEFINE([_HAVE_HYDROLOGYPISM_],[1],[with HydrologyPism capability]) 330 fi 602 603 fi 604 331 605 AM_CONDITIONAL([HYDROLOGYPISM], [test x$HAVE_HYDROLOGYPISM = xyes]) 606 332 607 AC_MSG_RESULT($HAVE_HYDROLOGYPISM) 608 333 609 dnl }}} 334 610 dnl with-L2ProjectionBase{{{ 611 335 612 AC_ARG_WITH([L2ProjectionBase], 613 336 614 AS_HELP_STRING([--with-L2ProjectionBase = YES], [compile with L2ProjectionBase capabilities (default is yes)]), 615 337 616 [L2PROJECTIONBASE=$withval],[L2PROJECTIONBASE=yes]) 617 338 618 AC_MSG_CHECKING(for L2ProjectionBase capability compilation) 339 619 620 340 621 HAVE_L2PROJECTIONBASE=no 622 341 623 if test "x$L2PROJECTIONBASE" = "xyes"; then 624 342 625 HAVE_L2PROJECTIONBASE=yes 626 343 627 AC_DEFINE([_HAVE_L2PROJECTIONBASE_],[1],[with L2ProjectionBase capability]) 344 fi 628 629 fi 630 345 631 AM_CONDITIONAL([L2PROJECTIONBASE], [test x$HAVE_L2PROJECTIONBASE = xyes]) 632 346 633 AC_MSG_RESULT($HAVE_L2PROJECTIONBASE) 634 347 635 dnl }}} 348 636 dnl with-L2ProjectionEPL{{{ 637 349 638 AC_ARG_WITH([L2ProjectionEPL], 639 350 640 AS_HELP_STRING([--with-L2ProjectionEPL = YES], [compile with L2ProjectionEPL capabilities (default is yes)]), 641 351 642 [L2PROJECTIONEPL=$withval],[L2PROJECTIONEPL=yes]) 643 352 644 AC_MSG_CHECKING(for L2ProjectionEPL capability compilation) 353 645 646 354 647 HAVE_L2PROJECTIONEPL=no 648 355 649 if test "x$L2PROJECTIONEPL" = "xyes"; then 650 356 651 HAVE_L2PROJECTIONEPL=yes 652 357 653 AC_DEFINE([_HAVE_L2PROJECTIONEPL_],[1],[with L2ProjectionEPL capability]) 358 fi 654 655 fi 656 359 657 AM_CONDITIONAL([L2PROJECTIONEPL], [test x$HAVE_L2PROJECTIONEPL = xyes]) 658 360 659 AC_MSG_RESULT($HAVE_L2PROJECTIONEPL) 660 361 661 dnl }}} 362 662 dnl with-Levelset{{{ 663 363 664 AC_ARG_WITH([Levelset], 665 364 666 AS_HELP_STRING([--with-Levelset = YES], [compile with Levelset capabilities (default is yes)]), 667 365 668 [LEVELSET=$withval],[LEVELSET=yes]) 669 366 670 AC_MSG_CHECKING(for Levelset capability compilation) 367 671 672 368 673 HAVE_LEVELSET=no 674 369 675 if test "x$LEVELSET" = "xyes"; then 676 370 677 HAVE_LEVELSET=yes 678 371 679 AC_DEFINE([_HAVE_LEVELSET_],[1],[with Levelset capability]) 372 fi 680 681 fi 682 373 683 AM_CONDITIONAL([LEVELSET], [test x$HAVE_LEVELSET = xyes]) 684 374 685 AC_MSG_RESULT($HAVE_LEVELSET) 686 375 687 dnl }}} 376 688 dnl with-Love{{{ 689 377 690 AC_ARG_WITH([Love], 691 378 692 AS_HELP_STRING([--with-Love = YES], [compile with Love capabilities (default is yes)]), 693 379 694 [LOVE=$withval],[LOVE=yes]) 695 380 696 AC_MSG_CHECKING(for Love capability compilation) 381 697 698 382 699 HAVE_LOVE=no 700 383 701 if test "x$LOVE" = "xyes"; then 702 384 703 HAVE_LOVE=yes 704 385 705 AC_DEFINE([_HAVE_LOVE_],[1],[with Love capability]) 386 fi 706 707 fi 708 387 709 AM_CONDITIONAL([LOVE], [test x$HAVE_LOVE = xyes]) 710 388 711 AC_MSG_RESULT($HAVE_LOVE) 712 389 713 dnl }}} 390 714 dnl with-Masstransport{{{ 715 391 716 AC_ARG_WITH([Masstransport], 717 392 718 AS_HELP_STRING([--with-Masstransport = YES], [compile with Masstransport capabilities (default is yes)]), 719 393 720 [MASSTRANSPORT=$withval],[MASSTRANSPORT=yes]) 721 394 722 AC_MSG_CHECKING(for Masstransport capability compilation) 395 723 724 396 725 HAVE_MASSTRANSPORT=no 726 397 727 if test "x$MASSTRANSPORT" = "xyes"; then 728 398 729 HAVE_MASSTRANSPORT=yes 730 399 731 AC_DEFINE([_HAVE_MASSTRANSPORT_],[1],[with Masstransport capability]) 400 fi 732 733 fi 734 401 735 AM_CONDITIONAL([MASSTRANSPORT], [test x$HAVE_MASSTRANSPORT = xyes]) 736 402 737 AC_MSG_RESULT($HAVE_MASSTRANSPORT) 738 403 739 dnl }}} 404 740 dnl with-Melting{{{ 741 405 742 AC_ARG_WITH([Melting], 743 406 744 AS_HELP_STRING([--with-Melting = YES], [compile with Melting capabilities (default is yes)]), 745 407 746 [MELTING=$withval],[MELTING=yes]) 747 408 748 AC_MSG_CHECKING(for Melting capability compilation) 409 749 750 410 751 HAVE_MELTING=no 752 411 753 if test "x$MELTING" = "xyes"; then 754 412 755 HAVE_MELTING=yes 756 413 757 AC_DEFINE([_HAVE_MELTING_],[1],[with Melting capability]) 414 fi 758 759 fi 760 415 761 AM_CONDITIONAL([MELTING], [test x$HAVE_MELTING = xyes]) 762 416 763 AC_MSG_RESULT($HAVE_MELTING) 764 417 765 dnl }}} 418 766 dnl with-Sealevelrise{{{ 767 419 768 AC_ARG_WITH([Sealevelrise], 769 420 770 AS_HELP_STRING([--with-Sealevelrise = YES], [compile with Sealevelrise capabilities (default is yes)]), 771 421 772 [SEALEVELRISE=$withval],[SEALEVELRISE=yes]) 773 422 774 AC_MSG_CHECKING(for Sealevelrise capability compilation) 423 775 776 424 777 HAVE_SEALEVELRISE=no 778 425 779 if test "x$SEALEVELRISE" = "xyes"; then 780 426 781 HAVE_SEALEVELRISE=yes 782 427 783 AC_DEFINE([_HAVE_SEALEVELRISE_],[1],[with Sealevelrise capability]) 428 fi 784 785 fi 786 429 787 AM_CONDITIONAL([SEALEVELRISE], [test x$HAVE_SEALEVELRISE = xyes]) 788 430 789 AC_MSG_RESULT($HAVE_SEALEVELRISE) 790 431 791 dnl }}} 432 792 dnl with-Smb{{{ 793 433 794 AC_ARG_WITH([Smb], 795 434 796 AS_HELP_STRING([--with-Smb = YES], [compile with Smb capabilities (default is yes)]), 797 435 798 [SMB=$withval],[SMB=yes]) 799 436 800 AC_MSG_CHECKING(for Smb capability compilation) 437 801 802 438 803 HAVE_SMB=no 804 439 805 if test "x$SMB" = "xyes"; then 806 440 807 HAVE_SMB=yes 808 441 809 AC_DEFINE([_HAVE_SMB_],[1],[with Smb capability]) 442 fi 810 811 fi 812 443 813 AM_CONDITIONAL([SMB], [test x$HAVE_SMB = xyes]) 814 444 815 AC_MSG_RESULT($HAVE_SMB) 816 445 817 dnl }}} 446 818 dnl with-Smooth{{{ 819 447 820 AC_ARG_WITH([Smooth], 821 448 822 AS_HELP_STRING([--with-Smooth = YES], [compile with Smooth capabilities (default is yes)]), 823 449 824 [SMOOTH=$withval],[SMOOTH=yes]) 825 450 826 AC_MSG_CHECKING(for Smooth capability compilation) 451 827 828 452 829 HAVE_SMOOTH=no 830 453 831 if test "x$SMOOTH" = "xyes"; then 832 454 833 HAVE_SMOOTH=yes 834 455 835 AC_DEFINE([_HAVE_SMOOTH_],[1],[with Smooth capability]) 456 fi 836 837 fi 838 457 839 AM_CONDITIONAL([SMOOTH], [test x$HAVE_SMOOTH = xyes]) 840 458 841 AC_MSG_RESULT($HAVE_SMOOTH) 842 459 843 dnl }}} 460 844 dnl with-Stressbalance{{{ 845 461 846 AC_ARG_WITH([Stressbalance], 847 462 848 AS_HELP_STRING([--with-Stressbalance = YES], [compile with Stressbalance capabilities (default is yes)]), 849 463 850 [STRESSBALANCE=$withval],[STRESSBALANCE=yes]) 851 464 852 AC_MSG_CHECKING(for Stressbalance capability compilation) 465 853 854 466 855 HAVE_STRESSBALANCE=no 856 467 857 if test "x$STRESSBALANCE" = "xyes"; then 858 468 859 HAVE_STRESSBALANCE=yes 860 469 861 AC_DEFINE([_HAVE_STRESSBALANCE_],[1],[with Stressbalance capability]) 470 fi 862 863 fi 864 471 865 AM_CONDITIONAL([STRESSBALANCE], [test x$HAVE_STRESSBALANCE = xyes]) 866 472 867 AC_MSG_RESULT($HAVE_STRESSBALANCE) 868 473 869 dnl }}} 474 870 dnl with-StressbalanceSIA{{{ 871 475 872 AC_ARG_WITH([StressbalanceSIA], 873 476 874 AS_HELP_STRING([--with-StressbalanceSIA = YES], [compile with StressbalanceSIA capabilities (default is yes)]), 875 477 876 [STRESSBALANCESIA=$withval],[STRESSBALANCESIA=yes]) 877 478 878 AC_MSG_CHECKING(for StressbalanceSIA capability compilation) 479 879 880 480 881 HAVE_STRESSBALANCESIA=no 882 481 883 if test "x$STRESSBALANCESIA" = "xyes"; then 884 482 885 HAVE_STRESSBALANCESIA=yes 886 483 887 AC_DEFINE([_HAVE_STRESSBALANCESIA_],[1],[with StressbalanceSIA capability]) 484 fi 888 889 fi 890 485 891 AM_CONDITIONAL([STRESSBALANCESIA], [test x$HAVE_STRESSBALANCESIA = xyes]) 892 486 893 AC_MSG_RESULT($HAVE_STRESSBALANCESIA) 894 487 895 dnl }}} 488 896 dnl with-StressbalanceVertical{{{ 897 489 898 AC_ARG_WITH([StressbalanceVertical], 899 490 900 AS_HELP_STRING([--with-StressbalanceVertical = YES], [compile with StressbalanceVertical capabilities (default is yes)]), 901 491 902 [STRESSBALANCEVERTICAL=$withval],[STRESSBALANCEVERTICAL=yes]) 903 492 904 AC_MSG_CHECKING(for StressbalanceVertical capability compilation) 493 905 906 494 907 HAVE_STRESSBALANCEVERTICAL=no 908 495 909 if test "x$STRESSBALANCEVERTICAL" = "xyes"; then 910 496 911 HAVE_STRESSBALANCEVERTICAL=yes 912 497 913 AC_DEFINE([_HAVE_STRESSBALANCEVERTICAL_],[1],[with StressbalanceVertical capability]) 498 fi 914 915 fi 916 499 917 AM_CONDITIONAL([STRESSBALANCEVERTICAL], [test x$HAVE_STRESSBALANCEVERTICAL = xyes]) 918 500 919 AC_MSG_RESULT($HAVE_STRESSBALANCEVERTICAL) 920 501 921 dnl }}} 502 922 dnl with-Thermal{{{ 923 503 924 AC_ARG_WITH([Thermal], 925 504 926 AS_HELP_STRING([--with-Thermal = YES], [compile with Thermal capabilities (default is yes)]), 927 505 928 [THERMAL=$withval],[THERMAL=yes]) 929 506 930 AC_MSG_CHECKING(for Thermal capability compilation) 507 931 932 508 933 HAVE_THERMAL=no 934 509 935 if test "x$THERMAL" = "xyes"; then 936 510 937 HAVE_THERMAL=yes 938 511 939 AC_DEFINE([_HAVE_THERMAL_],[1],[with Thermal capability]) 512 fi 940 941 fi 942 513 943 AM_CONDITIONAL([THERMAL], [test x$HAVE_THERMAL = xyes]) 944 514 945 AC_MSG_RESULT($HAVE_THERMAL) 946 515 947 dnl }}} 516 948 dnl with-UzawaPressure{{{ 949 517 950 AC_ARG_WITH([UzawaPressure], 951 518 952 AS_HELP_STRING([--with-UzawaPressure = YES], [compile with UzawaPressure capabilities (default is yes)]), 953 519 954 [UZAWAPRESSURE=$withval],[UZAWAPRESSURE=yes]) 955 520 956 AC_MSG_CHECKING(for UzawaPressure capability compilation) 521 957 958 522 959 HAVE_UZAWAPRESSURE=no 960 523 961 if test "x$UZAWAPRESSURE" = "xyes"; then 962 524 963 HAVE_UZAWAPRESSURE=yes 964 525 965 AC_DEFINE([_HAVE_UZAWAPRESSURE_],[1],[with UzawaPressure capability]) 526 fi 966 967 fi 968 527 969 AM_CONDITIONAL([UZAWAPRESSURE], [test x$HAVE_UZAWAPRESSURE = xyes]) 970 528 971 AC_MSG_RESULT($HAVE_UZAWAPRESSURE) 972 529 973 dnl }}} 530 974 -
issm/trunk-jpl/scripts/cppcheck.sh
r23107 r23108 2 2 3 3 #comprehensive check, except unusedFunction 4 #cppcheck -j 32 --include=$ISSM_DIR/config.h -DHAVE_CONFIG_H -D_HAVE_ADOLC_ -D_HAVE_DAKOTA_ - D_HAVE_JAVASCRIPT_ --enable=warning --enable=style --enable=performance --enable=portability --enable=information --enable=missingInclude$ISSM_DIR/src/c 2> CPPCHECK.err4 #cppcheck -j 32 --include=$ISSM_DIR/config.h -DHAVE_CONFIG_H -D_HAVE_ADOLC_ -D_HAVE_DAKOTA_ --enable=all $ISSM_DIR/src/c 2> CPPCHECK.err 5 5 6 6 #unused function only (slow) 7 cppcheck --include=$ISSM_DIR/config.h -DHAVE_CONFIG_H -D_HAVE_ADOLC_ -D_HAVE_DAKOTA_ - D_HAVE_JAVASCRIPT_ --enable=unusedFunction $ISSM_DIR/src 2> CPPCHECK.err7 cppcheck --include=$ISSM_DIR/config.h -DHAVE_CONFIG_H -D_HAVE_ADOLC_ -D_HAVE_DAKOTA_ --enable=unusedFunction $ISSM_DIR/src 2> CPPCHECK.err -
issm/trunk-jpl/src/m/classes/clusters/generic.m
r23107 r23108 111 111 else 112 112 %Add --gen-suppressions=all to get suppression lines 113 %fprintf(fid,'LD_PRELOAD=%s \\\n',cluster.valgrindlib);113 fprintf(fid,'LD_PRELOAD=%s \\\n',cluster.valgrindlib); 114 114 if ismac, 115 115 if IssmConfig('_HAVE_MPI_'), 116 fprintf(fid,'mpiexec -np %i %s --leak-check=full -- gen-suppressions=all --error-limit=no --dsymutil=yes --suppressions=%s %s/%s %s %s %s 2> %s.errlog >%s.outlog ',...116 fprintf(fid,'mpiexec -np %i %s --leak-check=full --error-limit=no --dsymutil=yes --suppressions=%s %s/%s %s %s %s 2> %s.errlog >%s.outlog ',... 117 117 cluster.np,cluster.valgrind,cluster.valgrindsup,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname], modelname,modelname,modelname); 118 118 else … … 122 122 else 123 123 if IssmConfig('_HAVE_MPI_'), 124 fprintf(fid,'mpiexec -np %i %s --leak-check=full -- gen-suppressions=all --error-limit=no --suppressions=%s %s/%s %s %s %s 2> %s.errlog >%s.outlog ',...124 fprintf(fid,'mpiexec -np %i %s --leak-check=full --error-limit=no --suppressions=%s %s/%s %s %s %s 2> %s.errlog >%s.outlog ',... 125 125 cluster.np,cluster.valgrind,cluster.valgrindsup,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname],modelname,modelname,modelname); 126 126 else -
issm/trunk-jpl/src/m/classes/clusters/pfe.m
r23107 r23108 11 11 name = 'pfe' 12 12 login = ''; 13 modules = {'comp-intel/201 8.0.128' 'mpi-sgi/mpt'};13 modules = {'comp-intel/2016.2.181' 'mpi-sgi/mpt'}; 14 14 numnodes = 20; 15 15 cpuspernode = 8; … … 163 163 fprintf(fid,'#PBS -e %s.errlog \n\n',[cluster.executionpath '/' dirname '/' modelname]); 164 164 fprintf(fid,'. /usr/share/modules/init/bash\n\n'); 165 for i=1:numel(cluster.modules), 166 fprintf(fid,['module load ' cluster.modules{i} '\n']); 167 end 165 fprintf(fid,'module load comp-intel/2016.2.181\n'); 166 fprintf(fid,'module load mpi-sgi/mpt\n'); 168 167 fprintf(fid,'export PATH="$PATH:."\n\n'); 169 168 fprintf(fid,'export MPI_GROUP_MAX=64\n\n'); 170 fprintf(fid,'export MKL_NUM_THREADS=2\n\n');171 169 fprintf(fid,'export ISSM_DIR="%s/../"\n',cluster.codepath); %FIXME 172 170 fprintf(fid,'source $ISSM_DIR/etc/environment.sh\n'); %FIXME … … 228 226 fprintf(fid,'#PBS -e %s.errlog \n\n',[cluster.executionpath '/' dirname '/' modelname]); 229 227 fprintf(fid,'. /usr/share/modules/init/bash\n\n'); 230 for i=1:numel(cluster.modules), 231 fprintf(fid,['module load ' cluster.modules{i} '\n']); 232 end 228 fprintf(fid,'module load comp-intel/2016.2.181\n'); 229 fprintf(fid,'module load mpi-sgi/mpt\n'); 233 230 fprintf(fid,'export PATH="$PATH:."\n\n'); 234 231 fprintf(fid,'export MPI_GROUP_MAX=64\n\n'); … … 356 353 fprintf(fid,'#PBS -e %s.errlog \n\n',modelname); 357 354 fprintf(fid,'. /usr/share/modules/init/bash\n\n'); 358 %for i=1:numel(cluster.modules),359 % fprintf(fid,['module load ' cluster.modules{i} '\n']);360 %end361 355 fprintf(fid,'module load comp-intel/2016.2.181\n'); 362 356 fprintf(fid,'module load netcdf/4.4.1.1_mpt\n'); -
issm/trunk-jpl/src/m/consistency/ismodelselfconsistent.m
r23107 r23108 71 71 analyses={'EsaAnalysis'}; 72 72 elseif strcmp(solutiontype,'TransientSolution') 73 analyses={'StressbalanceAnalysis','StressbalanceVerticalAnalysis','StressbalanceSIAAnalysis','L2ProjectionBaseAnalysis','ThermalAnalysis','MeltingAnalysis','EnthalpyAnalysis','MasstransportAnalysis','HydrologyShaktiAnalysis' ,'HydrologyPismAnalysis'};73 analyses={'StressbalanceAnalysis','StressbalanceVerticalAnalysis','StressbalanceSIAAnalysis','L2ProjectionBaseAnalysis','ThermalAnalysis','MeltingAnalysis','EnthalpyAnalysis','MasstransportAnalysis','HydrologyShaktiAnalysis'}; 74 74 elseif strcmp(solutiontype,'SealevelriseSolution') 75 75 analyses={'SealevelriseAnalysis'}; -
issm/trunk-jpl/src/m/exp/expread.m
r23107 r23108 28 28 %initialize number of profile 29 29 count=0; 30 Struct = struct();31 30 32 31 %open file -
issm/trunk-jpl/src/m/exp/exptool.m
r23107 r23108 105 105 P=get(gcf,'position'); 106 106 Fp=get(gca,'position'); 107 h = findobj(gcf,'type','axes');108 107 F=getframe(gca); 109 108 F=F.cdata; … … 115 114 y_m=linspace(ylim(2),ylim(1),size(F,1)); %getframe reverse axis... 116 115 %plot the data in another figure 117 f2= figure; 118 s = copyobj(h,f2); 119 set(gcf,'position',P); 120 imagesc(x_m,y_m,F); 121 set(gca,'Ydir','normal','Position',Fp,'Xlim',xlim,'Ylim',ylim); 116 figure; set(gcf,'position',P); 117 imagesc(x_m,y_m,F); set(gca,'Ydir','normal','Position',Fp,'Xlim',xlim,'Ylim',ylim); 122 118 prevplot=1; 123 119 prevplot2=1; -
issm/trunk-jpl/src/m/inversions/marshallcostfunctions.m
r23107 r23108 15 15 pos=find(cost_functions==510); data(pos) = {'ThicknessPositive'}; 16 16 pos=find(cost_functions==601); data(pos) = {'SurfaceAbsMisfit'}; 17 pos=find(cost_functions==602); data(pos) = {'OmegaAbsGradient'};18 pos=find(cost_functions==603); data(pos) = {'EtaDiff'}; -
issm/trunk-jpl/src/m/inversions/supportedcontrols.m
r23107 r23108 2 2 3 3 list = {... 4 'BalancethicknessSpcthickness',...5 4 'BalancethicknessThickeningRate',... 6 5 'FrictionCoefficient',... -
issm/trunk-jpl/src/m/plot/manualcb.m
r23107 r23108 78 78 hold on 79 79 numcolors=size(cmap,1); 80 if 0,80 if 1, 81 81 %disappears somtimes 82 82 if strcmpi(getfieldvalue(options,'orientation','vertical'),'vertical'), -
issm/trunk-jpl/src/m/plot/scaleruler.m
r23107 r23108 11 11 fontsize = getfieldvalue(options,'scaleruler_fontsize',16); 12 12 unitscale = getfieldvalue(options,'unit',1.); 13 fontcolor = 'w';14 13 15 14 %Go through structure and fill missing arguments -
issm/trunk-jpl/src/m/plot/subplotmodel.m
r23107 r23108 30 30 if(((i-1)*ncols+j)==num) 31 31 ha = axes('Units','normalized', ... 32 'Position',[xmin ymin width height] );%,'XTickLabel','','YTickLabel','','Visible','off');32 'Position',[xmin ymin width height],'XTickLabel','','YTickLabel','','Visible','off'); 33 33 return 34 34 end -
issm/trunk-jpl/src/m/solvers/mumpsoptions.m
r23107 r23108 27 27 mumps.pc_factor_mat_solver_package=getfieldvalue(options,'pc_factor_mat_solver_package','mumps'); 28 28 mumps.mat_mumps_icntl_14=getfieldvalue(options,'mat_mumps_icntl_14',120); 29 30 %Seems like this one is not needed anymore31 29 mumps.pc_factor_shift_positive_definite=getfieldvalue(options,'pc_factor_shift_positive_definite','true'); 32 30 33 31 %These 2 lines make raijin break (ptwgts error during solver with PETSc 3.3) 34 %mumps.mat_mumps_icntl_28=2; %1=serial, 2=parallel35 %mumps.mat_mumps_icntl_29=2; %parallel ordering 1 = ptscotch, 2 = parmetis32 mumps.mat_mumps_icntl_28=2; %1=serial, 2=parallel 33 mumps.mat_mumps_icntl_29=2; %parallel ordering 1 = ptscotch, 2 = parmetis 36 34 end -
issm/trunk-jpl/test/NightlyRun/test201.m
r23107 r23108 1 1 %Test Name: SquareShelfStressSSA2d 2 if 0 3 md=triangle(model(),'../Exp/Square.exp',10000.); 2 md=triangle(model(),'../Exp/Square.exp',150000.); 4 3 md=setmask(md,'all',''); 5 4 md=parameterize(md,'../Par/SquareShelf.par'); 6 5 md=setflowequation(md,'SSA','all'); 7 md.cluster=generic('name',oshostname(),'np', 5);6 md.cluster=generic('name',oshostname(),'np',3); 8 7 md=solve(md,'Stressbalance'); 9 else10 clf11 md=bamg(model(),'domain','../Exp/Square.exp','hmax',10000.);12 newdomain = '../Exp/Square_temp.exp';13 resolution = 10000;14 distance=abs(ExpToLevelSet(md.mesh.x,md.mesh.y,newdomain));15 pos=find(ContourToNodes(md.mesh.x,md.mesh.y,newdomain,2));16 distance(pos) = -distance(pos);17 pos=find(distance<-resolution);18 %md2=bamg(model(),'domain','../Exp/Square_temp.exp','hmax',10000.,'RequiredVertices',[md.mesh.x(pos) md.mesh.y(pos) pos],'hmin',10000);19 md2=bamg(model(),'domain','../Exp/Square_temp.exp','RequiredVertices',[md.mesh.x(pos) md.mesh.y(pos) pos],'hmax',resolution);20 patch( 'Faces',[md.mesh.elements], 'Vertices', [md.mesh.x md.mesh.y],'FaceVertexCData',zeros(size(md.mesh.x)),'FaceColor','none','EdgeColor','k');21 hold on22 patch( 'Faces',[md2.mesh.elements], 'Vertices', [md2.mesh.x md2.mesh.y],'FaceVertexCData',zeros(size(md2.mesh.x)),'FaceColor','none','EdgeColor','r');23 error('S');24 %md=bamg(model(),'domain','../Exp/Square_temp2.exp','hmax',10000.);25 md=setmask(md,'all','');26 md=parameterize(md,'../Par/SquareShelf.par');27 md=setflowequation(md,'SSA','all');28 pos = find((md.mesh.x>10 & md.mesh.x<max(md.mesh.x)-10) & md.mesh.y>10);29 md.stressbalance.spcvx(pos)=NaN;30 md.stressbalance.spcvy(pos)=NaN;31 pos = find(md.mesh.vertexonboundary);32 md.mask.ice_levelset(pos)=0;33 %pos = find(md.mesh.y>10);34 %md.stressbalance.spcvy(pos)=NaN;35 md.cluster=generic('name',oshostname(),'np',5);36 md=solve(md,'Stressbalance');37 38 %Compute vm stress39 md=mechanicalproperties(md,md.results.StressbalanceSolution.Vx,md.results.StressbalanceSolution.Vy);40 lambda1 = max(md.results.strainrate.principalvalue1,0.);41 lambda2 = max(md.results.strainrate.principalvalue2,0.);42 epse_2 = 1./2. *(lambda1.*lambda1 + lambda2.*lambda2);43 n=3;44 vm=sqrt(3.) * md.materials.rheology_B(1).* epse_2.^(1./(2.*n));45 46 end47 8 48 9 %Fields and tolerances to track changes -
issm/trunk-jpl/test/NightlyRun/test308.m
r23107 r23108 1 1 %Test Name: SquareSheetConstrainedStressFS 2 2 md=triangle(model(),'../Exp/Square.exp',180000.); 3 %md=bamg(model(),'domain','../Exp/Square.exp','hmax',180000.);4 3 md=setmask(md,'',''); 5 4 md=parameterize(md,'../Par/SquareSheetConstrained.par'); … … 7 6 md=setflowequation(md,'FS','all'); 8 7 md.cluster=generic('name',oshostname(),'np',3); 9 10 md.flowequation.fe_FS = 'TaylorHood';11 8 md=solve(md,'Stressbalance'); 12 9 -
issm/trunk-jpl/test/NightlyRun/test401.m
r23107 r23108 1 1 %Test Name: SquareSheetShelfStressSSA2d 2 md=triangle(model(),'../Exp/Square.exp', 50000.);2 md=triangle(model(),'../Exp/Square.exp',150000.); 3 3 md=setmask(md,'../Exp/SquareShelf.exp',''); 4 4 md=parameterize(md,'../Par/SquareSheetShelf.par');
Note:
See TracChangeset
for help on using the changeset viewer.