- Timestamp:
- 12/08/21 06:09:27 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/jl/solve/analyses/stressbalanceanalysis.jl
r26711 r26716 177 177 178 178 if(IsIcefront(element)) 179 A = zeros(6)180 179 181 180 #Get additional parameters and inputs … … 187 186 GetIcefrontCoordinates!(element, xyz_list_front, xyz_list, MaskIceLevelsetEnum) 188 187 nx, ny = NormalSection(element, xyz_list_front) 189 #println("nx ",nx," ny:",ny)190 188 191 189 gauss = GaussTria(element, xyz_list, xyz_list_front, 3) … … 202 200 203 201 for i in 1:numnodes 204 #println("1: ",gauss.weights[ig]*Jdet*term*nx*basis[i]," 2: ",gauss.weights[ig]*Jdet*term*ny*basis[i])205 202 pe.values[2*i-1] += gauss.weights[ig]*Jdet*term*nx*basis[i] 206 203 pe.values[2*i ] += gauss.weights[ig]*Jdet*term*ny*basis[i] 207 A[2*i-1] += gauss.weights[ig]*Jdet*term*nx*basis[i]208 A[2*i ] += gauss.weights[ig]*Jdet*term*ny*basis[i]209 204 end 210 205 end
Note:
See TracChangeset
for help on using the changeset viewer.