Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

sc::DistShellPair Class Reference

Distributes shell pairs either statically or dynamically. More...

#include <distsh.h>

Collaboration diagram for sc::DistShellPair:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DistShellPair (const Ref< MessageGrp > &, int nthread, int mythread, const Ref< ThreadLock > &, const Ref< GaussianBasisSet > &)
void init ()
 Resets to the first shell.
void set_dynamic (int d)
 Whether or not to use dynamic load balancing.
void set_debug (int d)
 How much stuff to print out.
void set_print_percent (int p)
 How often to print status from node 0.
int get_task (int &P, int &Q)
 Puts the current P>=Q shell pair into P and Q and returns 1.

Detailed Description

Distributes shell pairs either statically or dynamically.


Member Function Documentation

int sc::DistShellPair::get_task int &  P,
int &  Q
 

Puts the current P>=Q shell pair into P and Q and returns 1.

When there are no more shell pairs to be processed by this processor, 0 is returned. Once we start doing get_tasks, we have to go to the end if dyanmic load balancing is used.


The documentation for this class was generated from the following file:
Generated at Sat Dec 18 15:14:49 2004 for MPQC 2.2.3 using the documentation package Doxygen 1.3.7-20040617.