Changeset 13809
- Timestamp:
- 10/23/12 11:49:56 (12 years ago)
- Location:
- issm/trunk-jpl/test
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/python_skipped_tests.txt
r13712 r13809 11 11 test418 needs Dakota 12 12 test420 needs Dakota 13 test423 needs roundmesh (and not straightforward)14 13 test511 needs extract 15 14 test613 needs extract -
issm/trunk-jpl/test/NightlyRun/test423.m
r13681 r13809 1 radius=1 e6;2 shelfextent=2 e5;1 radius=1.e6; 2 shelfextent=2.e5; 3 3 4 4 md=roundmesh(model(),radius,50000.); … … 6 6 rad=sqrt(md.mesh.x.^2+md.mesh.y.^2); 7 7 pos=find(rad==min(rad)); 8 md.mesh.x(pos)=0 ; md.mesh.y(pos)=0; %the closest node to the center is changed to be exactly at the center9 xelem=md.mesh.x(md.mesh.elements)*[1;1;1]/3 ;10 yelem=md.mesh.y(md.mesh.elements)*[1;1;1]/3 ;8 md.mesh.x(pos)=0.; md.mesh.y(pos)=0.; %the closest node to the center is changed to be exactly at the center 9 xelem=md.mesh.x(md.mesh.elements)*[1;1;1]/3.; 10 yelem=md.mesh.y(md.mesh.elements)*[1;1;1]/3.; 11 11 rad=sqrt(xelem.^2+yelem.^2); 12 12 flags=zeros(md.mesh.numberofelements,1); -
issm/trunk-jpl/test/Par/RoundSheetShelf.par
r13137 r13809 2 2 3 3 di=md.materials.rho_ice/md.materials.rho_water; 4 rad=1 e6;5 shelfextent=2 e5;4 rad=1.e6; 5 shelfextent=2.e5; 6 6 %Geometry 7 hmin=300 ;8 hmax=1000 ;7 hmin=300.; 8 hmax=1000.; 9 9 radius=sqrt((md.mesh.x).*md.mesh.x+(md.mesh.y).*md.mesh.y); 10 10 ymin=min(radius); … … 14 14 15 15 pos=find(md.mask.vertexongroundedice); 16 md.geometry.bed(pos)=md.geometry.bed(pos)-300 *(radius(pos)-(rad-shelfextent))/(rad-shelfextent);16 md.geometry.bed(pos)=md.geometry.bed(pos)-300.*(radius(pos)-(rad-shelfextent))/(rad-shelfextent); 17 17 md.geometry.surface=md.geometry.bed+md.geometry.thickness; 18 18 19 19 pos=find(radius<200000); 20 md.geometry.thickness(pos)=100 ;21 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20 ;20 md.geometry.thickness(pos)=100.; 21 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20.; 22 22 md.geometry.surface(pos)=md.geometry.bed(pos)+md.geometry.thickness(pos); 23 23 24 25 pos=find(md.mesh.x<.2*1e6 & md.mesh.x>-.2*1e6 & md.mesh.y>0); 26 md.geometry.thickness(pos)=100; 27 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20; 24 pos=find(md.mesh.x<0.2*1.e6 & md.mesh.x>-0.2*1.e6 & md.mesh.y>0.); 25 md.geometry.thickness(pos)=100.; 26 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20.; 28 27 md.geometry.surface(pos)=md.geometry.bed(pos)+md.geometry.thickness(pos); 29 28 30 pos=find(md.mesh.x< .1*1e6 & md.mesh.x>-.1*1e6 & md.mesh.y<-.5*1e6 & md.mesh.y>-.6*1e6);31 md.geometry.thickness(pos)=100 ;32 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20 ;29 pos=find(md.mesh.x<0.1*1.e6 & md.mesh.x>-0.1*1.e6 & md.mesh.y<-0.5*1.e6 & md.mesh.y>-0.6*1.e6); 30 md.geometry.thickness(pos)=100.; 31 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20.; 33 32 md.geometry.surface(pos)=md.geometry.bed(pos)+md.geometry.thickness(pos); 34 33 … … 36 35 di=md.materials.rho_ice/md.materials.rho_water; 37 36 rad=sqrt(md.mesh.x.^2+md.mesh.y.^2); 38 pos=find(rad<200000 );39 md.geometry.thickness(pos)=100 ;40 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20 ;37 pos=find(rad<200000.); 38 md.geometry.thickness(pos)=100.; 39 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20.; 41 40 md.geometry.surface(pos)=md.geometry.bed(pos)+md.geometry.thickness(pos); 42 41 43 pos=find(md.mesh.x< .2*1e6 & md.mesh.x>-.2*1e6 & md.mesh.y>0);44 md.geometry.thickness(pos)=100 ;45 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20 ;42 pos=find(md.mesh.x<0.2*1.e6 & md.mesh.x>-0.2*1.e6 & md.mesh.y>0.); 43 md.geometry.thickness(pos)=100.; 44 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20.; 46 45 md.geometry.surface(pos)=md.geometry.bed(pos)+md.geometry.thickness(pos); 47 46 48 pos=find(md.mesh.x< .1*1e6 & md.mesh.x>-.1*1e6 & md.mesh.y<-.5*1e6 & md.mesh.y>-.6*1e6);49 md.geometry.thickness(pos)=100 ;50 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20 ;47 pos=find(md.mesh.x<0.1*1.e6 & md.mesh.x>-0.1*1.e6 & md.mesh.y<-0.5*1.e6 & md.mesh.y>-0.6*1.e6); 48 md.geometry.thickness(pos)=100.; 49 md.geometry.bed(pos)=-di*md.geometry.thickness(pos)-20.; 51 50 md.geometry.surface(pos)=md.geometry.bed(pos)+md.geometry.thickness(pos); 51 52 52 %Initial velocity 53 53 md.initialization.vx=zeros(md.mesh.numberofvertices,1); … … 57 57 58 58 %Materials 59 md.initialization.temperature=(273 -20)*ones(md.mesh.numberofvertices,1);59 md.initialization.temperature=(273.-20.)*ones(md.mesh.numberofvertices,1); 60 60 md.materials.rheology_B=paterson(md.initialization.temperature); 61 md.materials.rheology_n=3 *ones(md.mesh.numberofelements,1);61 md.materials.rheology_n=3.*ones(md.mesh.numberofelements,1); 62 62 63 63 %Surface mass balance and basal melting 64 md.surfaceforcings.mass_balance=-10 *ones(md.mesh.numberofvertices,1);64 md.surfaceforcings.mass_balance=-10.*ones(md.mesh.numberofvertices,1); 65 65 md.basalforcings.melting_rate=zeros(md.mesh.numberofvertices,1); 66 pos=find(md.mask.vertexonfloatingice);md.basalforcings.melting_rate(pos)=10 ;66 pos=find(md.mask.vertexonfloatingice);md.basalforcings.melting_rate(pos)=10.; 67 67 md.basalforcings.geothermalflux=ones(md.mesh.numberofvertices,1); 68 68 69 69 %Friction 70 70 pos=find(md.mask.elementonfloatingice); 71 md.friction.coefficient=20 *ones(md.mesh.numberofvertices,1);71 md.friction.coefficient=20.*ones(md.mesh.numberofvertices,1); 72 72 md.friction.coefficient(md.mesh.elements(pos,:))=0; 73 73 md.friction.p=ones(md.mesh.numberofelements,1); … … 84 84 md.steadystate.reltol=0.05; 85 85 md.diagnostic.abstol=NaN; 86 md.timestepping.time_step=5 ;87 md.timestepping.final_time=5 ;86 md.timestepping.time_step=5.; 87 md.timestepping.final_time=5.; 88 88 89 89 %bathymetry and grounding line migration: 90 90 md.groundingline.migration='AgressiveMigration'; 91 91 md.geometry.bathymetry=md.geometry.bed; 92 pos=find(md.mask.vertexonfloatingice); md.geometry.bathymetry(pos)=md.geometry.bed(pos)-900 ;92 pos=find(md.mask.vertexonfloatingice); md.geometry.bathymetry(pos)=md.geometry.bed(pos)-900.; 93 93 94 94 %Deal with boundary conditions: … … 107 107 md.prognostic.spcthickness=NaN*ones(md.mesh.numberofvertices,1); 108 108 md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6); 109 md.thermal.spctemperature=737 *ones(md.mesh.numberofvertices,1);109 md.thermal.spctemperature=737.*ones(md.mesh.numberofvertices,1); 110 110 111 111 %Change name so that no test have the same name
Note:
See TracChangeset
for help on using the changeset viewer.