|
pomerol
2.2
|
Wrapper around a computable object that calls the compute() method of the wrapped object and carries information about the complexity of a call to that method. More...
#include <mpi_skel.hpp>
Public Member Functions | |
| ComputeWrap (PartType &x, int complexity=1) | |
| void | run () |
| Call compute() of the wrapped object x. More... | |
Data Fields | |
| PartType & | x |
| Reference to the wrapped object. More... | |
| int | complexity |
| Complexity of a call to x.compute(). More... | |
Wrapper around a computable object that calls the compute() method of the wrapped object and carries information about the complexity of a call to that method.
| PartType | Type of the wrapped object. |
Definition at line 39 of file mpi_skel.hpp.
|
inlineexplicit |
Constructor.
| [in] | x | Reference to the wrapped object. |
| [in] | complexity | Complexity of a call to x.compute(). |
Definition at line 48 of file mpi_skel.hpp.
|
inline |
Call compute() of the wrapped object x.
Definition at line 50 of file mpi_skel.hpp.
| int pMPI::ComputeWrap< PartType >::complexity |
Complexity of a call to x.compute().
Definition at line 43 of file mpi_skel.hpp.
| PartType& pMPI::ComputeWrap< PartType >::x |
Reference to the wrapped object.
Definition at line 41 of file mpi_skel.hpp.