| 3639 | } |
| 3640 | |
| 3641 | void* OPS_ParallelNumberer() { |
| 3642 | |
| 3643 | #ifdef _PARALLEL_INTERPRETERS |
| 3644 | ParallelNumberer *theParallelNumberer = 0; |
| 3645 | if (cmds == 0) return theParallelNumberer; |
| 3646 | |
| 3647 | MachineBroker* machine = cmds->getMachineBroker(); |
| 3648 | Channel** channels = cmds->getChannels(); |
| 3649 | int numChannels = cmds->getNumChannels(); |
| 3650 | |
| 3651 | int rank = machine->getPID(); |
| 3652 | |
| 3653 | theParallelNumberer = new ParallelNumberer; |
| 3654 | theParallelNumberer->setProcessID(rank); |
| 3655 | theParallelNumberer->setChannels(numChannels, channels); |
| 3656 | |
| 3657 | return theParallelNumberer; |
| 3658 | #else |
| 3659 | return 0; |
| 3660 | #endif |
| 3661 | } |
| 3662 | |
| 3663 | void* OPS_ParallelDisplacementControl() { |
| 3664 | #ifdef _PARALLEL_INTERPRETERS |
no test coverage detected