Changeset 27055


Ignore:
Timestamp:
06/10/22 14:36:21 (3 years ago)
Author:
caronlam
Message:

BUG: minor change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r27054 r27055  
    63846384        IssmDouble* __restrict__ tide_love_l  = NULL;
    63856385        IssmDouble* __restrict__ LoveRotRSL   = NULL;
    6386         IssmDouble* __restrict__ LoveRotSatG  = NULL;
    63876386        IssmDouble* __restrict__ LoveRotU     = NULL;
    63886387        IssmDouble* __restrict__ LoveRothoriz = NULL;
     
    63966395        IssmDouble* tide_love_l  = NULL;
    63976396        IssmDouble* LoveRotRSL   = NULL;
    6398         IssmDouble* LoveRotSatG  = NULL;
    63996397        IssmDouble* LoveRotU     = NULL;
    64006398        IssmDouble* LoveRothoriz = NULL;
     
    73427340
    73437341                this->inputs->GetArrayPtr(SealevelchangeViscousRSLEnum,this->lid,&viscousRSL,&dummy);
    7344                 this->inputs->GetArrayPtr(SealevelchangeViscousSGEnum,this->lid,&viscousSG,&dummy);
    73457342                this->inputs->GetArrayPtr(SealevelchangeViscousUEnum,this->lid,&viscousU,&dummy);
    73467343                if(horiz){
     
    73517348                for(int i=0;i<NUMVERTICES;i++){
    73527349                        viscousRSL[i*viscousnumsteps+newindex+offset]=(1-lincoeff)*viscousRSL[i*viscousnumsteps+newindex]+lincoeff*viscousRSL[i*viscousnumsteps+newindex+1];
    7353                         viscousSG[i*viscousnumsteps+newindex+offset]=(1-lincoeff)*viscousSG[i*viscousnumsteps+newindex]+lincoeff*viscousSG[i*viscousnumsteps+newindex+1];
    73547350                        viscousU[i*viscousnumsteps+newindex+offset]=(1-lincoeff)*viscousU[i*viscousnumsteps+newindex]+lincoeff*viscousU[i*viscousnumsteps+newindex+1];
    73557351                        if(horiz){
     
    73637359        /*Free ressources*/
    73647360        xDelete<IssmDouble>(viscousRSL);
    7365         xDelete<IssmDouble>(viscousSG);
    73667361        xDelete<IssmDouble>(viscousU);
    73677362        xDelete<IssmDouble>(viscousN);
Note: See TracChangeset for help on using the changeset viewer.