|
| ScalarResult (const ScalarResult< T > &other)=delete |
| Disable the default copy constructor.
|
|
| ScalarResult (ScalarResult< T > &&)=default |
|
| ScalarResult (World &world) |
|
| ~ScalarResult () |
|
void | gaxpy (const double a, const T &right, double b, const bool fence=true) |
| accumulate, optional fence
|
|
T | get () |
| after completion of the taskq get the final value
|
|
T | get_local () const |
|
ScalarResult< T > & | operator+= (const T &x) |
|
ScalarResult< T > & | operator= (const ScalarResult< T > &other)=delete |
| disable assignment operator
|
|
ScalarResult< T > & | operator= (const T &x) |
| simple assignment of the scalar value
|
|
ScalarResult< T > & | operator= (ScalarResult< T > &&)=default |
|
template<typename Archive > |
void | serialize (Archive &ar) |
|
| WorldObject (const WorldObject &other) |
|
| WorldObject (World &world) |
| Constructor that associates an object (via the derived class) with a globally unique ID.
|
|
virtual | ~WorldObject () |
|
World & | get_world () const |
| Returns a reference to the world .
|
|
const uniqueidT & | id () const |
| Returns the globally unique object ID.
|
|
WorldObject & | operator= (const WorldObject &)=delete |
|
template<typename memfnT > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn) const |
|
template<typename memfnT , typename a1T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1) const |
|
template<typename memfnT , typename a1T , typename a2T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T , typename a7T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T , typename a7T , typename a8T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T , typename a7T , typename a8T , typename a9T > |
detail::task_result_type< memfnT >::futureT | send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8, const a9T &a9) const |
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T , typename a7T , typename a8T , typename a9T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8, const a9T &a9, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2,a3,a4,a5,a6,a7,a8,a9) .
|
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T , typename a7T , typename a8T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const a8T &a8, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2,a3,a4,a5,a6,a7,a8) .
|
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T , typename a7T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const a7T &a7, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2,a3,a4,a5,a6,a7) .
|
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T , typename a6T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const a6T &a6, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2,a3,a4,a5,a6) .
|
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T , typename a5T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const a5T &a5, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2,a3,a4,a5) .
|
|
template<typename memfnT , typename a1T , typename a2T , typename a3T , typename a4T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2,a3,a4) .
|
|
template<typename memfnT , typename a1T , typename a2T , typename a3T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2,a3) .
|
|
template<typename memfnT , typename a1T , typename a2T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1,a2) .
|
|
template<typename memfnT , typename a1T > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const a1T &a1, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)(a1) .
|
|
template<typename memfnT > |
detail::task_result_type< memfnT >::futureT | task (ProcessID dest, memfnT memfn, const TaskAttributes &attr=TaskAttributes()) const |
| Sends task to derived class method returnT (this->*memfn)() .
|
|
virtual | ~WorldObjectBase ()=default |
|
template<typename
T = double>
class madness::ScalarResult< T >
helper class for returning the result of a task, which is not a madness Function, but a simple scalar
the result value is accumulated via gaxpy in universe rank=0, after completion of the taskq the final value can be obtained via get(), which includes a broadcast of the final value to all processes