Changeset 1331
- Timestamp:
- 07/16/09 10:01:38 (16 years ago)
- Location:
- issm/trunk/src/m/utils/Mesh
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Mesh/MeshYams.m
r1329 r1331 1 function md= BuildAdaptedMeshYams2 % BUILDADAPTEDMESHYAMS - Build model of Antarctica by refining according to observed velocity error estimator1 function md=MeshYams 2 %MESHYAMS - Build model of Antarctica by refining according to observed velocity error estimator 3 3 % 4 4 % Usage: 5 % md= BuildAdaptedMeshYams5 % md=MeshYams; 6 6 7 7 %PIG settings … … 19 19 %Antarctica settings 20 20 nsteps=6; 21 resolution= 8000;22 hmin= 50;23 hmax= 3*10^5;21 resolution=5000; 22 hmin=300; %300m 23 hmax=150*10^3; %150km 24 24 gradation=[1.5*ones(2,1);3*ones(nsteps-2,1)]; 25 epsilon= 2*10^-0;25 epsilon=3*10^-0; %3m/a interpolation error 26 26 domainoutline='EnvDomainOutline200km.exp'; 27 27 %%} -
issm/trunk/src/m/utils/Mesh/YamsCall.m
r1329 r1331 133 133 system(['yams2-linux -O 1 -v 1 -ecp -hgrad ' num2str(gradation) ' carre0 carre1']); 134 134 rmpath([ISSM_DIR '/externalpackages/yams']); 135 t2=clock;fprintf('%s\n',[' done (' num2str(etime(t2,t1)) ' seconds)']);136 135 137 136 %plug new mesh … … 146 145 md.numberofgrids=size(Coor,1); 147 146 md.numberofelements=size(Tria,1); 147 t2=clock;fprintf('%s\n',[' done (' num2str(etime(t2,t1)) ' seconds)']); 148 148 149 149 %clean up:
Note:
See TracChangeset
for help on using the changeset viewer.