ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/BioCocoa/BioSwarm/trunk/Models/SubcellularElementModel.m
(Generate patch)
# Line 4007 | Line 4007
4007    [self initializeMPISimulation];
4008  
4009    // place elements in sectors
4010 +  if (TIME_PROFILE) bc_record_time([[NSString stringWithFormat: @"start -assignElementsToSectors, rank = %d", [modelController rank]] UTF8String]);
4011    [self assignElementsToSectors];
4012 +  if (TIME_PROFILE) bc_record_time([[NSString stringWithFormat: @"end -assignElementsToSectors, rank = %d", [modelController rank]] UTF8String]);
4013  
4014    // neighbor tables are calculated from element and sector coordinates
4015 +  if (TIME_PROFILE) bc_record_time([[NSString stringWithFormat: @"start -initializeNeighborTables, rank = %d", [modelController rank]] UTF8String]);
4016    [self initializeNeighborTables];
4017 +  if (TIME_PROFILE) bc_record_time([[NSString stringWithFormat: @"end -initializeNeighborTables, rank = %d", [modelController rank]] UTF8String]);
4018   }
4019  
4020   @end

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines