Changeset 3107


Ignore:
Timestamp:
02/24/10 07:20:13 (15 years ago)
Author:
Mathieu Morlighem
Message:

fill not needed anymore in some routines

Location:
issm/trunk/src/c/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Icefront.cpp

    r3105 r3107  
    6161}
    6262/*}}}*/
    63                
     63
    6464/*Object marshall*/
    6565/*FUNCTION Icefront Demarshall {{{1*/
     
    339339
    340340        //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);
    342342               
    343343        #ifdef _DEBUGELEMENTS_
     
    352352                printf("normal (%g,%g)\n",normal[0],normal[1]);
    353353                printf("length %g\n",length);
    354                 printf("fill %i\n",fill);
    355354                printf("pe_g->terms\n");
    356355                for(i=0;i<numgrids*NDOF2;i++){
     
    496495
    497496        //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]);
    499498
    500499
     
    512511                printf("normal3 (%g,%g,%g)\n",normal3[0],normal3[1],normal3[2]);
    513512                printf("normal4 (%g,%g,%g)\n",normal4[0],normal4[1],normal4[2]);
    514                 printf("fill %i\n",fill);
    515513                printf("pe_g->terms\n");
    516514                for(i=0;i<numgridsload*NDOF2;i++){
     
    656654
    657655        //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]);
    659657
    660658        #ifdef _DEBUGELEMENTS_
     
    671669                printf("normal3 (%g,%g,%g)\n",normal3[0],normal3[1],normal3[2]);
    672670                printf("normal4 (%g,%g,%g)\n",normal4[0],normal4[1],normal4[2]);
    673                 printf("fill %i\n",fill);
    674671                printf("pe_g->terms\n");
    675672                for(i=0;i<numdofloads*NDOF4;i++){
     
    845842#define __FUNCT__ "Icefront::QuadPressureLoad"
    846843void 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){
    848845       
    849846       
     
    11031100#define __FUNCT__ "Icefront::QuadPressureLoadStokes"
    11041101void 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){
    11061103       
    11071104       
     
    13611358#define __FUNCT__ "Icefront::SegmentPressureLoad"
    13621359
    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){
     1360void Icefront::SegmentPressureLoad(double* pe_g,double rho_water,double rho_ice,double gravity, double* thickness_list, double* bed_list, double* normal,double length){
    13641361
    13651362        double   nx,ny;
  • issm/trunk/src/c/objects/Icefront.h

    r3105 r3107  
    6868                void  CreatePVectorDiagnosticStokes( Vec pg,void* inputs, int analysis_type,int sub_analysis_type);
    6969                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);
    7171                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);
    7373                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);
    7575                void  PenaltyCreateKMatrix(Mat Kgg,void* inputs,double kmax,int analysis_type,int sub_analysis_type);
    7676                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.