MADNESS  0.10.1
Public Member Functions | Private Attributes | List of all members
Array Class Reference
Inheritance diagram for Array:
Inheritance graph
[legend]
Collaboration diagram for Array:
Collaboration graph
[legend]

Public Member Functions

 Array (World &world, size_t size)
 Make block distributed array with size elements. More...
 
 Array (World &world, size_t size)
 Make block distributed array with size elements. More...
 
 Array (World &world, size_t size)
 Make block distributed array with size elements. More...
 
 Array (World &world, size_t size)
 Make block distributed array with size elements. More...
 
virtual ~Array ()
 
ProcessID owner (size_t i) const
 Return the process in which element i resides. More...
 
ProcessID owner (size_t i) const
 Return the process in which element i resides. More...
 
ProcessID owner (size_t i) const
 Return the process in which element i resides. More...
 
ProcessID owner (size_t i) const
 Return the process in which element i resides. More...
 
Future< double > read (size_t i) const
 Read element i. More...
 
Future< double > read (size_t i) const
 Read element i. More...
 
Future< double > read (size_t i) const
 
Future< double > read (size_t i) const
 Read element i. More...
 
void write (size_t i, double value)
 Write element i. More...
 
void write (size_t i, double value)
 Write element i. More...
 
void write (size_t i, double value)
 
void write (size_t i, double value)
 Write element i. More...
 
- Public Member Functions inherited from madness::WorldObject< Array >
 WorldObject (const WorldObject &other)
 
 WorldObject (World &world)
 Constructor that associates an object (via the derived class) with a globally unique ID. More...
 
virtual ~WorldObject ()
 
Worldget_world () const
 Returns a reference to the world. More...
 
const uniqueidTid () const
 Returns the globally unique object ID. More...
 
WorldObjectoperator= (const WorldObject &)=delete
 
detail::task_result_type< memfnT >::futureT send (ProcessID dest, memfnT memfn) const
 
detail::task_result_type< memfnT >::futureT send (ProcessID dest, memfnT memfn, const a1T &a1) const
 
detail::task_result_type< memfnT >::futureT send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2) const
 
detail::task_result_type< memfnT >::futureT send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3) const
 
detail::task_result_type< memfnT >::futureT send (ProcessID dest, memfnT memfn, const a1T &a1, const a2T &a2, const a3T &a3, const a4T &a4) const
 
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
 
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
 
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
 
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
 
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
 
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). More...
 
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). More...
 
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). More...
 
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). More...
 
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). More...
 
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). More...
 
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). More...
 
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). More...
 
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). More...
 
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)(). More...
 
- Public Member Functions inherited from madness::WorldObjectBase
virtual ~WorldObjectBase ()=default
 

Private Attributes

vector< double > v
 

Additional Inherited Members

- Public Types inherited from madness::WorldObject< Array >
typedef WorldObject< ArrayobjT
 
- Protected Member Functions inherited from madness::WorldObject< Array >
void process_pending ()
 To be called from derived constructor to process pending messages. More...
 

Constructor & Destructor Documentation

◆ Array() [1/4]

Array::Array ( World world,
size_t  size 
)
inline

Make block distributed array with size elements.

◆ Array() [2/4]

Array::Array ( World world,
size_t  size 
)
inline

Make block distributed array with size elements.

◆ Array() [3/4]

Array::Array ( World world,
size_t  size 
)
inline

Make block distributed array with size elements.

◆ Array() [4/4]

Array::Array ( World world,
size_t  size 
)
inline

Make block distributed array with size elements.

◆ ~Array()

virtual Array::~Array ( )
inlinevirtual

Member Function Documentation

◆ owner() [1/4]

ProcessID Array::owner ( size_t  i) const
inline

Return the process in which element i resides.

References v.

◆ owner() [2/4]

ProcessID Array::owner ( size_t  i) const
inline

Return the process in which element i resides.

References v.

◆ owner() [3/4]

ProcessID Array::owner ( size_t  i) const
inline

Return the process in which element i resides.

References v.

◆ owner() [4/4]

ProcessID Array::owner ( size_t  i) const
inline

Return the process in which element i resides.

References v.

◆ read() [1/4]

Future<double> Array::read ( size_t  i) const
inline

Read element i.

References v.

Referenced by main(), and read().

◆ read() [2/4]

Future<double> Array::read ( size_t  i) const
inline

Read element i.

References read(), and v.

◆ read() [3/4]

Future<double> Array::read ( size_t  i) const
inline

References read(), and v.

◆ read() [4/4]

Future<double> Array::read ( size_t  i) const
inline

Read element i.

References read(), and v.

◆ write() [1/4]

void Array::write ( size_t  i,
double  value 
)
inline

Write element i.

References v.

Referenced by main(), and write().

◆ write() [2/4]

void Array::write ( size_t  i,
double  value 
)
inline

Write element i.

References v, and write().

◆ write() [3/4]

void Array::write ( size_t  i,
double  value 
)
inline

References v, and write().

◆ write() [4/4]

void Array::write ( size_t  i,
double  value 
)
inline

Write element i.

References v, and write().

Member Data Documentation

◆ v

vector< double > Array::v
private

The documentation for this class was generated from the following files: