Changeset 4691
- Timestamp:
- 07/21/10 11:00:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r4651 r4691 4663 4663 double alpha2,vx,vy; 4664 4664 double geothermalflux_value; 4665 double alpha2_list[numgrids]; //TO BE DELETED 4666 double gauss[numgrids][numgrids] = {{1,0,0},{0,1,0},{0,0,1}}; //TO BE DELETED 4665 4667 4666 4668 /* gaussian points: */ … … 4700 4702 if (drag_type!=2)ISSMERROR(" non-viscous friction not supported yet!"); 4701 4703 friction=new Friction("3d",inputs,matpar,analysis_type); 4704 4705 /*COMPUT alpha2_list (TO BE DELETED)*/ 4706 for(i=0;i<numgrids;i++){ 4707 friction->GetAlpha2(&alpha2_list[i],&gauss[i][0],VxEnum,VyEnum,VzEnum); 4708 } 4702 4709 4703 4710 /* Ice/ocean heat exchange flux on ice shelf base */ … … 4720 4727 inputs->GetParameterValue(&geothermalflux_value, &gauss_coord[0],GeothermalFluxEnum); 4721 4728 4722 friction->GetAlpha2(&alpha2,&gauss_coord[0],VxEnum,VyEnum,VzEnum); 4729 /*Friction: */ 4730 //friction->GetAlpha2(&alpha2,&gauss_coord[0],VxEnum,VyEnum,VzEnum); 4731 GetParameterValue(&alpha2,&alpha2_list[0],gauss_coord); // TO BE DELETED 4732 4723 4733 inputs->GetParameterValue(&vx, &gauss_coord[0],VxEnum); 4724 4734 inputs->GetParameterValue(&vy, &gauss_coord[0],VyEnum); … … 4734 4744 P_terms[i]+=scalar*l1l2l3[i]; 4735 4745 } 4746 4736 4747 } 4737 4748
Note:
See TracChangeset
for help on using the changeset viewer.