| 589 |
|
//private: |
| 590 |
|
//std::vector<StuntDouble*> sdByGlobalIndex_; |
| 591 |
|
|
| 592 |
– |
#ifdef IS_MPI |
| 592 |
|
//in Parallel version, we need MolToProc |
| 593 |
|
public: |
| 594 |
|
|
| 609 |
|
void setMolToProcMap(const std::vector<int>& molToProcMap) { |
| 610 |
|
molToProcMap_ = molToProcMap; |
| 611 |
|
} |
| 613 |
– |
|
| 614 |
– |
|
| 612 |
|
|
| 613 |
|
private: |
| 614 |
|
|
| 615 |
|
void setupFortranParallel(); |
| 616 |
|
|
| 617 |
|
/** |
| 618 |
< |
* The size of molToProcMap_ is equal to total number of molecules in the system. |
| 619 |
< |
* It maps a molecule to the processor on which it resides. it is filled by SimCreator once and only |
| 620 |
< |
* once. |
| 618 |
> |
* The size of molToProcMap_ is equal to total number of molecules |
| 619 |
> |
* in the system. It maps a molecule to the processor on which it |
| 620 |
> |
* resides. it is filled by SimCreator once and only once. |
| 621 |
|
*/ |
| 622 |
|
std::vector<int> molToProcMap_; |
| 623 |
|
|
| 627 |
– |
#endif |
| 624 |
|
|
| 625 |
|
}; |
| 626 |
|
|