Changeset 26032
- Timestamp:
- 02/25/21 16:42:51 (4 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/examples/ISMIP/runme.m
r26031 r26032 134 134 % for y 135 135 % create maxY, list of indices where y is equal to max of y 136 % 137 % (i.e, indices in maxX and minX should be excluded from maxY and minY) 136 % but not where x is equal to max or min of x 137 % (i.e, indices in maxX and minX should be excluded from maxY and minY) 138 138 %-> 139 139 140 140 % create minY, list of indices where y is equal to max of y 141 % 141 % but not where x is equal to max or min of x 142 142 %-> 143 143 -
issm/trunk-jpl/jenkins/examples_tests.sh
r26030 r26032 302 302 md.stressbalance.spcvy(basalnodes)=0.0;\n\ 303 303 % periodic boundaries have to be fixed on the sides\n\ 304 % create tabs with the side of the domain\n\304 % Find the indices of the sides of the domain, for x and then for y\n\ 305 305 % for x\n\ 306 % create maxX #help find\n\306 % create maxX, list of indices where x is equal to max of x (use >> help find)\n\ 307 307 %->\n\ 308 308 maxX=find(md.mesh.x==max(md.mesh.x));\n\ 309 % create minX \n\309 % create minX, list of indices where x is equal to min of x\n\ 310 310 %->\n\ 311 311 minX=find(md.mesh.x==min(md.mesh.x));\n\ 312 % for y, max X and minX should be excluded\n\ 313 % create maxY\n\ 312 % for y\n\ 313 % create maxY, list of indices where y is equal to max of y\n\ 314 % but not where x is equal to max or min of x\n\ 315 % (i.e, indices in maxX and minX should be excluded from maxY and minY)\n\ 316 % but not where x is equal to max or min of x\n\ 314 317 %->\n\ 315 318 maxY=find(md.mesh.y==max(md.mesh.y) & md.mesh.x~=max(md.mesh.x) & md.mesh.x~=min(md.mesh.x));\n\ 316 % create minY \n\319 % create minY, list of indices where y is equal to max of y\n\ 317 320 %->\n\ 318 321 minY=find(md.mesh.y==min(md.mesh.y) & md.mesh.x~=max(md.mesh.x) & md.mesh.x~=min(md.mesh.x));\n\ 319 % set the node that should be paired together \n\322 % set the node that should be paired together, minX with maxX and minY with maxY\n\ 320 323 % #md.stressbalance.vertex_pairing\n\ 321 324 %->\n\
Note:
See TracChangeset
for help on using the changeset viewer.