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/test1101.m

    r15565 r15771  
    2121
    2222        %Create dirichlet on the bed only
    23         md.diagnostic.spcvx=NaN*ones(md.mesh.numberofvertices,1);
    24         md.diagnostic.spcvy=NaN*ones(md.mesh.numberofvertices,1);
    25         md.diagnostic.spcvz=NaN*ones(md.mesh.numberofvertices,1);
     23        md.stressbalance.spcvx=NaN*ones(md.mesh.numberofvertices,1);
     24        md.stressbalance.spcvy=NaN*ones(md.mesh.numberofvertices,1);
     25        md.stressbalance.spcvz=NaN*ones(md.mesh.numberofvertices,1);
    2626
    2727        pos=find(md.mesh.vertexonbed);
    28         md.diagnostic.spcvx(pos)=0.;
    29         md.diagnostic.spcvy(pos)=0.;
     28        md.stressbalance.spcvx(pos)=0.;
     29        md.stressbalance.spcvy(pos)=0.;
    3030
    3131        %Create MPCs to have periodic boundary conditions
     
    3636        posy2=find(md.mesh.y==max(md.mesh.y) & md.mesh.x~=0. & md.mesh.x~=max(md.mesh.x));
    3737
    38         md.diagnostic.vertex_pairing=[posx,posx2;posy,posy2];
     38        md.stressbalance.vertex_pairing=[posx,posx2;posy,posy2];
    3939
    40         %Compute the diagnostic
     40        %Compute the stressbalance
    4141        md.cluster=generic('name',oshostname(),'np',8);
    42         md=solve(md,DiagnosticSolutionEnum());
     42        md=solve(md,StressbalanceSolutionEnum());
    4343
    4444        %Plot the results and save them
    45         vx=(md.results.DiagnosticSolution.Vx);
    46         vy=(md.results.DiagnosticSolution.Vy);
    47         vz=(md.results.DiagnosticSolution.Vz);
    48         results{i}=md.results.DiagnosticSolution;
     45        vx=(md.results.StressbalanceSolution.Vx);
     46        vy=(md.results.StressbalanceSolution.Vy);
     47        vz=(md.results.StressbalanceSolution.Vz);
     48        results{i}=md.results.StressbalanceSolution;
    4949        minvx(i)=min(vx(end-md.mesh.numberofvertices2d+1:end));
    5050        maxvx(i)=max(vx(end-md.mesh.numberofvertices2d+1:end));
Note: See TracChangeset for help on using the changeset viewer.