Changeset 20947
- Timestamp:
- 07/19/16 14:22:05 (9 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/configs/config-macosx64.sh
r18326 r20947 11 11 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 12 12 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \ 13 --with-mpi-libflags=" $ISSM_DIR/externalpackages/mpich/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpl.a " \ 14 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 13 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib/ -lpmpich -lmpich -lmpl" \ 15 14 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \ 16 15 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \ 17 --with- fortran-lib="/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/libgfortran.a"\18 -- with-graphics-lib="/usr/X11/lib/libX11.dylib"\19 -- with-numthreads=816 --with-numthreads=8 \ 17 --enable-debugging \ 18 --enable-development -
issm/trunk-jpl/examples/IceflowModels/eismint.m
r20780 r20947 14 14 15 15 %Set ice flow approximation 16 md=setflowequation(md,'S IA','all');16 md=setflowequation(md,'SSA','all'); 17 17 18 18 %Create boundary conditions: zero velocity on the bed -
issm/trunk-jpl/examples/IceflowModels/runme.m
r18198 r20947 5 5 %Set flow equation 6 6 md=setflowequation(md,'HO','Contour.exp','fill','SSA','coupling','tiling'); 7 %md=setflowequation(md,'SSA','all'); 7 8 %Solve 8 9 md=solve(md,StressbalanceSolutionEnum); -
issm/trunk-jpl/examples/Inversion/CheatSheet.m
r20712 r20947 1 1 step=1; 2 2 if step==1 3 %Generate observation s3 %Generate observation 4 4 md = model; 5 5 md = triangle(md,'DomainOutline.exp',100000); … … 23 23 md.friction.coefficient(find(md.mesh.x<600000 & md.mesh.x>400000))=10; 24 24 25 md = solve(md,StressbalanceSolutionEnum ());25 md = solve(md,StressbalanceSolutionEnum); 26 26 27 plotmodel(md,'axis#all','tight','data',md.friction.coefficient,'caxis',[0 100],'title','"True" \alpha',... 28 'data',md.results.StressbalanceSolution.Vel,'title','"observed velocities"') 27 plotmodel(md,'data',md.friction.coefficient,'figure',1); 28 plotmodel(md,'data',md.results.StressbalanceSolution.Vel,'figure',2); 29 29 30 save model1 md 30 31 end … … 41 42 md.inversion.vel_obs = md.results.StressbalanceSolution.Vel; 42 43 43 md = solve(md,StressbalanceSolutionEnum ());44 md = solve(md,StressbalanceSolutionEnum); 44 45 45 plotmodel(md,' axis#all','tight','data',md.friction.coefficient,'caxis',[0 100],'title','\alpha first guess',...46 'data',md.results.StressbalanceSolution.Vel,'title','modeled velocities')46 plotmodel(md,'data',md.friction.coefficient,'figure',1); 47 plotmodel(md,'data',md.results.StressbalanceSolution.Vel,'figure',2); 47 48 48 49 save model2 md … … 61 62 62 63 %Hands on: STEP 2 63 md.inversion.cost_functions = [101 103];64 md.inversion.cost_functions_coefficients = ones(md.mesh.numberofvertices, 2);64 md.inversion.cost_functions = 101; 65 md.inversion.cost_functions_coefficients = ones(md.mesh.numberofvertices,1); 65 66 66 67 %Hands on: STEP 3 … … 70 71 %Go solve! 71 72 md.verbose=verbose(0); 72 md=solve(md,StressbalanceSolutionEnum ());73 md=solve(md,StressbalanceSolutionEnum); 73 74 74 plotmodel(md,' axis#all','tight','data',md.results.StressbalanceSolution.FrictionCoefficient,'caxis',[0 100],'title','inferred \alpha',...75 'data',md.results.StressbalanceSolution.Vel,'title','modeled velocities')75 plotmodel(md,'data',md.results.StressbalanceSolution.FrictionCoefficient,'figure',1,'caxis',[10 50]); 76 plotmodel(md,'data',md.results.StressbalanceSolution.Vel,'figure',2); 76 77 end -
issm/trunk-jpl/examples/Inversion/runme.m
r20708 r20947 1 step= 1;1 step=3; 2 2 if step==1 3 %Generate observation s3 %Generate observation 4 4 md = model; 5 5 md = triangle(md,'DomainOutline.exp',100000); 6 md = setmask(md,' all','');6 md = setmask(md,'',''); 7 7 md = parameterize(md,'Square.par'); 8 8 md = setflowequation(md,'SSA','all'); 9 md.geometry.base = md.geometry.base + 100; 10 md.geometry.surface = md.geometry.surface + 100; 11 md.materials.rheology_B(:) = 1.8*10^8; 12 md.friction.coefficient(:) = 50; 13 pos = find(md.mesh.x < 600000 & md.mesh.x > 400000); 14 md.friction.coefficient(pos) = 10; 9 15 md.cluster = generic('np',2); 10 md = solve(md,StressbalanceSolutionEnum()); 11 plotmodel(md,'axis#all','tight','data',md.materials.rheology_B,'caxis',[ 1.3 1.9]*10^8,'title','"True" B',... 12 'data',md.results.StressbalanceSolution.Vel,'title','"observed velocities"') 16 17 18 md = solve(md,StressbalanceSolutionEnum); 19 20 plotmodel(md,'data',md.friction.coefficient,'caxis',[0 100],'figure',1,'gridded#all',1); 21 plotmodel(md,'data',md.results.StressbalanceSolution.Vel,'figure',2,'gridded#all',1); 22 13 23 save model1 md 14 24 end … … 17 27 loadmodel('model1.mat'); 18 28 md.materials.rheology_B(:) = 1.8*10^8; 19 29 md.friction.coefficient(:) = 50; 30 20 31 %results of previous run are taken as observations 21 32 md.inversion=m1qn3inversion(); … … 24 35 md.inversion.vel_obs = md.results.StressbalanceSolution.Vel; 25 36 26 md = solve(md,StressbalanceSolutionEnum()); 27 plotmodel(md,'axis#all','tight','data',md.materials.rheology_B,'caxis',[ 1.3 1.9]*10^8,'title','B first guess',... 28 'data',md.results.StressbalanceSolution.Vel,'title','modeled velocities') 37 md = solve(md,StressbalanceSolutionEnum); 38 39 plotmodel(md,'data',md.friction.coefficient,'caxis',[0 100],'figure',1); 40 plotmodel(md,'data',md.results.StressbalanceSolution.Vel,'figure',2); 41 29 42 save model2 md 30 43 end … … 36 49 maxsteps = 20; 37 50 md.inversion.iscontrol = 1; 38 md.inversion.control_parameters = {' MaterialsRheologyBbar'};51 md.inversion.control_parameters = {'FrictionCoefficient'}; 39 52 md.inversion.maxsteps = maxsteps; 40 md.inversion.cost_functions = 101; 41 md.inversion.cost_functions_coefficients = ones(md.mesh.numberofvertices,1); 42 md.inversion.min_parameters = cuffey(273)*ones(md.mesh.numberofvertices,1); 43 md.inversion.max_parameters = cuffey(200)*ones(md.mesh.numberofvertices,1); 53 md.inversion.cost_functions = [101 103 501]; 54 md.inversion.cost_functions_coefficients = ones(md.mesh.numberofvertices,3); 55 md.inversion.cost_functions_coefficients(:,1) = 1000; 56 md.inversion.cost_functions_coefficients(:,3) = 0.05; 57 md.inversion.min_parameters = 1*ones(md.mesh.numberofvertices,1); 58 md.inversion.max_parameters = 100*ones(md.mesh.numberofvertices,1); 44 59 45 60 %Go solve! 46 61 md.verbose=verbose(0); 47 md=solve(md,StressbalanceSolutionEnum()); 48 plotmodel(md,'axis#all','tight','data',md.results.StressbalanceSolution.MaterialsRheologyBbar,'caxis',[ 1.3 1.9]*10^8,'title','inferred B',... 49 'data',md.results.StressbalanceSolution.Vel,'title','modeled velocities') 62 md=solve(md,StressbalanceSolutionEnum); 63 64 plotmodel(md,'data',md.results.StressbalanceSolution.FrictionCoefficient,'caxis',[0 100],'figure',1); 65 plotmodel(md,'data',md.results.StressbalanceSolution.Vel,'figure',2); 50 66 end 51 67 if step==4 … … 61 77 md.inversion.cost_functions_coefficients = ones(md.mesh.numberofvertices,1); 62 78 md.inversion.cost_functions_coefficients(:,2) = 10^-16*ones(md.mesh.numberofvertices,1); 63 md.inversion.min_parameters = cuffey(273)*ones(md.mesh.numberofvertices,1);64 md.inversion.max_parameters = cuffey(200)*ones(md.mesh.numberofvertices,1);79 md.inversion.min_parameters = paterson(273)*ones(md.mesh.numberofvertices,1); 80 md.inversion.max_parameters = paterson(200)*ones(md.mesh.numberofvertices,1); 65 81 66 82 %Go solve! 67 83 md.verbose=verbose(0); 68 md=solve(md,StressbalanceSolutionEnum()); 69 plotmodel(md,'axis#all','tight','data',md.results.StressbalanceSolution.MaterialsRheologyBbar,'caxis',[ 1.3 1.9]*10^8,'title','inferred B',... 70 'data',md.results.StressbalanceSolution.Vel,'title','modeled velocities') 84 md=solve(md,StressbalanceSolutionEnum); 85 86 plotmodel(md,'data',md.results.StressbalanceSolution.MaterialsRheologyBbar,'caxis',[ 1.3 1.9]*10^8,'figure',1); 87 plotmodel(md,'data',md.results.StressbalanceSolution.Vel,'figure',2); 71 88 end -
issm/trunk-jpl/examples/Pig/runme.m
r20795 r20947 138 138 139 139 % Save model 140 <<<<<<< .mine 141 save ./Models/PIG_ModelHO md; 142 ======= 140 143 save ./Models/PIG_Control_drag md; 144 >>>>>>> .r20806 141 145 end 142 146 … … 161 165 162 166 % Load Model 163 167 md = loadmodel('./Models/PIG_Control_drag.mat'); 164 168 % Disable inversion 165 169 md.inversion.iscontrol = 0; 166 170 % Extrude Mesh 167 171 md = extrude(md, 10, 1); 168 172 % Set Flowequation 169 173 md = setflowequation(md,'HO','all'); 170 174 % Solve 171 175 md.cluster=generic('name',oshostname,'np',2); 176 md=solve(md,StressbalanceSolutionEnum); 172 177 % Save Model 178 save ./Models/PIG_Control_drag md; 179 173 180 174 181 end -
issm/trunk-jpl/externalpackages/petsc/install-3.7-greenplanet.sh
r20705 r20947 5 5 6 6 #Some cleanup 7 rm -rf install petsc-3.7. 2src7 rm -rf install petsc-3.7.1 src 8 8 mkdir install src 9 9 10 10 #Download from ISSM server 11 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7. 2.tar.gz' 'petsc-3.7.2.tar.gz'11 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7.1.tar.gz' 'petsc-3.7.1.tar.gz' 12 12 13 13 #Untar and move petsc to install directory 14 tar -zxvf petsc-3.7. 2.tar.gz15 mv petsc-3.7. 2/* src/16 rm -rf petsc-3.7. 214 tar -zxvf petsc-3.7.1.tar.gz 15 mv petsc-3.7.1/* src/ 16 rm -rf petsc-3.7.1 17 17 18 18 #configure -
issm/trunk-jpl/externalpackages/petsc/install-3.7-hpc.sh
r20705 r20947 5 5 6 6 #Some cleanup 7 rm -rf install petsc-3.7. 2src7 rm -rf install petsc-3.7.1 src 8 8 mkdir install src 9 9 10 10 #Download from ISSM server 11 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7. 2.tar.gz' 'petsc-3.7.2.tar.gz'11 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7.1.tar.gz' 'petsc-3.7.1.tar.gz' 12 12 13 13 #Untar and move petsc to install directory 14 tar -zxvf petsc-3.7. 2.tar.gz15 mv petsc-3.7. 2/* src/16 rm -rf petsc-3.7. 214 tar -zxvf petsc-3.7.1.tar.gz 15 mv petsc-3.7.1/* src/ 16 rm -rf petsc-3.7.1 17 17 18 18 #configure -
issm/trunk-jpl/externalpackages/petsc/install-3.7-linux64.sh
r20705 r20947 3 3 4 4 #Some cleanup 5 rm -rf install petsc-3.7. 2src5 rm -rf install petsc-3.7.1 src 6 6 mkdir install src 7 7 8 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7. 2.tar.gz' 'petsc-3.7.2.tar.gz'9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7.1.tar.gz' 'petsc-3.7.1.tar.gz' 10 10 11 11 #Untar and move petsc to install directory 12 tar -zxvf petsc-3.7. 2.tar.gz13 mv petsc-3.7. 2/* src/14 rm -rf petsc-3.7. 212 tar -zxvf petsc-3.7.1.tar.gz 13 mv petsc-3.7.1/* src/ 14 rm -rf petsc-3.7.1 15 15 16 16 #configure -
issm/trunk-jpl/externalpackages/petsc/install-3.7-macosx64.sh
r20705 r20947 7 7 8 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7.2.tar.gz' 'petsc-3.7.2.tar.gz'9 #$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.7.1.tar.gz' 'petsc-3.7.1.tar.gz' 10 10 11 11 #Untar and move petsc to install directory … … 15 15 16 16 #configure 17 # --download-mpich \ 18 # --with-fc=/usr/local/Cellar/gcc/6.1.0/bin/gfortran \ 17 19 cd src 18 20 ./config/configure.py \ 19 --CXXOPTFLAGS="-g -O3" \20 --COPTFLAGS="-g -O3" \21 --FOPTFLAGS="-g -O3" \22 21 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 23 22 --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \ -
issm/trunk-jpl/externalpackages/vim/addons/vim/syntax/c.vim
r20720 r20947 412 412 syn keyword cType BoolInput 413 413 syn keyword cType BoolParam 414 syn keyword cType classes415 414 syn keyword cType Constraint 416 415 syn keyword cType Constraints … … 419 418 syn keyword cType ControlInput 420 419 syn keyword cType Covertree 420 syn keyword cType DataSetParam 421 421 syn keyword cType DatasetInput 422 syn keyword cType DataSetParam423 422 syn keyword cType Definition 424 423 syn keyword cType DependentObject … … 434 433 syn keyword cType ElementHook 435 434 syn keyword cType ElementMatrix 435 syn keyword cType ElementVector 436 436 syn keyword cType Elements 437 syn keyword cType ElementVector438 437 syn keyword cType ExponentialVariogram 439 438 syn keyword cType ExternalResult … … 442 441 syn keyword cType Friction 443 442 syn keyword cType Gauss 444 syn keyword cType GaussianVariogram445 syn keyword cType gaussobjects446 443 syn keyword cType GaussPenta 447 444 syn keyword cType GaussSeg 448 445 syn keyword cType GaussTetra 449 446 syn keyword cType GaussTria 447 syn keyword cType GaussianVariogram 450 448 syn keyword cType GenericExternalResult 451 449 syn keyword cType GenericOption … … 453 451 syn keyword cType GiaDeflectionCoreArgs 454 452 syn keyword cType Hook 453 syn keyword cType IndependentObject 455 454 syn keyword cType Input 456 455 syn keyword cType Inputs … … 462 461 syn keyword cType IssmDirectApplicInterface 463 462 syn keyword cType IssmParallelDirectApplicInterface 464 syn keyword cType krigingobjects465 463 syn keyword cType Load 466 464 syn keyword cType Loads … … 470 468 syn keyword cType Material 471 469 syn keyword cType Materials 472 syn keyword cType Matestar473 470 syn keyword cType Matice 474 471 syn keyword cType Matpar 475 syn keyword cType matrixobjects476 472 syn keyword cType MatrixParam 477 473 syn keyword cType Misfit 478 474 syn keyword cType Moulin 479 475 syn keyword cType Neumannflux 480 syn keyword cType Nodalvalue481 476 syn keyword cType Node 482 477 syn keyword cType Nodes … … 485 480 syn keyword cType Observations 486 481 syn keyword cType Option 482 syn keyword cType OptionUtilities 487 483 syn keyword cType Options 488 syn keyword cType OptionUtilities489 484 syn keyword cType Param 490 485 syn keyword cType Parameters … … 498 493 syn keyword cType Quadtree 499 494 syn keyword cType Results 495 syn keyword cType RiftStruct 500 496 syn keyword cType Riftfront 501 syn keyword cType RiftStruct502 497 syn keyword cType Seg 503 498 syn keyword cType SegInput 499 syn keyword cType SegRef 504 500 syn keyword cType Segment 505 syn keyword cType SegRef506 501 syn keyword cType SpcDynamic 507 502 syn keyword cType SpcStatic … … 523 518 syn keyword cType Vertex 524 519 syn keyword cType Vertices 520 syn keyword cType classes 521 syn keyword cType gaussobjects 522 syn keyword cType krigingobjects 523 syn keyword cType matrixobjects 525 524 syn keyword cType AdjointBalancethickness2Analysis 526 525 syn keyword cType AdjointBalancethicknessAnalysis … … 552 551 syn keyword cType MeltingAnalysis 553 552 syn keyword cType MeshdeformationAnalysis 554 syn keyword cType SealevelriseAnalysis555 553 syn keyword cType SmbAnalysis 556 554 syn keyword cType SmoothAnalysis … … 562 560 "ISSM's objects end 563 561 "ISSM's Enums begin 564 syn keyword cConstant ParametersSTARTEnum565 562 syn keyword cConstant FemModelEnum 566 syn keyword cConstant FemModelCommEnum567 syn keyword cConstant WorldCommEnum568 syn keyword cConstant IcecapToEarthCommEnum569 syn keyword cConstant NumModelsEnum570 syn keyword cConstant ModelIdEnum571 syn keyword cConstant EarthIdEnum572 563 syn keyword cConstant AutodiffIsautodiffEnum 573 564 syn keyword cConstant AutodiffNumDependentsEnum … … 609 600 syn keyword cConstant BasalforcingsThresholdThicknessEnum 610 601 syn keyword cConstant BasalforcingsUpperdepthMeltEnum 611 syn keyword cConstant BasalforcingsMantleconductivityEnum612 syn keyword cConstant BasalforcingsNusseltEnum613 syn keyword cConstant BasalforcingsDtbgEnum614 syn keyword cConstant BasalforcingsPlumeradiusEnum615 syn keyword cConstant BasalforcingsTopplumedepthEnum616 syn keyword cConstant BasalforcingsBottomplumedepthEnum617 syn keyword cConstant BasalforcingsPlumexEnum618 syn keyword cConstant BasalforcingsPlumeyEnum619 syn keyword cConstant BasalforcingsCrustthicknessEnum620 syn keyword cConstant BasalforcingsUppercrustthicknessEnum621 syn keyword cConstant BasalforcingsUppercrustheatEnum622 syn keyword cConstant BasalforcingsLowercrustheatEnum623 602 syn keyword cConstant FloatingMeltRateEnum 624 603 syn keyword cConstant LinearFloatingMeltRateEnum 625 604 syn keyword cConstant MismipFloatingMeltRateEnum 626 syn keyword cConstant MantlePlumeGeothermalFluxEnum627 605 syn keyword cConstant BedEnum 628 606 syn keyword cConstant BaseEnum … … 632 610 syn keyword cConstant DependentObjectEnum 633 611 syn keyword cConstant StressbalanceAbstolEnum 634 syn keyword cConstant StressbalanceConvergenceNumStepsEnum635 612 syn keyword cConstant StressbalanceIsnewtonEnum 636 613 syn keyword cConstant StressbalanceMaxiterEnum … … 738 715 syn keyword cConstant HydrologySpcheadEnum 739 716 syn keyword cConstant HydrologyConductivityEnum 717 syn keyword cConstant IndependentObjectEnum 740 718 syn keyword cConstant InversionControlParametersEnum 741 719 syn keyword cConstant InversionControlScalingFactorsEnum … … 769 747 syn keyword cConstant InversionVzObsEnum 770 748 syn keyword cConstant MaskIceLevelsetEnum 771 syn keyword cConstant MaskOceanLevelsetEnum772 syn keyword cConstant MaskLandLevelsetEnum773 749 syn keyword cConstant MaterialsBetaEnum 774 750 syn keyword cConstant MaterialsHeatcapacityEnum … … 780 756 syn keyword cConstant MaterialsRheologyLawEnum 781 757 syn keyword cConstant MaterialsRheologyNEnum 782 syn keyword cConstant MaterialsRheologyKoEnum783 syn keyword cConstant MaterialsRheologyKobarEnum784 syn keyword cConstant MaterialsRheologyEcEnum785 syn keyword cConstant MaterialsRheologyEcbarEnum786 syn keyword cConstant MaterialsRheologyEsEnum787 syn keyword cConstant MaterialsRheologyEsbarEnum788 758 syn keyword cConstant DamageIsdamageEnum 789 759 syn keyword cConstant DamageDEnum … … 813 783 syn keyword cConstant CalvingMeltingrateEnum 814 784 syn keyword cConstant CalvingLevermannEnum 785 syn keyword cConstant CalvingPiEnum 815 786 syn keyword cConstant CalvingDevEnum 816 syn keyword cConstant CalvingMinthicknessEnum817 787 syn keyword cConstant DefaultCalvingEnum 818 788 syn keyword cConstant CalvingRequestedOutputsEnum 819 789 syn keyword cConstant CalvinglevermannCoeffEnum 820 790 syn keyword cConstant CalvinglevermannMeltingrateEnum 821 syn keyword cConstant CalvingdevCoeffEnum 791 syn keyword cConstant CalvingpiCoeffEnum 792 syn keyword cConstant CalvingpiMeltingrateEnum 822 793 syn keyword cConstant CalvingratexEnum 823 794 syn keyword cConstant CalvingrateyEnum … … 838 809 syn keyword cConstant MaterialsMantleShearModulusEnum 839 810 syn keyword cConstant MaterialsMantleDensityEnum 840 syn keyword cConstant MaterialsEarthDensityEnum841 811 syn keyword cConstant MeshAverageVertexConnectivityEnum 842 812 syn keyword cConstant MeshElements2dEnum … … 855 825 syn keyword cConstant MeshYEnum 856 826 syn keyword cConstant MeshZEnum 857 syn keyword cConstant MeshLatEnum858 syn keyword cConstant MeshLongEnum859 syn keyword cConstant MeshREnum860 827 syn keyword cConstant MeshElementtypeEnum 861 828 syn keyword cConstant MeshSegmentsEnum … … 865 832 syn keyword cConstant Domain2DverticalEnum 866 833 syn keyword cConstant Domain3DEnum 867 syn keyword cConstant Domain3DsurfaceEnum868 834 syn keyword cConstant MiscellaneousNameEnum 869 835 syn keyword cConstant MasstransportHydrostaticAdjustmentEnum … … 923 889 syn keyword cConstant TimesteppingInterpForcingsEnum 924 890 syn keyword cConstant TransientIssmbEnum 925 syn keyword cConstant TransientIscouplerEnum926 891 syn keyword cConstant TransientIsstressbalanceEnum 927 892 syn keyword cConstant TransientIsgroundinglineEnum … … 931 896 syn keyword cConstant TransientIsdamageevolutionEnum 932 897 syn keyword cConstant TransientIshydrologyEnum 933 syn keyword cConstant TransientIsmovingfrontEnum 934 syn keyword cConstant TransientIsslrEnum 898 syn keyword cConstant TransientIscalvingEnum 935 899 syn keyword cConstant TransientNumRequestedOutputsEnum 936 900 syn keyword cConstant TransientRequestedOutputsEnum … … 1147 1111 syn keyword cConstant MaticeEnum 1148 1112 syn keyword cConstant MatdamageiceEnum 1149 syn keyword cConstant MatestarEnum1150 1113 syn keyword cConstant MatparEnum 1151 1114 syn keyword cConstant NodeEnum … … 1254 1217 syn keyword cConstant ThicknessAlongGradientEnum 1255 1218 syn keyword cConstant ThicknessAcrossGradientEnum 1256 syn keyword cConstant ThicknessPositiveEnum1257 1219 syn keyword cConstant IntMatParamEnum 1258 1220 syn keyword cConstant RheologyBbarAbsGradientEnum … … 1284 1246 syn keyword cConstant DeviatoricStressyzEnum 1285 1247 syn keyword cConstant DeviatoricStresszzEnum 1286 syn keyword cConstant DeviatoricStresseffectiveEnum1287 syn keyword cConstant LambdaSEnum1288 1248 syn keyword cConstant StrainRateEnum 1289 1249 syn keyword cConstant StrainRatexxEnum … … 1437 1397 syn keyword cConstant MassfluxatgateDefinitionenumEnum 1438 1398 syn keyword cConstant MassfluxatgateSegmentsEnum 1439 syn keyword cConstant NodalvalueEnum1440 syn keyword cConstant NodalvalueNameEnum1441 syn keyword cConstant NodalvalueDefinitionenumEnum1442 syn keyword cConstant NodalvalueModelEnumEnum1443 syn keyword cConstant NodalvalueNodeEnum1444 1399 syn keyword cConstant MisfitNameEnum 1445 1400 syn keyword cConstant MisfitDefinitionenumEnum … … 1468 1423 syn keyword cConstant MaxVzEnum 1469 1424 syn keyword cConstant MaxAbsVzEnum 1470 syn keyword cConstant FloatingAreaEnum1471 1425 syn keyword cConstant GroundedAreaEnum 1472 1426 syn keyword cConstant IceMassEnum 1473 1427 syn keyword cConstant IceVolumeEnum 1474 1428 syn keyword cConstant IceVolumeAboveFloatationEnum 1475 syn keyword cConstant TotalFloatingBmbEnum1476 syn keyword cConstant TotalGroundedBmbEnum1477 1429 syn keyword cConstant TotalSmbEnum 1478 1430 syn keyword cConstant AbsoluteEnum … … 1511 1463 syn keyword cConstant NodalEnum 1512 1464 syn keyword cConstant OldGradientEnum 1513 syn keyword cConstant OutputBufferPointerEnum1514 syn keyword cConstant OutputBufferSizePointerEnum1515 1465 syn keyword cConstant OutputFilePointerEnum 1516 1466 syn keyword cConstant ToolkitsFileNameEnum … … 1547 1497 syn keyword cConstant OptionStructEnum 1548 1498 syn keyword cConstant CuffeyEnum 1549 syn keyword cConstant BuddJackaEnum1550 syn keyword cConstant CuffeyTemperateEnum1551 1499 syn keyword cConstant PatersonEnum 1552 1500 syn keyword cConstant ArrheniusEnum 1553 1501 syn keyword cConstant LliboutryDuvalEnum 1554 syn keyword cConstant SpclevelsetEnum 1502 syn keyword cConstant TransientIslevelsetEnum 1503 syn keyword cConstant SpcLevelsetEnum 1555 1504 syn keyword cConstant ExtrapolationVariableEnum 1556 1505 syn keyword cConstant IceMaskNodeActivationEnum … … 1558 1507 syn keyword cConstant LevelsetfunctionSlopeYEnum 1559 1508 syn keyword cConstant LevelsetfunctionPicardEnum 1560 syn keyword cConstant LevelsetReinitFrequencyEnum1561 syn keyword cConstant SealevelriseSolutionEnum1562 syn keyword cConstant SealevelriseAnalysisEnum1563 syn keyword cConstant SealevelEnum1564 syn keyword cConstant SealevelEustaticEnum1565 syn keyword cConstant SealevelriseDeltathicknessEnum1566 syn keyword cConstant SealevelriseMaxiterEnum1567 syn keyword cConstant SealevelriseReltolEnum1568 syn keyword cConstant SealevelriseAbstolEnum1569 syn keyword cConstant SealevelriseLoveHEnum1570 syn keyword cConstant SealevelriseLoveKEnum1571 syn keyword cConstant SealevelriseTideLoveHEnum1572 syn keyword cConstant SealevelriseTideLoveKEnum1573 syn keyword cConstant SealevelriseRigidEnum1574 syn keyword cConstant SealevelriseElasticEnum1575 syn keyword cConstant SealevelriseRotationEnum1576 syn keyword cConstant SealevelriseGElasticEnum1577 syn keyword cConstant SealevelriseDegaccEnum1578 syn keyword cConstant SealevelriseTransitionsEnum1579 syn keyword cConstant SealevelriseRequestedOutputsEnum1580 syn keyword cConstant SealevelriseNumRequestedOutputsEnum1581 syn keyword cConstant ParametersENDEnum1582 1509 "ISSM's Enums end 1583 1510 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -
issm/trunk-jpl/jenkins/linux64_ross_se
r20715 r20947 38 38 EXTERNALPACKAGES="autotools install.sh 39 39 mpich install-3.0-linux64.sh 40 cmake install.sh41 40 petsc install-3.6-linux64.sh 42 41 triangle install-linux64.sh … … 44 43 gshhg install.sh 45 44 gdal install-1.10-linux64.sh 46 hdf5 install.sh 47 netcdf install.sh 48 gmt install-jenkins.sh 45 gmt install.sh 49 46 gmsh install.sh 50 47 shell2junit install.sh" -
issm/trunk-jpl/scripts/ol
r20721 r20947 3 3 #Get the runme file, read it, and display steps 4 4 rm -rf orglist_temporary_file 5 LIST=$(cat runme.m | grep perform | grep if |sed "s/'/ /g" | awk '{print $3}')5 LIST=$(cat runme.m | grep perform | sed "s/'/ /g" | awk '{print $3}') 6 6 7 7 COUNT=0; -
issm/trunk-jpl/src/c/classes/IoModel.cpp
r20943 r20947 660 660 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 661 661 } else if(strcmp(record_name,"md.masstransport.hydrostatic_adjustment")==0){ 662 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 663 } else if(strcmp(record_name,"md.materials.rheology_law")==0){ 662 664 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 663 665 } else { … … 792 794 } else if(strcmp(record_name,"md.masstransport.hydrostatic_adjustment")==0){ 793 795 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 796 } else if(strcmp(record_name,"md.materials.rheology_law")==0){ 797 this->AddConstant(new IoConstant(StringToEnumx(string),record_name)); 794 798 } else { 795 799 /*Add string to parameters: */ … … 799 803 /*Free string*/ 800 804 xDelete<char>(string); 801 802 805 break; 803 806 case 5: break; //do nothing. not interested in this type of data, which is memory intensive. -
issm/trunk-jpl/src/m/classes/matdamageice.m
r20918 r20947 168 168 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',1); 169 169 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2); 170 WriteData(fid,prefix,'data', StringToEnum(self.rheology_law),'name','md.materials.rheology_law','format','Integer');170 WriteData(fid,prefix,'data',self.rheology_law,'name','md.materials.rheology_law','format','String'); 171 171 172 172 WriteData(fid,prefix,'object',self,'class','materials','fieldname','lithosphere_shear_modulus','format','Double'); -
issm/trunk-jpl/src/m/classes/matdamageice.py
r20918 r20947 160 160 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',1) 161 161 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2) 162 WriteData(fid,prefix,'data', StringToEnum(self.rheology_law)[0],'name','md.materials.rheology_law','format','Integer')162 WriteData(fid,prefix,'data',self.rheology_law,'name','md.materials.rheology_law','format','String') 163 163 164 164 WriteData(fid,prefix,'object',self,'class','materials','fieldname','lithosphere_shear_modulus','format','Double'); -
issm/trunk-jpl/src/m/classes/matestar.m
r20918 r20947 172 172 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_Ec','format','DoubleMat','mattype',1); 173 173 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_Es','format','DoubleMat','mattype',1); 174 WriteData(fid,prefix,'data', StringToEnum(self.rheology_law),'name','md.materials.rheology_law','format','Integer');174 WriteData(fid,prefix,'data',self.rheology_law,'name','md.materials.rheology_law','format','String'); 175 175 176 176 WriteData(fid,prefix,'object',self,'class','materials','fieldname','lithosphere_shear_modulus','format','Double'); -
issm/trunk-jpl/src/m/classes/matice.js
r20930 r20947 129 129 WriteData(fid,prefix,'object',this,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts); 130 130 WriteData(fid,prefix,'object',this,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2); 131 WriteData(fid,prefix,'data', StringToEnum(this.rheology_law),'name','md.materials.rheology_law','format','Integer');131 WriteData(fid,prefix,'data',this.rheology_law,'name','md.materials.rheology_law','format','String'); 132 132 WriteData(fid,prefix,'object',this,'class','materials','fieldname','lithosphere_shear_modulus','format','Double'); 133 133 WriteData(fid,prefix,'object',this,'class','materials','fieldname','lithosphere_density','format','Double','scale',Math.pow(10,3)); -
issm/trunk-jpl/src/m/classes/matice.m
r20918 r20947 167 167 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts); 168 168 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2); 169 WriteData(fid,prefix,'data', StringToEnum(self.rheology_law),'name','md.materials.rheology_law','format','Integer');169 WriteData(fid,prefix,'data',self.rheology_law,'name','md.materials.rheology_law','format','String'); 170 170 171 171 WriteData(fid,prefix,'object',self,'class','materials','fieldname','lithosphere_shear_modulus','format','Double'); -
issm/trunk-jpl/src/m/classes/matice.py
r20918 r20947 161 161 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_B','format','DoubleMat','mattype',1,'timeserieslength',md.mesh.numberofvertices+1,'yts',md.constants.yts) 162 162 WriteData(fid,prefix,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2) 163 WriteData(fid,prefix,'data', StringToEnum(self.rheology_law)[0],'name','md.materials.rheology_law','format','Integer')163 WriteData(fid,prefix,'data',self.rheology_law,'name','md.materials.rheology_law','format','String') 164 164 165 165 WriteData(fid,prefix,'object',self,'class','materials','fieldname','lithosphere_shear_modulus','format','Double'); -
issm/trunk-jpl/test/NightlyRun/test101.m
r19049 r20947 4 4 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 5 5 md=setflowequation(md,'SSA','all'); 6 md.cluster=generic('name',oshostname(),'np', 2);6 md.cluster=generic('name',oshostname(),'np',1); % originally, 'np',2 7 7 8 8 %output -
issm/trunk-jpl/test/NightlyRun/test102.m
r19049 r20947 5 5 md=extrude(md,3,2.); 6 6 md=setflowequation(md,'SSA','all'); 7 md.cluster=generic('name',oshostname(),'np', 3);7 md.cluster=generic('name',oshostname(),'np', 3); %originally 3 8 8 md=solve(md,StressbalanceSolutionEnum()); 9 9 -
issm/trunk-jpl/test/NightlyRun/test243.m
r20722 r20947 45 45 %Fields and tolerances to track changes 46 46 field_names ={'SmbDz','SmbT' ,'SmbD' ,'SmbRe','SmbGdn','SmbGsp','SmbA' ,'SmbEC','SmbMassBalance'}; 47 field_tolerances ={1e- 7,5e-5,1e-4,5e-5,1e-5,5e-5,1e-5,1e-7,1e-7};47 field_tolerances ={1e-13,1e-13,5e-13,5e-13,1e-13 ,5e-13 ,1e-13,1e-13,1e-13}; 48 48 49 49 field_values={...
Note:
See TracChangeset
for help on using the changeset viewer.