diff --git a/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C b/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C index 4789212ce7..8ab716ec21 100644 --- a/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C +++ b/applications/utilities/postProcessing/lagrangian/particleTracks/particleTracks.C @@ -41,19 +41,6 @@ Description using namespace Foam; -Foam::label checkHeader(IOobject& io) -{ - if (io.headerOk()) - { - return 0; - } - else - { - Info<< " no " << io.name() << " field" << endl; - return 1; - } -} - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // int main(int argc, char *argv[]) @@ -65,165 +52,22 @@ int main(int argc, char *argv[]) # include "createMesh.H" # include "createFields.H" - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -/* - Parallel mode - - nProcs known - - scan through times to determine max id for each proc - - - scan through times to populate for each particle (indexed to procId): - - id - - time - - construct single flat list from all procs of ids and times: - - starting id = sum of ids of lower procs - - sort particles according to time - - join the dots... - - Serial mode - - don't know if case was run in serial mode, or is a reconstructed - parallel run - - scan times to determine max origProcId and max id for each origProc - - - scan through times to populate for each particle (indexed to procId): - - id - - time - - construct single flat list from all procs of ids and times: - - starting id = sum of ids of lower procs - - sort particles according to time - - join the dots... - - -*/ - - DynamicList