Last change
on this file since 24180 was 24180, checked in by Mathieu Morlighem, 5 years ago |
CHG: trying to fix model
|
File size:
756 bytes
|
Rev | Line | |
---|
[19049] | 1 | %Test Name: SquareSheetShelfDiadSSA3dDakotaAreaAverage
|
---|
[12620] | 2 | %test partitioning, and partition averaging
|
---|
[13670] | 3 | md=triangle(model(),'../Exp/Square.exp',30000.);
|
---|
[12620] | 4 | md=setmask(md,'../Exp/SquareShelf.exp','');
|
---|
| 5 | md=parameterize(md,'../Par/SquareSheetShelf.par');
|
---|
[15565] | 6 | md=setflowequation(md,'SSA','all');
|
---|
[12620] | 7 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
| 8 |
|
---|
| 9 | %partitioning
|
---|
| 10 | md.qmu.numberofpartitions=100;
|
---|
| 11 | md=partitioner(md,'package','chaco','npart',md.qmu.numberofpartitions);
|
---|
[24174] | 12 | md.qmu.vpartition=md.qmu.vpartition-1;
|
---|
[12620] | 13 |
|
---|
| 14 | vector=(1:1:md.mesh.numberofvertices)';
|
---|
| 15 | vector_on_partition=AreaAverageOntoPartition(md,vector);
|
---|
[24180] | 16 | vector_on_nodes=vector_on_partition(md.qmu.vpartition+1);
|
---|
[12620] | 17 |
|
---|
| 18 | field_names ={'vector_on_nodes'};
|
---|
| 19 | field_tolerances={1e-11};
|
---|
| 20 | field_values={...
|
---|
| 21 | vector_on_nodes,...
|
---|
| 22 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.