Changeset 1735
- Timestamp:
- 08/17/09 17:07:02 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Riftfront.cpp
r1729 r1735 590 590 /*Activate or deactivate penalties: */ 591 591 if(penetration<0){ 592 printf("riftfront %i is penetrating\n",this->GetId());592 //printf("riftfront %i penetrating.\n",this->GetId()); 593 593 /*There is penetration, we need to active the penalty so this penetration will be NULL: */ 594 594 activate=1; … … 599 599 * wants to, ie the one with the max penetration: */ 600 600 if (penetration==max_penetration){ 601 //printf("riftfront %i at max penetration.\n",this->GetId()); 601 602 activate=0; 602 603 } … … 618 619 /*This penalty has zig zagged too long, fix it to smooth results: */ 619 620 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 } 621 625 } 622 626
Note:
See TracChangeset
for help on using the changeset viewer.