Last change
on this file since 21049 was 21049, checked in by agscott1, 9 years ago |
CHG: Replaced Enums with Strings in matlab and python. Updated corresponding cpp code.
|
File size:
581 bytes
|
Rev | Line | |
---|
[19049] | 1 | %Test Name: SquareShelfConstrainedMasstransp2dDG
|
---|
[13670] | 2 | md=triangle(model(),'../Exp/Square.exp',150000.);
|
---|
[4963] | 3 | md=meshconvert(md);
|
---|
[9641] | 4 | md=setmask(md,'all','');
|
---|
[4963] | 5 | md=parameterize(md,'../Par/SquareShelfConstrained.par');
|
---|
[15565] | 6 | md=setflowequation(md,'SSA','all');
|
---|
[8589] | 7 | md.cluster=generic('name',oshostname(),'np',3);
|
---|
[15767] | 8 | md.masstransport.stabilization=3;
|
---|
| 9 | md.masstransport.spcthickness=md.geometry.thickness;
|
---|
[21049] | 10 | md=solve(md,'MasstransportSolution');
|
---|
[5098] | 11 |
|
---|
| 12 | %Fields and tolerances to track changes
|
---|
| 13 | field_names ={'Thickness'};
|
---|
| 14 | field_tolerances={1e-13};
|
---|
| 15 | field_values={...
|
---|
[15767] | 16 | (md.results.MasstransportSolution.Thickness),...
|
---|
[5098] | 17 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.