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

Last change on this file since 24174 was 24174, checked in by schlegel, 5 years ago

CHG: fixed tests to deal with different partitioning schemes for epartition and vpartition

File size: 755 bytes
Line 
1%Test Name: SquareSheetShelfDiadSSA3dDakotaAreaAverage
2%test partitioning, and partition averaging
3md=triangle(model(),'../Exp/Square.exp',30000.);
4md=setmask(md,'../Exp/SquareShelf.exp','');
5md=parameterize(md,'../Par/SquareSheetShelf.par');
6md=setflowequation(md,'SSA','all');
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.vpartition=md.qmu.vpartition-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.