Changeset 11563
- Timestamp:
- 02/28/12 10:54:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/objects/Elements/Tria.cpp
r11558 r11563 3597 3597 int analysis_type; 3598 3598 int doflist1[NUMVERTICES]; 3599 int connectivity[NUMVERTICES]; 3599 3600 double vx,vy,lambda,mu,alpha_complement,Jdet; 3600 3601 double bed,thickness,Neff,drag; … … 3614 3615 GetVerticesCoordinates(&xyz_list[0][0], nodes, NUMVERTICES); 3615 3616 GradientIndexing(&doflist1[0],control_index); 3617 this->GetConnectivityList(&connectivity[0]); 3616 3618 3617 3619 /*Build frictoin element, needed later: */ … … 3666 3668 // vx_input->GetInputValue(&vx,gauss); 3667 3669 // vy_input->GetInputValue(&vy,gauss); 3668 // grade_g[iv] =-2*drag*alpha_complement*((lambda*vx+mu*vy));3670 // grade_g[iv] = -2*drag*alpha_complement*(lambda*vx+mu*vy)/((double)connectivity[iv]); 3669 3671 //} 3670 //VecSetValues(gradient,NUMVERTICES,doflist1,(const double*)grade_g,INSERT_VALUES);3671 3672 /*End Analytical gradient*/ 3672 3673
Note:
See TracChangeset
for help on using the changeset viewer.