Ignore:
Timestamp:
08/09/13 10:59:47 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: Diagnostic is now Stressbalance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test1102.m

    r15565 r15771  
    2929        %Create dirichlet on the bed only
    3030        pos=find(md.mesh.vertexonbed);
    31         md.diagnostic.spcvx(pos)=0.;
    32         md.diagnostic.spcvy(pos)=0.;
    33         md.diagnostic.spcvz(pos)=0.;
     31        md.stressbalance.spcvx(pos)=0.;
     32        md.stressbalance.spcvy(pos)=0.;
     33        md.stressbalance.spcvz(pos)=0.;
    3434
    3535%       %Create MPCs to have periodic boundary conditions
     
    4242%       posy2=find(md.mesh.y==max(md.mesh.y) & md.mesh.x~=0. & md.mesh.x~=max(md.mesh.x) & ~md.mesh.vertexonbed);
    4343
    44 %       md.diagnostic.vertex_pairing=[posx,posx2;posy,posy2];
     44%       md.stressbalance.vertex_pairing=[posx,posx2;posy,posy2];
    4545
    46         %Compute the diagnostic
    47         md.diagnostic.abstol=NaN;
    48         md.diagnostic.reltol=NaN;
    49         md.diagnostic.restol=1.;
     46        %Compute the stressbalance
     47        md.stressbalance.abstol=NaN;
     48        md.stressbalance.reltol=NaN;
     49        md.stressbalance.restol=1.;
    5050        md.cluster=generic('name',oshostname(),'np',8);
    51         md=solve(md,DiagnosticSolutionEnum());
     51        md=solve(md,StressbalanceSolutionEnum());
    5252
    5353        %Plot the results and save them
    54         vx=(md.results.DiagnosticSolution.Vx);
    55         vy=(md.results.DiagnosticSolution.Vy);
    56         vz=(md.results.DiagnosticSolution.Vz);
    57         pressure=(md.results.DiagnosticSolution.Pressure);
    58         results{i}=md.results.DiagnosticSolution;
     54        vx=(md.results.StressbalanceSolution.Vx);
     55        vy=(md.results.StressbalanceSolution.Vy);
     56        vz=(md.results.StressbalanceSolution.Vz);
     57        pressure=(md.results.StressbalanceSolution.Pressure);
     58        results{i}=md.results.StressbalanceSolution;
    5959        minvx(i)=min(vx(end-md.mesh.numberofvertices2d+1:end));
    6060        maxvx(i)=max(vx(end-md.mesh.numberofvertices2d+1:end));
Note: See TracChangeset for help on using the changeset viewer.