Changeset 899 for issm/trunk/test/Validation/EISMINT/Transient/Square.par
- Timestamp:
- 06/11/09 12:58:40 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/Validation/EISMINT/Transient/Square.par
r16 r899 85 85 disp(' boundary conditions for diagnostic model: '); 86 86 %Build gridonicefront, array of boundary grids belonging to the icefront: 87 gridinsideicefront= ArgusContourToMesh(md.elements,md.x,md.y,expread('Front.exp',1),'node',2);87 gridinsideicefront=ContourToMesh(md.elements,md.x,md.y,expread('Front.exp',1),'node',2); 88 88 gridonicefront=double(md.gridonboundary & gridinsideicefront); 89 89 … … 102 102 pos=find(md.y==max(md.y)); %grids on the upper boundary condition 103 103 md.dirichletvalues_diag(pos,2)=400*(((md.x(pos)-100000)/25000).^2-ones(size(pos,1),1)).*heaviside((1+eps)*ones(size(pos,1),1)-((md.x(pos)-100000)/25000).^2); 104 md.segmentonneumann_prog=md.segments(pos,:);105 104 md.neumannvalues_prog=zeros(size(md.segmentonneumann_prog,1),1); 106 105 md.neumannvalues_prog(:)=NaN; %free radiation
Note:
See TracChangeset
for help on using the changeset viewer.