Changeset 5432


Ignore:
Timestamp:
08/19/10 17:00:09 (15 years ago)
Author:
seroussi
Message:

some new tests for new Stokes

Location:
issm/trunk/test/NightlyRun
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/NightlyRun/test107.m

    r5098 r5432  
    33md=parameterize(md,'../Par/SquareShelfConstrained.par');
    44md=extrude(md,3,2);
    5 md=setelementstype(md,'macayeal','all','stokes','all');
    65md.cluster='none';
     6md=setelementstype(md,'macayeal','all');
     7md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     8vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     9vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     10vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     11pos=find(md.spcvelocity(:,1));
     12md.spcvelocity(pos,3)=1;
     13md=setelementstype(md,'stokes','all');
     14md.vx=vx;
     15md.vy=vy;
     16md.vz=vz;
     17md.spcvelocity(:,4)=vx;
     18md.spcvelocity(:,5)=vy;
     19md.spcvelocity(:,6)=vz;
     20pos=find(md.borderstokes);
     21md.spcvelocity(pos,1)=1;
     22md.spcvelocity(pos,2)=1;
     23md.spcvelocity(pos,3)=1;
    724md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    825
  • issm/trunk/test/NightlyRun/test108.m

    r5098 r5432  
    33md=parameterize(md,'../Par/SquareShelfConstrained.par');
    44md=extrude(md,3,2);
    5 md=setelementstype(md,'macayeal','all','stokes','all');
    6 md.cluster=oshostname();
     5md=setelementstype(md,'macayeal','all');
     6md.cluster=oshostname;
     7md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     8vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     9vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     10vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     11pos=find(md.spcvelocity(:,1));
     12md.spcvelocity(pos,3)=1;
     13md=setelementstype(md,'stokes','all');
     14md.vx=vx;
     15md.vy=vy;
     16md.vz=vz;
     17md.spcvelocity(:,4)=vx;
     18md.spcvelocity(:,5)=vy;
     19md.spcvelocity(:,6)=vz;
     20pos=find(md.borderstokes);
     21md.spcvelocity(pos,1)=1;
     22md.spcvelocity(pos,2)=1;
     23md.spcvelocity(pos,3)=1;
    724md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    825
  • issm/trunk/test/NightlyRun/test207.m

    r5098 r5432  
    33md=parameterize(md,'../Par/SquareShelf.par');
    44md=extrude(md,3,2);
    5 md=setelementstype(md,'macayeal','all','stokes','all');
    65md.cluster='none';
     6md=setelementstype(md,'macayeal','all');
     7md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     8vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     9vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     10vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     11pos=find(md.spcvelocity(:,1));
     12md.spcvelocity(pos,3)=1;
     13md=setelementstype(md,'stokes','all');
     14md.vx=vx;
     15md.vy=vy;
     16md.vz=vz;
     17md.spcvelocity(:,4)=vx;
     18md.spcvelocity(:,5)=vy;
     19md.spcvelocity(:,6)=vz;
     20pos=find(md.borderstokes);
     21md.spcvelocity(pos,1)=1;
     22md.spcvelocity(pos,2)=1;
     23md.spcvelocity(pos,3)=1;
    724md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    825
  • issm/trunk/test/NightlyRun/test208.m

    r5098 r5432  
    33md=parameterize(md,'../Par/SquareShelf.par');
    44md=extrude(md,3,2);
    5 md=setelementstype(md,'macayeal','all','stokes','all');
     5md=setelementstype(md,'macayeal','all');
    66md.cluster=oshostname;
     7md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     8vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     9vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     10vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     11pos=find(md.spcvelocity(:,1));
     12md.spcvelocity(pos,3)=1;
     13md=setelementstype(md,'stokes','all');
     14md.vx=vx;
     15md.vy=vy;
     16md.vz=vz;
     17md.spcvelocity(:,4)=vx;
     18md.spcvelocity(:,5)=vy;
     19md.spcvelocity(:,6)=vz;
     20pos=find(md.borderstokes);
     21md.spcvelocity(pos,1)=1;
     22md.spcvelocity(pos,2)=1;
     23md.spcvelocity(pos,3)=1;
    724md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    825
  • issm/trunk/test/NightlyRun/test315.m

    r5098 r5432  
    33md=parameterize(md,'../Par/SquareSheetConstrained.par');
    44md=extrude(md,3,1);
    5 md=setelementstype(md,'pattyn','all','stokes','all');
    6 md.cluster='none';
     5md=setelementstype(md,'pattyn','all');
     6md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     7vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     8vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     9vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     10pos=find(md.spcvelocity(:,1));
     11md.spcvelocity(pos,3)=1;
     12md=setelementstype(md,'stokes','all');
     13md.vx=vx;
     14md.vy=vy;
     15md.vz=vz;
     16md.spcvelocity(:,4)=vx;
     17md.spcvelocity(:,5)=vy;
     18md.spcvelocity(:,6)=vz;
     19pos=find(md.borderstokes);
     20md.spcvelocity(pos,1)=1;
     21md.spcvelocity(pos,2)=1;
     22md.spcvelocity(pos,3)=1;
    723md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    824
  • issm/trunk/test/NightlyRun/test316.m

    r5098 r5432  
    33md=parameterize(md,'../Par/SquareSheetConstrained.par');
    44md=extrude(md,3,1);
    5 md=setelementstype(md,'pattyn','all','stokes','all');
    6 md.cluster=oshostname();
     5md=setelementstype(md,'pattyn','all');
     6md.cluster=oshostname;
     7md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     8vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     9vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     10vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     11pos=find(md.spcvelocity(:,1));
     12md.spcvelocity(pos,3)=1;
     13md=setelementstype(md,'stokes','all');
     14md.vx=vx;
     15md.vy=vy;
     16md.vz=vz;
     17md.spcvelocity(:,4)=vx;
     18md.spcvelocity(:,5)=vy;
     19md.spcvelocity(:,6)=vz;
     20pos=find(md.borderstokes);
     21md.spcvelocity(pos,1)=1;
     22md.spcvelocity(pos,2)=1;
     23md.spcvelocity(pos,3)=1;
    724md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    825
  • issm/trunk/test/NightlyRun/test407.m

    r5098 r5432  
    33md=parameterize(md,'../Par/SquareSheetShelf.par');
    44md=extrude(md,3,1);
    5 md=setelementstype(md,'pattyn','all','stokes','all');
    6 md.cluster='none';
     5md=setelementstype(md,'pattyn','all');
     6md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     7vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     8vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     9vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     10pos=find(md.spcvelocity(:,1));
     11md.spcvelocity(pos,3)=1;
     12md=setelementstype(md,'stokes','all');
     13md.vx=vx;
     14md.vy=vy;
     15md.vz=vz;
     16md.spcvelocity(:,4)=vx;
     17md.spcvelocity(:,5)=vy;
     18md.spcvelocity(:,6)=vz;
     19pos=find(md.borderstokes);
     20md.spcvelocity(pos,1)=1;
     21md.spcvelocity(pos,2)=1;
     22md.spcvelocity(pos,3)=1;
    723md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    824
  • issm/trunk/test/NightlyRun/test408.m

    r5101 r5432  
    33md=parameterize(md,'../Par/SquareSheetShelf.par');
    44md=extrude(md,3,1);
    5 md=setelementstype(md,'pattyn','all','stokes','all');
    6 md.cluster=oshostname();
     5md=setelementstype(md,'pattyn','all');
     6md.cluster=oshostname;
     7md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     8vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     9vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     10vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     11pos=find(md.spcvelocity(:,1));
     12md.spcvelocity(pos,3)=1;
     13md=setelementstype(md,'stokes','all');
     14md.vx=vx;
     15md.vy=vy;
     16md.vz=vz;
     17md.spcvelocity(:,4)=vx;
     18md.spcvelocity(:,5)=vy;
     19md.spcvelocity(:,6)=vz;
     20pos=find(md.borderstokes);
     21md.spcvelocity(pos,1)=1;
     22md.spcvelocity(pos,2)=1;
     23md.spcvelocity(pos,3)=1;
    724md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    825
  • issm/trunk/test/NightlyRun/test505.m

    r5098 r5432  
    33md=parameterize(md,'../Par/Pig.par');
    44md=extrude(md,3,0.9);
    5 md=setelementstype(md,'pattyn','all','stokes','all');
    6 md.cluster='none';
     5md=setelementstype(md,'pattyn','all');
     6md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     7vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     8vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     9vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     10pos=find(md.spcvelocity(:,1));
     11md.spcvelocity(pos,3)=1;
     12md=setelementstype(md,'stokes','all');
     13md.vx=vx;
     14md.vy=vy;
     15md.vz=vz;
     16md.spcvelocity(:,4)=vx;
     17md.spcvelocity(:,5)=vy;
     18md.spcvelocity(:,6)=vz;
     19pos=find(md.borderstokes);
     20md.spcvelocity(pos,1)=1;
     21md.spcvelocity(pos,2)=1;
     22md.spcvelocity(pos,3)=1;
    723md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    824
  • issm/trunk/test/NightlyRun/test506.m

    r5098 r5432  
    33md=parameterize(md,'../Par/Pig.par');
    44md=extrude(md,3,0.9);
    5 md=setelementstype(md,'pattyn','all','stokes','all');
    6 md.cluster=oshostname();
     5md=setelementstype(md,'pattyn','all');
     6md.cluster=oshostname;
     7md=solve(md,'analysis_type',DiagnosticSolutionEnum);
     8vx=PatchToVec(md.results.DiagnosticSolution.Vx);
     9vy=PatchToVec(md.results.DiagnosticSolution.Vy);
     10vz=PatchToVec(md.results.DiagnosticSolution.Vz);
     11pos=find(md.spcvelocity(:,1));
     12md.spcvelocity(pos,3)=1;
     13md=setelementstype(md,'stokes','all');
     14md.vx=vx;
     15md.vy=vy;
     16md.vz=vz;
     17md.spcvelocity(:,4)=vx;
     18md.spcvelocity(:,5)=vy;
     19md.spcvelocity(:,6)=vz;
     20pos=find(md.borderstokes);
     21md.spcvelocity(pos,1)=1;
     22md.spcvelocity(pos,2)=1;
     23md.spcvelocity(pos,3)=1;
    724md=solve(md,'analysis_type',DiagnosticSolutionEnum);
    825
Note: See TracChangeset for help on using the changeset viewer.