source: issm/trunk-jpl/test/NightlyRun/test418.m@ 19049

Last change on this file since 19049 was 19049, checked in by Mathieu Morlighem, 11 years ago

NEW: test name is now included in the file itself so that people don't forget to include it

File size: 753 bytes
RevLine 
[19049]1%Test Name: SquareSheetShelfDiadSSA3dDakotaAreaAverage
[12620]2%test partitioning, and partition averaging
[13670]3md=triangle(model(),'../Exp/Square.exp',30000.);
[12620]4md=setmask(md,'../Exp/SquareShelf.exp','');
5md=parameterize(md,'../Par/SquareSheetShelf.par');
[15565]6md=setflowequation(md,'SSA','all');
[12620]7md.cluster=generic('name',oshostname(),'np',3);
8
9%partitioning
10md.qmu.numberofpartitions=100;
11md=partitioner(md,'package','chaco','npart',md.qmu.numberofpartitions);
12md.qmu.partition=md.qmu.partition-1;
13
14vector=(1:1:md.mesh.numberofvertices)';
15vector_on_partition=AreaAverageOntoPartition(md,vector);
16vector_on_nodes=vector_on_partition(md.qmu.partition+1);
17
18field_names ={'vector_on_nodes'};
19field_tolerances={1e-11};
20field_values={...
21 vector_on_nodes,...
22 };
Note: See TracBrowser for help on using the repository browser.