Changeset 21741


Ignore:
Timestamp:
05/23/17 10:12:54 (8 years ago)
Author:
Eric.Larour
Message:

CHG: ensure contiguous had to be enabled for the G_elastic and co arrays because they are quite big.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/SealevelriseAnalysis.cpp

    r21344 r21741  
    9090                iomodel->FetchData(&degacc,"md.slr.degacc");
    9191                M=reCast<int,IssmDouble>(180./degacc+1.);
    92                 G_elastic=xNew<IssmDouble>(M);
    93                 U_elastic=xNew<IssmDouble>(M);
    94                 H_elastic=xNew<IssmDouble>(M);
     92                G_elastic=xNew<IssmDouble>(M,"t");
     93                U_elastic=xNew<IssmDouble>(M,"t");
     94                H_elastic=xNew<IssmDouble>(M,"t");
    9595               
    9696                /*compute combined legendre + love number (elastic green function:*/
    9797                m=DetermineLocalSize(M,IssmComm::GetComm());
    9898                GetOwnershipBoundariesFromRange(&lower_row,&upper_row,m,IssmComm::GetComm());
    99                 G_elastic_local=xNew<IssmDouble>(m);
    100                 U_elastic_local=xNew<IssmDouble>(m);
    101                 H_elastic_local=xNew<IssmDouble>(m);
     99                G_elastic_local=xNew<IssmDouble>(m,"t");
     100                U_elastic_local=xNew<IssmDouble>(m,"t");
     101                H_elastic_local=xNew<IssmDouble>(m,"t");
    102102
    103103                for(int i=lower_row;i<upper_row;i++){
Note: See TracChangeset for help on using the changeset viewer.