Changeset 20809
- Timestamp:
- 06/24/16 16:21:44 (9 years ago)
- Location:
- issm/trunk-jpl/jenkins/javascript/karma/lib/bin
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/javascript/karma/lib/bin/matlabfunc.js
r20800 r20809 18 18 return matrix.length * (matrix.constructor === Array ? matrix[0].length : 1); 19 19 } 20 21 function ArrayFill2D(arr, value) { 22 for (var i = 0; i < newarr.length; ++i) { 23 for (var j = 0; j < newarr[0].length; ++j) { 24 arr[i][j] = value; 25 } 26 } 27 return arr; 28 } 29 30 function ArrayFindNot2D(array, value) { 31 var indices = []; 32 33 for (var i = 0; i < array.length; ++i) { 34 for (var j = 0; j < array[0].length; ++j) { 35 if (array[i][j] !== value) { 36 indices.push(array[i][j]); 37 } 38 } 39 } 40 41 return indices; 42 } -
issm/trunk-jpl/jenkins/javascript/karma/lib/bin/stressbalance.js
r20808 r20809 76 76 return "stressbalance"; 77 77 }// }}} 78 this.extrude = function( ) {//{{{78 this.extrude = function(md) {//{{{ 79 79 this.spcvx=project3d(md,'vector',this.spcvx,'type','node'); 80 80 this.spcvy=project3d(md,'vector',this.spcvy,'type','node');
Note:
See TracChangeset
for help on using the changeset viewer.