Changeset 16801 for issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
- Timestamp:
- 11/16/13 09:07:02 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
r16800 r16801 867 867 /*Build load vector: */ 868 868 for(i=0;i<numnodes;i++){ 869 pe->values[i* NDOF2+0]+=-driving_stress_baseline*slope[0]*Jdet*gauss->weight*basis[i];870 pe->values[i* NDOF2+1]+=-driving_stress_baseline*slope[1]*Jdet*gauss->weight*basis[i];869 pe->values[i*2+0]+=-driving_stress_baseline*slope[0]*Jdet*gauss->weight*basis[i]; 870 pe->values[i*2+1]+=-driving_stress_baseline*slope[1]*Jdet*gauss->weight*basis[i]; 871 871 } 872 872 }
Note:
See TracChangeset
for help on using the changeset viewer.