Changeset 21741
- Timestamp:
- 05/23/17 10:12:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/SealevelriseAnalysis.cpp
r21344 r21741 90 90 iomodel->FetchData(°acc,"md.slr.degacc"); 91 91 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"); 95 95 96 96 /*compute combined legendre + love number (elastic green function:*/ 97 97 m=DetermineLocalSize(M,IssmComm::GetComm()); 98 98 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"); 102 102 103 103 for(int i=lower_row;i<upper_row;i++){
Note:
See TracChangeset
for help on using the changeset viewer.