Changeset 27059


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

BUG: memory management issue

Location:
issm/trunk-jpl/src/c
Files:
2 edited

Legend:

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

    r27057 r27059  
    74827482        }
    74837483
     7484                cout << "DEBUG: Sealevelchange convo:";
    74847485        xDelete<IssmDouble>(G);
     7486                cout << " step1";
    74857487        xDelete<IssmDouble>(Grot);
     7488                cout << ", step2";
    74867489        for (int l=0;l<SLGEOM_NUMLOADS;l++) xDelete<IssmDouble>(Gsub[l]);
     7490                cout << ", step3";
    74877491        xDelete<IssmDouble*>(Gsub);
     7492                cout << ", step4\n";
    74887493
    74897494        return;
  • issm/trunk-jpl/src/c/cores/sealevelchange_core.cpp

    r27053 r27059  
    340340                }
    341341
     342                cout << "DEBUG: Sealevelchange convolution cleared\n";
     343
    342344                /*retrieve sea level average  and ocean area:*/
    343345                for(Object* & object : femmodel->elements->objects){
     
    345347                        element->SealevelchangeOceanAverage(loads, oceanareas, subelementoceanareas, sealevelpercpu, slgeom);
    346348                }
     349
     350                cout << "DEBUG: Sealevelchange Oceanavaverage cleared\n";
    347351
    348352                loads->AssembleSealevelLoads();
     
    360364                ConserveOceanMass(femmodel,loads,barycontrib->Total()/totaloceanarea - oceanaverage,slgeom);
    361365
     366                cout << "DEBUG: Sealevelchange Conserve ocean mass cleared\n";
     367
    362368                //broadcast sea level loads
    363369                loads->BroadcastSealevelLoads();
     
    366372                if(slcconvergence(loads->vsealevelloads,oldsealevelloads,eps_rel,eps_abs))break;
    367373
     374                cout << "DEBUG: Sealevelchange convergence cleared\n";
    368375                //early return?
    369376                if(iterations>=max_nonlinear_iterations)break;
Note: See TracChangeset for help on using the changeset viewer.