Ignore:
Timestamp:
11/16/13 09:07:02 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: done with Driving stress SSA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r16800 r16801  
    867867                /*Build load vector: */
    868868                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];
    871871                }
    872872        }
Note: See TracChangeset for help on using the changeset viewer.