Changeset 2350
- Timestamp:
- 09/29/09 07:35:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Tria.cpp
r2349 r2350 2964 2964 2965 2965 /*Add dampening term to misfit*/ 2966 if (strcmp(numpar->control_type,"drag")==0 & !shelf){ 2967 GetParameterDerivativeValue(&dk[0], &k[0],&xyz_list[0][0], gauss_l1l2l3); 2968 Jelem+=numpar->cm_noisedampening*1/2*(pow(dk[0],2)+pow(dk[1],2))*Jdet*gauss_weight; 2966 if (strcmp(numpar->control_type,"drag")==0){ 2967 if (!shelf){ 2968 GetParameterDerivativeValue(&dk[0], &k[0],&xyz_list[0][0], gauss_l1l2l3); 2969 Jelem+=numpar->cm_noisedampening*1/2*(pow(dk[0],2)+pow(dk[1],2))*Jdet*gauss_weight; 2970 } 2969 2971 } 2970 2972 else if (strcmp(numpar->control_type,"B")==0){
Note:
See TracChangeset
for help on using the changeset viewer.