Changeset 17069


Ignore:
Timestamp:
01/08/14 08:46:57 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixing tutorials with new damage field

Location:
issm/trunk-jpl/examples
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/examples/Jakobshavn/Jks.par

    r16555 r17069  
    5151md.materials.rheology_n=3*ones(md.mesh.numberofelements,1);
    5252md.materials.rheology_B=paterson(md.initialization.temperature);
     53md.damage.D=zeros(md.mesh.numberofvertices,1);
    5354%Reduce viscosity along the shear margins
    5455weakb=ContourToMesh(md.mesh.elements,md.mesh.x,md.mesh.y,'WeakB.exp','node',2);
  • issm/trunk-jpl/examples/Jakobshavn/runme.m

    r16555 r17069  
    1 steps=[1];
     1steps=[2:3];
    22
    33if any(steps==1)
     
    5252
    5353        %Cost functions
    54         md.inversion.cost_functions=[101*ones(md.inversion.nsteps,1) 103*ones(md.inversion.nsteps,1)];
     54        md.inversion.cost_functions=[101 103];
    5555        md.inversion.cost_functions_coefficients=ones(md.mesh.numberofvertices,2);
    5656        md.inversion.cost_functions_coefficients(:,1)=40;
  • issm/trunk-jpl/examples/SquareIceShelf/Square.par

    r16168 r17069  
    2525md.materials.rheology_B=paterson((273-20)*ones(md.mesh.numberofvertices,1));
    2626md.materials.rheology_n=3*ones(md.mesh.numberofelements,1);
     27md.damage.D=zeros(md.mesh.numberofvertices,1);
    2728
    2829disp('      creating boundary conditions');
Note: See TracChangeset for help on using the changeset viewer.