ComputeTool¶
Note
under construction
The ComputeTool object is used to perform calculations that may be re-used by various modules. Unlike a Driver, a ComputeTool is assumed to perform its functions independently, and so does not require any data sharing paradigm beyond passing arguments into its methods.
Best Practices¶
Avoid making the tool the owner of heavyweight data. Instead pass such data to member functions by reference.
Keep self-contained, i.e., avoid using references to modules or other objects in the containment hierarchy. If this seems unavoidable consider using a
Module.