Changeset 3107
- Timestamp:
- 02/24/10 07:20:13 (15 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Icefront.cpp
r3105 r3107 61 61 } 62 62 /*}}}*/ 63 63 64 64 /*Object marshall*/ 65 65 /*FUNCTION Icefront Demarshall {{{1*/ … … 339 339 340 340 //Compute load contribution for this segment: 341 SegmentPressureLoad(pe_g,matpar->GetRhoWater(),matpar->GetRhoIce(),matpar->GetG(),thickness_list,bed_list,normal,length ,fill);341 SegmentPressureLoad(pe_g,matpar->GetRhoWater(),matpar->GetRhoIce(),matpar->GetG(),thickness_list,bed_list,normal,length); 342 342 343 343 #ifdef _DEBUGELEMENTS_ … … 352 352 printf("normal (%g,%g)\n",normal[0],normal[1]); 353 353 printf("length %g\n",length); 354 printf("fill %i\n",fill);355 354 printf("pe_g->terms\n"); 356 355 for(i=0;i<numgrids*NDOF2;i++){ … … 496 495 497 496 //Compute load contribution for this quad: 498 QuadPressureLoad(pe_g,matpar->GetRhoWater(),matpar->GetRhoIce(),matpar->GetG(),thickness_list_quad,bed_list_quad,normal1,normal2,normal3,normal4,&xyz_list_quad[0][0] ,fill);497 QuadPressureLoad(pe_g,matpar->GetRhoWater(),matpar->GetRhoIce(),matpar->GetG(),thickness_list_quad,bed_list_quad,normal1,normal2,normal3,normal4,&xyz_list_quad[0][0]); 499 498 500 499 … … 512 511 printf("normal3 (%g,%g,%g)\n",normal3[0],normal3[1],normal3[2]); 513 512 printf("normal4 (%g,%g,%g)\n",normal4[0],normal4[1],normal4[2]); 514 printf("fill %i\n",fill);515 513 printf("pe_g->terms\n"); 516 514 for(i=0;i<numgridsload*NDOF2;i++){ … … 656 654 657 655 //Compute load contribution for this quad: 658 QuadPressureLoadStokes(pe_g,matpar->GetRhoWater(),matpar->GetRhoIce(),matpar->GetG(),thickness_list_quad,bed_list_quad,normal1,normal2,normal3,normal4,&xyz_list_quad[0][0] ,fill);656 QuadPressureLoadStokes(pe_g,matpar->GetRhoWater(),matpar->GetRhoIce(),matpar->GetG(),thickness_list_quad,bed_list_quad,normal1,normal2,normal3,normal4,&xyz_list_quad[0][0]); 659 657 660 658 #ifdef _DEBUGELEMENTS_ … … 671 669 printf("normal3 (%g,%g,%g)\n",normal3[0],normal3[1],normal3[2]); 672 670 printf("normal4 (%g,%g,%g)\n",normal4[0],normal4[1],normal4[2]); 673 printf("fill %i\n",fill);674 671 printf("pe_g->terms\n"); 675 672 for(i=0;i<numdofloads*NDOF4;i++){ … … 845 842 #define __FUNCT__ "Icefront::QuadPressureLoad" 846 843 void Icefront::QuadPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, 847 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list , int fill){844 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list){ 848 845 849 846 … … 1103 1100 #define __FUNCT__ "Icefront::QuadPressureLoadStokes" 1104 1101 void Icefront::QuadPressureLoadStokes(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, 1105 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list , int fill){1102 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list){ 1106 1103 1107 1104 … … 1361 1358 #define __FUNCT__ "Icefront::SegmentPressureLoad" 1362 1359 1363 void Icefront::SegmentPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, double* normal,double length ,int fill){1360 void Icefront::SegmentPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, double* normal,double length){ 1364 1361 1365 1362 double nx,ny; -
issm/trunk/src/c/objects/Icefront.h
r3105 r3107 68 68 void CreatePVectorDiagnosticStokes( Vec pg,void* inputs, int analysis_type,int sub_analysis_type); 69 69 void GetDofList(int* doflist,int* pnumberofdofs); 70 void SegmentPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, double* normal,double length ,int fill);70 void SegmentPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, double* normal,double length); 71 71 void QuadPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, 72 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list , int fill);72 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list); 73 73 void QuadPressureLoadStokes(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, 74 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list , int fill);74 double* normal1,double* normal2,double* normal3,double* normal4,double* xyz_list); 75 75 void PenaltyCreateKMatrix(Mat Kgg,void* inputs,double kmax,int analysis_type,int sub_analysis_type); 76 76 void PenaltyCreatePVector(Vec pg,void* inputs,double kmax,int analysis_type,int sub_analysis_type);
Note:
See TracChangeset
for help on using the changeset viewer.