Ignore:
Timestamp:
01/14/11 14:11:33 (15 years ago)
Author:
Mathieu Morlighem
Message:

cosmetics

File:
1 edited

Legend:

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

    r7097 r7107  
    44024402void  Tria::MigrateGroundingLine(void){
    44034403
     4404
     4405        double *values         = NULL;
     4406        double  h[3],s[3],b[3],ba[3];
     4407        double  bed_hydro;
     4408        double  rho_water,rho_ice,density;
     4409        int     isonshelf[3];
    44044410        int     i;
    4405 
    4406         double  h[3];
    4407         double  s[3];
    4408         double  b[3];
    4409         double  ba[3];
    4410         double  bed_hydro;
    4411         int     isonshelf[3];
    4412         Input  *surface_input  = NULL;
    4413         Input  *bed_input      = NULL;
    4414         double  rho_water;
    4415         double  rho_ice;
    4416         double  density;
    4417         double *values         = NULL;
    44184411        bool    elementonshelf = false;
    44194412
    44204413
    44214414        /*Recover info at the vertices: */
    4422         surface_input   =inputs->GetInput(SurfaceEnum);  _assert_(surface_input);
    4423         bed_input   =inputs->GetInput(BedEnum);   _assert_(bed_input);
     4415        Input* surface_input =inputs->GetInput(SurfaceEnum); _assert_(surface_input);
     4416        Input* bed_input     =inputs->GetInput(BedEnum);     _assert_(bed_input);
    44244417        if((surface_input->Enum()!=TriaVertexInputEnum) | (bed_input->Enum()!=TriaVertexInputEnum))_error_(" not supported yet for bed and surface interpolations not P1!");
    44254418
     
    44654458        /*Surface and bed are updated. Update inputs:*/
    44664459        surface_input->GetValuesPtr(&values,NULL); for(i=0;i<3;i++)values[i]=s[i];
    4467         bed_input->GetValuesPtr(&values,NULL); for(i=0;i<3;i++)values[i]=b[i];
     4460        bed_input->GetValuesPtr(&values,NULL);     for(i=0;i<3;i++)values[i]=b[i];
    44684461
    44694462}
Note: See TracChangeset for help on using the changeset viewer.