Changeset 1735


Ignore:
Timestamp:
08/17/09 17:07:02 (16 years ago)
Author:
Eric.Larour
Message:

Some extra logging info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Riftfront.cpp

    r1729 r1735  
    590590        /*Activate or deactivate penalties: */
    591591        if(penetration<0){
    592                 printf("riftfront %i is penetrating\n",this->GetId());
     592                //printf("riftfront %i penetrating.\n",this->GetId());
    593593                /*There is penetration, we need to active the penalty so this penetration will be NULL: */
    594594                activate=1;
     
    599599                 * wants to, ie the one with the max penetration: */
    600600                if (penetration==max_penetration){
     601                        //printf("riftfront %i at max penetration.\n",this->GetId());
    601602                        activate=0;
    602603                }
     
    618619                /*This penalty has zig zagged too long, fix it to smooth results: */
    619620                activate=1; this->active=activate;
    620                 printf("          locking  riftfront %i\n",this->id);
     621                if (this->counter==(this->penalty_lock+1)){
     622                        printf("riftfront %i locking at %g m/yr\n",this->GetId(),penetration*365.0*24.0*3600.0);
     623                        this->counter++;
     624                }
    621625        }
    622626
Note: See TracChangeset for help on using the changeset viewer.