Changeset 9766


Ignore:
Timestamp:
09/11/11 11:28:37 (14 years ago)
Author:
Mathieu Morlighem
Message:

some fixes of NR

Location:
issm/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/groundingline.m

    r9751 r9766  
    5959                                end
    6060                                pos=find(md.mask.vertexonfloatingice);
    61                                 if any(md.geometry.bathymetry(pos)-md.geometry.bed(pos)>tolerance),
     61                                if any(md.geometry.bathymetry(pos)-md.geometry.bed(pos)>10^-9),
    6262                                        checkmessage(['bathymetry superior to bed on floating ice !']);
    6363                                end
  • issm/trunk/src/m/classes/rifts.m

    r9751 r9766  
    4848                                end
    4949                                %Check that rifts are filled with proper material
    50                                 checkvalues(md,{'rifts.riftstruct.fill'},[WaterEnum() AirEnum() IceEnum() MelangeEnum()]);
     50                                checkvalues(md,{'riftstruct.fill'},[WaterEnum() AirEnum() IceEnum() MelangeEnum()]);
    5151                        else
    5252                                if ~isnans(obj.riftstruct),
  • issm/trunk/test/NightlyRun/test1110.m

    r9734 r9766  
    5050        md.timestepping.time_step=3;
    5151        md.timestepping.final_time=300;
    52         md.output_frequency=50;
     52        md.settings.output_frequency=50;
    5353        md.prognostic.stabilization=1;
    5454        md.diagnostic.maxiter=1;
  • issm/trunk/test/NightlyRun/test1201.m

    r9765 r9766  
    3737
    3838        %solve
    39         md.isdiagnostic=0;
    40         md.output_frequency=500; %keep only last step
     39        md.transient.isdiagnostic=0;
     40        md.settings.output_frequency=500; %keep only last step
    4141        md.verbose=verbose();
    4242        md=solve(md,TransientSolutionEnum);
  • issm/trunk/test/NightlyRun/test1208.m

    r9729 r9766  
    2020%Adapt the time steps to the resolution
    2121md.timestepping.time_step=20;
    22 md.output_frequency=20;
     22md.settings.output_frequency=20;
    2323md.timestepping.final_time=50000;
    2424md.prognostic.stabilization=2;
  • issm/trunk/test/NightlyRun/test1302.m

    r9734 r9766  
    2020%analytical results
    2121%d2T/dz2-w*rho_ice*c/k*dT/dz=0   T(surface)=0  T(bed)=10   => T=A exp(alpha z)+B
    22 alpha=0.1/md.constants.yts*md.materials.rho_ice*md.heatcapacity/md.thermalconductivity;   %alpha=w rho_ice c /k  and w=0.1m/an
     22alpha=0.1/md.constants.yts*md.materials.rho_ice*md.materials.heatcapacity/md.materials.thermalconductivity;   %alpha=w rho_ice c /k  and w=0.1m/an
    2323A=10/(exp(alpha*(-1000))-1);    %A=T(bed)/(exp(alpha*bed)-1)  with bed=-1000 T(bed)=10
    2424B=-A;
  • issm/trunk/test/NightlyRun/test1304.m

    r9734 r9766  
    1919%the result is linear with depth and is equal to 0 on the upper surface (See BC)
    2020%d2T/dz2=0  -k*dT/dz(bed)=G  T(surface)=0  => T=-G/k*(z-surface)
    21 md.initialization.temperature=-0.1/md.thermalconductivity*(md.mesh.z-md.geometry.surface); %G=0.1 W/m2
     21md.initialization.temperature=-0.1/md.materials.thermalconductivity*(md.mesh.z-md.geometry.surface); %G=0.1 W/m2
    2222
    2323%modeled  results
  • issm/trunk/test/NightlyRun/test1501.m

    r9734 r9766  
    66md=setflowequation(md,'macayeal','all');
    77md.cluster=generic('name',oshostname(),'np',3);
    8 md.isthermal=0;
     8md.transient.isthermal=0;
    99
    1010md.timestepping.time_step=1;
    11 md.output_frequency=1;
     11md.settings.output_frequency=1;
    1212md.timestepping.final_time=2000;
    1313
  • issm/trunk/test/NightlyRun/test1502.m

    r9734 r9766  
    77md=extrude(md,3,1);
    88md.cluster=generic('name',oshostname(),'np',3);
    9 md.isthermal=0;
     9md.transient.isthermal=0;
    1010
    1111md.timestepping.time_step=1;
    12 md.output_frequency=1;
     12md.settings.output_frequency=1;
    1313md.timestepping.final_time=2000;
    1414
Note: See TracChangeset for help on using the changeset viewer.