Changeset 20011


Ignore:
Timestamp:
01/27/16 23:00:42 (9 years ago)
Author:
Eric.Larour
Message:

CHG: assemble every 100 steps.

File:
1 edited

Legend:

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

    r20010 r20011  
    22412241                if(i<ns){
    22422242               
    2243                         if(IssmComm::GetRank()==0)if(VerboseConvergence())if(i%1000)_printf_("\r" << "      convolution progress: " << (float)i/(float)ns*100 << "\%");
     2243                        if(IssmComm::GetRank()==0)if(VerboseConvergence())if(i%100==0)_printf_("\r" << "      convolution progress: " << (float)i/(float)ns*100 << "\%");
    22442244               
    22452245                        Element* element=xDynamicCast<Element*>(elements->GetObjectByOffset(i));
     
    22472247                        eustatic_cpu+=eustatic_cpu_e;
    22482248                }
    2249                 pSgi->Assemble();
     2249                if(i%100==0)pSgi->Assemble();
    22502250        }
    22512251        if(IssmComm::GetRank()==0)if(VerboseConvergence())_printf_("\n");
     
    22982298                if(i<ns){
    22992299
    2300                         if(verboseconvolution)if(IssmComm::GetRank()==0)if(VerboseConvergence())if(i%1000)_printf_("\r" << "      convolution progress: " << (float)i/(float)ns*100 << "\%");
     2300                        if(verboseconvolution)if(IssmComm::GetRank()==0)if(VerboseConvergence())if(i%100==0)_printf_("\r" << "      convolution progress: " << (float)i/(float)ns*100 << "\%");
    23012301
    23022302                        Element* element=xDynamicCast<Element*>(elements->GetObjectByOffset(i));
    23032303                        element->SealevelriseNonEustatic(pSgo, Sg_old,latitude,longitude,radius,oceanarea,eartharea);
    23042304                }
    2305                 pSgo->Assemble();
     2305                if(i%100==0)pSgo->Assemble();
    23062306        }
    23072307        if(verboseconvolution)if(IssmComm::GetRank()==0)if(VerboseConvergence())_printf_("\n");
Note: See TracChangeset for help on using the changeset viewer.