Changeset 26729
- Timestamp:
- 12/12/21 04:25:43 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/jl/core/toolkits.jl ¶
r26718 r26729 127 127 function Solverx(A::IssmMatrix,b::IssmVector,xold::IssmVector) #{{{ 128 128 129 x = IssmVector(GetSize(xold)) 130 x.vector = (A.matrix\b.vector) 129 #Initialize output 130 #x = IssmVector(GetSize(xold)) 131 x = IssmVector(0) 132 133 #Solve linear system 134 x.vector = A.matrix\b.vector 131 135 132 136 return x … … 134 138 135 139 end#}}} 136
Note:
See TracChangeset
for help on using the changeset viewer.