MADNESS
0.10.1
|
Makes a distributed container with specified attributes. More...
#include <worlddc.h>
Public Types | |
typedef implT::accessor | accessor |
typedef implT::const_accessor | const_accessor |
typedef Future< const_iterator > | const_futureT |
typedef implT::const_iterator | const_iterator |
typedef WorldContainer< keyT, valueT, hashfunT > | containerT |
typedef Future< iterator > | futureT |
typedef WorldContainerImpl< keyT, valueT, hashfunT > | implT |
typedef implT::iterator | iterator |
typedef implT::pairT | pairT |
Public Member Functions | |
WorldContainer () | |
Makes an uninitialized container (no communication) More... | |
WorldContainer (const WorldContainer &other) | |
Copy constructor is shallow (no communication) More... | |
WorldContainer (World &world, bool do_pending=true, const hashfunT &hf=hashfunT()) | |
Makes an initialized, empty container with default data distribution (no communication) More... | |
WorldContainer (World &world, const std::shared_ptr< WorldDCPmapInterface< keyT >> &pmap, bool do_pending=true, const hashfunT &hf=hashfunT()) | |
Makes an initialized, empty container (no communication) More... | |
virtual | ~WorldContainer () |
Destructor passes ownership of implementation to world for deferred cleanup. More... | |
iterator | begin () |
Returns an iterator to the beginning of the local data (no communication) More... | |
const_iterator | begin () const |
Returns an iterator to the beginning of the local data (no communication) More... | |
void | clear () |
Clears all local data (no communication) More... | |
iterator | end () |
Returns an iterator past the end of the local data (no communication) More... | |
const_iterator | end () const |
Returns an iterator past the end of the local data (no communication) More... | |
void | erase (const iterator &it) |
Erases entry corresponding to local iterator (no communication) More... | |
void | erase (const iterator &start, const iterator &finish) |
Erases range defined by local iterators (no communication) More... | |
void | erase (const keyT &key) |
Erases entry from container (non-blocking comm if remote) More... | |
bool | find (accessor &acc, const keyT &key) |
Write access to LOCAL value by key. Returns true if found, false otherwise (always false for remote). More... | |
Future< iterator > | find (const keyT &key) |
Returns a future iterator (non-blocking communication if key not local) More... | |
Future< const_iterator > | find (const keyT &key) const |
Returns a future iterator (non-blocking communication if key not local) More... | |
bool | find (const_accessor &acc, const keyT &key) const |
Read access to LOCAL value by key. Returns true if found, false otherwise (always false for remote). More... | |
hashfunT & | get_hash () const |
Returns a reference to the hashing functor. More... | |
std::shared_ptr< WorldDCPmapInterface< keyT > > & | get_impl () |
const std::shared_ptr< WorldDCPmapInterface< keyT > > & | get_pmap () const |
Returns shared pointer to the process mapping. More... | |
World & | get_world () const |
Returns the world associated with this container. More... | |
const uniqueidT & | id () const |
Returns the associated unique id ... must be initialized. More... | |
bool | insert (accessor &acc, const keyT &key) |
Write access to LOCAL value by key. Returns true if inserted, false if already exists (throws if remote) More... | |
bool | insert (const_accessor &acc, const keyT &key) |
Read access to LOCAL value by key. Returns true if inserted, false if already exists (throws if remote) More... | |
bool | is_local (const keyT &key) const |
Returns true if the key maps to the local processor (no communication) More... | |
containerT & | operator= (const containerT &other) |
Assignment is shallow (no communication) More... | |
ProcessID | owner (const keyT &key) const |
Returns processor that logically owns key (no communication) More... | |
bool | probe (const keyT &key) const |
Returns true if local data is immediately available (no communication) More... | |
void | process_pending () |
Process pending messages. More... | |
void | replace (const keyT &key, const valueT &value) |
Inserts/replaces key+value pair (non-blocking communication if key not local) More... | |
void | replace (const pairT &datum) |
Inserts/replaces key+value pair (non-blocking communication if key not local) More... | |
template<typename input_iterator > | |
void | replace (input_iterator &start, input_iterator &end) |
Inserts pairs (non-blocking communication if key(s) not local) More... | |
void | replicate (bool fence=true) |
replicates this WorldContainer on all ProcessIDs More... | |
void | reset_pmap_to_local () |
Returns shared pointer to the process mapping. More... | |
template<typename memfunT , typename arg1T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, const memfunT &memfun, const arg1T &arg1) |
Sends message "resultT memfun(arg1T)" to item (non-blocking comm if remote) More... | |
template<typename memfunT > | |
Future< MEMFUN_RETURNT(memfunT)> | send (const keyT &key, memfunT memfun) |
Sends message "resultT memfun()" to item (non-blocking comm if remote) More... | |
template<typename memfunT > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun) const |
Sends message "resultT memfun() const" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1) const |
Sends message "resultT memfun(arg1T) const" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2) |
Sends message "resultT memfun(arg1T,arg2T)" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2) const |
Sends message "resultT memfun(arg1T,arg2T) const" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3) |
Sends message "resultT memfun(arg1T,arg2T,arg3T)" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3) const |
Sends message "resultT memfun(arg1T,arg2T,arg3T) const" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4) |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T)" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4) const |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T) const" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5) |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T)" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5) const |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T) const" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6) |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T)" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6) const |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T) const" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T , typename arg7T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6, const arg7T &arg7) |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T)" to item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T , typename arg7T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | send (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6, const arg7T &arg7) const |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T) const" to item (non-blocking comm if remote) More... | |
template<typename Archive > | |
void | serialize (const Archive &ar) |
(de)Serialize — Local data only to/from anything except Buffer*Archive and Parallel*Archive More... | |
void | serialize (const archive::BufferInputArchive &ar) |
(de)Serialize — !! ONLY for purpose of interprocess communication More... | |
void | serialize (const archive::BufferOutputArchive &ar) |
(de)Serialize — !! ONLY for purpose of interprocess communication More... | |
std::size_t | size () const |
Returns the number of local entries (no communication) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T , typename arg7T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6, const arg7T &arg7, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T)" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T , typename arg7T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6, const arg7T &arg7, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T) const" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T)" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T , typename arg6T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const arg6T &arg6, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T) const" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T)" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T , typename arg5T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const arg5T &arg5, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T) const" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T)" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T , typename arg4T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const arg4T &arg4, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun(arg1T,arg2T,arg3T, arg4T) const" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun(arg1T,arg2T,arg3T)" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T , typename arg3T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const arg3T &arg3, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun(arg1T,arg2T,arg3T) const" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun(arg1T,arg2T)" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T , typename arg2T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const arg2T &arg2, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun(arg1T,arg2T) const" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun(arg1T)" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT , typename arg1T > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const arg1T &arg1, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun(arg1T) const" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const TaskAttributes &attr=TaskAttributes()) |
Adds task "resultT memfun()" in process owning item (non-blocking comm if remote) More... | |
template<typename memfunT > | |
Future< REMFUTURE(MEMFUN_RETURNT(memfunT))> | task (const keyT &key, memfunT memfun, const TaskAttributes &attr=TaskAttributes()) const |
Adds task "resultT memfun() const" in process owning item (non-blocking comm if remote) More... | |
Private Member Functions | |
void | check_initialized () const |
Private Attributes | |
std::shared_ptr< implT > | p |
Friends | |
void | swap (WorldContainer &, WorldContainer &) |
Makes a distributed container with specified attributes.
There is no communication or syncronization associated with making a new container, but every process must invoke the constructor for each container in the same order. This is so that we can assign each container a unique ID without any communication. Since remotely invoked operations may start happening before local construction, messages on not yet constructed containers are buffered pending construction.
Similarly, when a container is destroyed, the actual destruction is deferred until a synchronization point (world.gop.fence()) in order to eliminate the need to fence before destroying every container.
The distribution of data between processes is controlled by the process map (Pmap) class. The default is uniform hashing based upon a strong (Bob Jenkins, lookup3) bytewise hash of the key.
All operations, including constructors and destructors, are non-blocking and return immediately. If communication occurs it is asynchronous, otherwise operations are local.
typedef implT::accessor madness::WorldContainer< keyT, valueT, hashfunT >::accessor |
typedef implT::const_accessor madness::WorldContainer< keyT, valueT, hashfunT >::const_accessor |
typedef Future<const_iterator> madness::WorldContainer< keyT, valueT, hashfunT >::const_futureT |
typedef implT::const_iterator madness::WorldContainer< keyT, valueT, hashfunT >::const_iterator |
typedef WorldContainer<keyT, valueT, hashfunT> madness::WorldContainer< keyT, valueT, hashfunT >::containerT |
typedef Future<iterator> madness::WorldContainer< keyT, valueT, hashfunT >::futureT |
typedef WorldContainerImpl<keyT, valueT, hashfunT> madness::WorldContainer< keyT, valueT, hashfunT >::implT |
typedef implT::iterator madness::WorldContainer< keyT, valueT, hashfunT >::iterator |
typedef implT::pairT madness::WorldContainer< keyT, valueT, hashfunT >::pairT |
|
inline |
Makes an uninitialized container (no communication)
The container is useless until assigned to from a fully constructed container. There is no need to worry about default constructors being executed in order.
|
inline |
Makes an initialized, empty container with default data distribution (no communication)
A unique ID is associated with every distributed container within a world. In order to avoid synchronization when making a container, we have to assume that all processes execute this constructor in the same order (does not apply to the non-initializing, default constructor).
References madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Makes an initialized, empty container (no communication)
A unique ID is associated with every distributed container within a world. In order to avoid synchronization when making a container, we have to assume that all processes execute this constructor in the same order (does not apply to the non-initializing, default constructor).
References madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Copy constructor is shallow (no communication)
The copy refers to exactly the same container as other which must be initialized.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized().
|
inlinevirtual |
Destructor passes ownership of implementation to world for deferred cleanup.
References madness::detail::deferred_cleanup(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Returns an iterator to the beginning of the local data (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::FunctionImpl(), madness::FunctionImpl< T, NDIM >::add_keys_to_map(), madness::WorldContainer< keyT, valueT, hashfunT >::begin(), madness::FunctionImpl< T, NDIM >::copy_coeffs(), madness::FunctionImpl< T, NDIM >::do_dirac_convolution(), madness::FunctionImpl< T, NDIM >::errsq_local(), madness::FunctionImpl< T, NDIM >::flo_unary_op_node_inplace(), madness::FunctionImpl< T, NDIM >::gaxpy(), madness::FunctionImpl< T, NDIM >::gaxpy_inplace(), madness::FunctionImpl< T, NDIM >::get_contraction_node_lists(), madness::FunctionImpl< T, NDIM >::inner_adaptive_local(), madness::FunctionImpl< T, NDIM >::inner_ext_local(), madness::LoadBalanceDeux< NDIM >::load_balance(), madness::FunctionImpl< T, NDIM >::multi_to_multi_op_values(), madness::FunctionImpl< T, NDIM >::multiop_values(), madness::FunctionImpl< T, NDIM >::project(), madness::Cloud::replicate(), madness::WorldContainer< keyT, valueT, hashfunT >::serialize(), madness::archive::ArchiveStoreImpl< ParallelOutputArchive< VectorOutputArchive >, WorldContainer< keyT, valueT > >::store(), madness::LoadBalanceDeux< NDIM >::sum(), madness::FunctionImpl< T, NDIM >::unary_op_coeff_inplace(), madness::FunctionImpl< T, NDIM >::unary_op_node_inplace(), madness::FunctionImpl< T, NDIM >::unary_op_value_inplace(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Returns an iterator to the beginning of the local data (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::begin(), madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inlineprivate |
References MADNESS_ASSERT, and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::WorldContainer< keyT, valueT, hashfunT >::WorldContainer(), madness::WorldContainer< keyT, valueT, hashfunT >::begin(), madness::WorldContainer< keyT, valueT, hashfunT >::clear(), madness::WorldContainer< keyT, valueT, hashfunT >::end(), madness::WorldContainer< keyT, valueT, hashfunT >::erase(), madness::WorldContainer< keyT, valueT, hashfunT >::find(), madness::WorldContainer< keyT, valueT, hashfunT >::get_hash(), madness::WorldContainer< keyT, valueT, hashfunT >::get_impl(), madness::WorldContainer< keyT, valueT, hashfunT >::get_pmap(), madness::WorldContainer< keyT, valueT, hashfunT >::get_world(), madness::WorldContainer< keyT, valueT, hashfunT >::id(), madness::WorldContainer< keyT, valueT, hashfunT >::insert(), madness::WorldContainer< keyT, valueT, hashfunT >::is_local(), madness::WorldContainer< keyT, valueT, hashfunT >::operator=(), madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::probe(), madness::WorldContainer< keyT, valueT, hashfunT >::process_pending(), madness::WorldContainer< keyT, valueT, hashfunT >::replace(), madness::WorldContainer< keyT, valueT, hashfunT >::send(), madness::WorldContainer< keyT, valueT, hashfunT >::serialize(), madness::WorldContainer< keyT, valueT, hashfunT >::size(), and madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Clears all local data (no communication)
Invalidates all iterators
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::Cloud::clear().
|
inline |
Returns an iterator past the end of the local data (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::archive::ContainerRecordInputArchive::ContainerRecordInputArchive(), madness::FunctionImpl< T, NDIM >::FunctionImpl(), madness::FunctionImpl< T, NDIM >::add_keys_to_map(), madness::FunctionImpl< T, NDIM >::binaryXXa(), madness::FunctionImpl< T, NDIM >::copy_coeffs(), madness::FunctionImpl< T, NDIM >::do_dirac_convolution(), madness::WorldContainer< keyT, valueT, hashfunT >::end(), madness::FunctionImpl< T, NDIM >::errsq_local(), madness::FunctionImpl< T, NDIM >::flo_unary_op_node_inplace(), madness::FunctionImpl< T, NDIM >::gaxpy(), madness::FunctionImpl< T, NDIM >::gaxpy_ext_recursive(), madness::FunctionImpl< T, NDIM >::gaxpy_inplace(), madness::FunctionImpl< T, NDIM >::get_contraction_node_lists(), madness::FunctionImpl< T, NDIM >::inner_adaptive_local(), madness::FunctionImpl< T, NDIM >::inner_ext_local(), madness::LoadBalanceDeux< NDIM >::load_balance(), madness::FunctionImpl< T, NDIM >::mulXXa(), madness::FunctionImpl< T, NDIM >::mulXXveca(), madness::LoadBalanceDeux< NDIM >::print_tree(), madness::FunctionImpl< T, NDIM >::project(), madness::WorldContainer< keyT, valueT, hashfunT >::replace(), madness::Cloud::replicate(), madness::WorldContainer< keyT, valueT, hashfunT >::serialize(), madness::archive::ArchiveStoreImpl< ParallelOutputArchive< VectorOutputArchive >, WorldContainer< keyT, valueT > >::store(), madness::LoadBalanceDeux< NDIM >::sum(), madness::FunctionImpl< T, NDIM >::unary_op_coeff_inplace(), madness::FunctionImpl< T, NDIM >::unary_op_node_inplace(), madness::FunctionImpl< T, NDIM >::unary_op_value_inplace(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Returns an iterator past the end of the local data (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), madness::WorldContainer< keyT, valueT, hashfunT >::end(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Erases entry corresponding to local iterator (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Erases range defined by local iterators (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Erases entry from container (non-blocking comm if remote)
Missing keys are quietly ignored.
Note that erasing an entry may invalidate iterators on the remote end. This is just the same as what happens when using STL iterators on an STL container in a sequential algorithm.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::innerXX().
|
inline |
Write access to LOCAL value by key. Returns true if found, false otherwise (always false for remote).
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::archive::ContainerRecordInputArchive::ContainerRecordInputArchive(), madness::FunctionImpl< T, NDIM >::binaryXXa(), madness::WorldContainer< keyT, valueT, hashfunT >::find(), madness::FunctionImpl< T, NDIM >::gaxpy_ext_recursive(), madness::FunctionImpl< T, NDIM >::inner_ext_recursive(), madness::FunctionImpl< T, NDIM >::multi_to_multi_op_values_doit(), madness::FunctionImpl< T, NDIM >::multiop_values_doit(), madness::FunctionImpl< T, NDIM >::mulXXa(), madness::FunctionImpl< T, NDIM >::mulXXveca(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local< R >::operator()(), madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::operator()(), madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::operator()(), madness::FunctionImpl< T, NDIM >::do_average::operator()(), madness::FunctionImpl< T, NDIM >::partial_inner(), madness::LoadBalanceDeux< NDIM >::print_tree(), madness::FunctionImpl< T, NDIM >::recur_down_for_contraction_map(), madness::FunctionImpl< T, NDIM >::refine_op(), madness::FunctionImpl< T, NDIM >::refine_spawn(), madness::Cloud::replicate(), madness::LoadBalanceDeux< NDIM >::sum(), and test_florian().
|
inline |
Returns a future iterator (non-blocking communication if key not local)
Like an std::map an iterator "points" to an std::pair<const keyT,valueT>.
Refer to Future for info on how to avoid blocking.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Returns a future iterator (non-blocking communication if key not local)
Like an std::map an iterator "points" to an std::pair<const keyT,valueT>.
Refer to Future for info on how to avoid blocking.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), madness::WorldContainer< keyT, valueT, hashfunT >::find(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Read access to LOCAL value by key. Returns true if found, false otherwise (always false for remote).
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Returns a reference to the hashing functor.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
|
inline |
Returns shared pointer to the process mapping.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::distribute().
|
inline |
Returns the world associated with this container.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::archive::ContainerRecordInputArchive::ContainerRecordInputArchive(), and madness::Cloud::replicate().
|
inline |
Returns the associated unique id ... must be initialized.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Write access to LOCAL value by key. Returns true if inserted, false if already exists (throws if remote)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::WorldContainer< keyT, valueT, hashfunT >::replace(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Read access to LOCAL value by key. Returns true if inserted, false if already exists (throws if remote)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Returns true if the key maps to the local processor (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::do_apply(), madness::FunctionImpl< T, NDIM >::forward_traverse(), madness::FunctionImpl< T, NDIM >::Vphi_op_NS< opT, LDIM >::operator()(), madness::insert_op< T, NDIM >::operator()(), madness::LoadBalanceDeux< NDIM >::add_op< T, costT >::operator()(), madness::FunctionImpl< T, NDIM >::partial_inner_contract(), madness::FunctionImpl< T, NDIM >::traverse_tree(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Assignment is shallow (no communication)
The copy refers to exactly the same container as other which must be initialized.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Returns processor that logically owns key (no communication)
Local remapping may have changed its physical location, but all operations should forward correctly.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::FunctionImpl(), madness::CoeffTracker< T, NDIM >::activate(), madness::FunctionImpl< T, NDIM >::apply(), madness::FunctionImpl< T, NDIM >::apply_source_driven(), madness::FunctionImpl< T, NDIM >::binaryXX(), madness::FunctionImpl< T, NDIM >::binaryXXa(), madness::FunctionImpl< T, NDIM >::Vphi_op_NS< opT, LDIM >::continue_recursion(), madness::FunctionImpl< T, NDIM >::do_dirac_convolution(), madness::DerivativeBase< T, NDIM >::forward_do_diff1(), madness::FunctionImpl< T, NDIM >::gaxpy_ext(), madness::FunctionImpl< T, NDIM >::gaxpy_ext_recursive(), madness::FunctionImpl< T, NDIM >::gaxpy_inplace_reconstructed(), madness::LoadBalanceDeux< NDIM >::load_balance(), madness::FunctionImpl< T, NDIM >::make_Vphi_only(), madness::FunctionImpl< T, NDIM >::multiply(), madness::FunctionImpl< T, NDIM >::mulXX(), madness::FunctionImpl< T, NDIM >::mulXXa(), madness::FunctionImpl< T, NDIM >::mulXXvec(), madness::FunctionImpl< T, NDIM >::mulXXveca(), madness::FunctionImpl< T, NDIM >::partial_inner(), madness::FunctionImpl< T, NDIM >::project_out(), madness::FunctionImpl< T, NDIM >::project_out2(), madness::FunctionImpl< T, NDIM >::recursive_apply(), madness::FunctionImpl< T, NDIM >::refine(), madness::FunctionImpl< T, NDIM >::refine_spawn(), madness::WorldContainer< keyT, valueT, hashfunT >::send(), madness::LoadBalanceDeux< NDIM >::sum(), madness::WorldContainer< keyT, valueT, hashfunT >::task(), madness::FunctionImpl< T, NDIM >::traverse_tree(), madness::FunctionImpl< T, NDIM >::unaryXX(), madness::FunctionImpl< T, NDIM >::unaryXXa(), and madness::FunctionImpl< T, NDIM >::unaryXXvalues().
|
inline |
Returns true if local data is immediately available (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local< R >::operator()(), and madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::operator()().
|
inline |
Process pending messages.
If the constructor was given do_pending=false
then you must invoke this routine in order to process both prior and future messages.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::FunctionImpl().
|
inline |
Inserts/replaces key+value pair (non-blocking communication if key not local)
References madness::WorldContainer< keyT, valueT, hashfunT >::replace().
|
inline |
Inserts/replaces key+value pair (non-blocking communication if key not local)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::binaryXXa(), madness::archive::ContainerRecordOutputArchive::close(), madness::FunctionImpl< T, NDIM >::copy_coeffs(), madness::FunctionImpl< T, NDIM >::do_binary_op(), madness::DerivativeBase< T, NDIM >::do_diff1(), madness::Derivative< T, NDIM >::do_diff2b(), madness::Derivative< T, NDIM >::do_diff2i(), madness::FunctionImpl< T, NDIM >::do_mul(), madness::FunctionImpl< T, NDIM >::gaxpy_ext_recursive(), madness::FunctionImpl< T, NDIM >::multiop_values(), madness::FunctionImpl< T, NDIM >::multiop_values_doit(), madness::FunctionImpl< T, NDIM >::mulXXa(), madness::FunctionImpl< T, NDIM >::mulXXveca(), madness::insert_op< T, NDIM >::operator()(), madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::operator()(), madness::FunctionImpl< T, NDIM >::do_mapdim::operator()(), madness::FunctionImpl< T, NDIM >::do_mirror::operator()(), madness::FunctionImpl< T, NDIM >::do_map_and_mirror::operator()(), madness::FunctionImpl< T, NDIM >::do_average::operator()(), madness::FunctionImpl< T, NDIM >::read_grid(), madness::FunctionImpl< T, NDIM >::read_grid2(), madness::FunctionImpl< T, NDIM >::recur_down_for_contraction_map(), madness::FunctionImpl< T, NDIM >::refine_op(), madness::WorldContainer< keyT, valueT, hashfunT >::replace(), madness::Cloud::replicate(), madness::FunctionImpl< T, NDIM >::scale_oop(), madness::WorldContainer< keyT, valueT, hashfunT >::serialize(), and madness::FunctionImpl< T, NDIM >::unaryXXa().
|
inline |
Inserts pairs (non-blocking communication if key(s) not local)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), madness::WorldContainer< keyT, valueT, hashfunT >::end(), and madness::WorldContainer< keyT, valueT, hashfunT >::insert().
|
inline |
replicates this WorldContainer on all ProcessIDs
References madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::replicate().
|
inline |
Returns shared pointer to the process mapping.
References madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::Cloud::replicate().
|
inline |
Sends message "resultT memfun(arg1T)" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Sends message "resultT memfun()" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::do_apply(), madness::FunctionImpl< T, NDIM >::do_apply_kernel(), madness::FunctionImpl< T, NDIM >::gaxpy(), madness::LoadBalanceDeux< NDIM >::load_balance(), madness::LoadBalanceDeux< NDIM >::add_op< T, costT >::operator()(), madness::FunctionImpl< T, NDIM >::partial_inner_contract(), madness::WorldContainer< keyT, valueT, hashfunT >::send(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Sends message "resultT memfun() const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
Sends message "resultT memfun(arg1T) const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
Sends message "resultT memfun(arg1T,arg2T)" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for both local and remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Sends message "resultT memfun(arg1T,arg2T) const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T)" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for both local and remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T) const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T)" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for both local and remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T) const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T)" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for both local and remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T) const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T)" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for both local and remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T) const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T)" to item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments must be ready for both local and remote messages.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Sends message "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T) const" to item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::send().
|
inline |
(de)Serialize — Local data only to/from anything except Buffer*Archive and Parallel*Archive
Advisable for you to fence before and after this to ensure consistency
References madness::WorldContainer< keyT, valueT, hashfunT >::begin(), madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), madness::WorldContainer< keyT, valueT, hashfunT >::end(), MADNESS_ASSERT, and madness::WorldContainer< keyT, valueT, hashfunT >::replace().
|
inline |
(de)Serialize — !! ONLY for purpose of interprocess communication
This just writes/reads the unique id to/from the Buffer*Archive.
References MADNESS_ASSERT, and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
(de)Serialize — !! ONLY for purpose of interprocess communication
This just writes/reads the unique id to/from the Buffer*Archive.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
|
inline |
Returns the number of local entries (no communication)
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::multi_to_multi_op_values(), madness::FunctionImpl< T, NDIM >::multiop_values(), madness::archive::ArchiveStoreImpl< ParallelOutputArchive< VectorOutputArchive >, WorldContainer< keyT, valueT > >::store(), and madness::Cloud::store_other().
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T)" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::p, and REMFUTURE.
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T,arg7T) const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T)" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::p, and REMFUTURE.
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T,arg6T) const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T)" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::p, and REMFUTURE.
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T,arg5T) const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T,arg4T)" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::p, and REMFUTURE.
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T, arg4T) const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T)" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::p, and REMFUTURE.
|
inline |
Adds task "resultT memfun(arg1T,arg2T,arg3T) const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Adds task "resultT memfun(arg1T,arg2T)" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::p, and REMFUTURE.
|
inline |
Adds task "resultT memfun(arg1T,arg2T) const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Adds task "resultT memfun(arg1T)" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::p, and REMFUTURE.
|
inline |
Adds task "resultT memfun(arg1T) const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
Adds task "resultT memfun()" in process owning item (non-blocking comm if remote)
If item does not exist it is made with the default constructor.
Future arguments for local tasks can generate dependencies, but for remote tasks all futures must be ready.
Returns a future result (Future<void> may be ignored).
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), MEMFUN_RETURNT, madness::WorldContainer< keyT, valueT, hashfunT >::owner(), and madness::WorldContainer< keyT, valueT, hashfunT >::p.
Referenced by madness::FunctionImpl< T, NDIM >::Vphi_op_NS< opT, LDIM >::accumulate_into_result(), madness::FunctionImpl< T, NDIM >::apply_1d_realspace_push_op(), madness::FunctionImpl< T, NDIM >::do_apply(), madness::FunctionImpl< T, NDIM >::do_apply_kernel(), madness::FunctionImpl< T, NDIM >::do_apply_kernel2(), madness::FunctionImpl< T, NDIM >::do_apply_kernel3(), madness::FunctionImpl< T, NDIM >::do_project_out(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), madness::LoadBalanceDeux< NDIM >::add_op< T, costT >::operator()(), madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::operator()(), madness::FunctionImpl< T, NDIM >::partial_inner_contract(), madness::LoadBalanceDeux< NDIM >::sum(), madness::WorldContainer< keyT, valueT, hashfunT >::task(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Adds task "resultT memfun() const" in process owning item (non-blocking comm if remote)
The method executes with a write lock on the item.
References madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
friend |
|
private |
Referenced by madness::WorldContainer< keyT, valueT, hashfunT >::WorldContainer(), madness::WorldContainer< keyT, valueT, hashfunT >::~WorldContainer(), madness::WorldContainer< keyT, valueT, hashfunT >::begin(), madness::WorldContainer< keyT, valueT, hashfunT >::check_initialized(), madness::WorldContainer< keyT, valueT, hashfunT >::clear(), madness::WorldContainer< keyT, valueT, hashfunT >::end(), madness::WorldContainer< keyT, valueT, hashfunT >::erase(), madness::WorldContainer< keyT, valueT, hashfunT >::find(), madness::WorldContainer< keyT, valueT, hashfunT >::get_hash(), madness::WorldContainer< keyT, valueT, hashfunT >::get_impl(), madness::WorldContainer< keyT, valueT, hashfunT >::get_pmap(), madness::WorldContainer< keyT, valueT, hashfunT >::get_world(), madness::WorldContainer< keyT, valueT, hashfunT >::id(), madness::WorldContainer< keyT, valueT, hashfunT >::insert(), madness::WorldContainer< keyT, valueT, hashfunT >::is_local(), madness::WorldContainer< keyT, valueT, hashfunT >::operator=(), madness::WorldContainer< keyT, valueT, hashfunT >::owner(), madness::WorldContainer< keyT, valueT, hashfunT >::probe(), madness::WorldContainer< keyT, valueT, hashfunT >::process_pending(), madness::WorldContainer< keyT, valueT, hashfunT >::replace(), madness::WorldContainer< keyT, valueT, hashfunT >::replicate(), madness::WorldContainer< keyT, valueT, hashfunT >::reset_pmap_to_local(), madness::WorldContainer< keyT, valueT, hashfunT >::send(), madness::WorldContainer< keyT, valueT, hashfunT >::serialize(), madness::WorldContainer< keyT, valueT, hashfunT >::size(), madness::swap(), and madness::WorldContainer< keyT, valueT, hashfunT >::task().