Collective Variables Module - Developer Documentation
|
Methods for multiple-replica communication. More...
#include <colvarproxy_replicas.h>
Public Member Functions | |
colvarproxy_replicas () | |
Constructor. | |
virtual | ~colvarproxy_replicas () |
Destructor. | |
virtual void | set_replicas_mpi_communicator (replicas_mpi_comm_t comm) |
Set the multiple replicas communicator. | |
virtual int | check_replicas_enabled () |
Indicate if multi-replica support is available and active. More... | |
virtual int | replica_index () |
Index of this replica. More... | |
virtual int | num_replicas () |
Total number of replicas. More... | |
virtual void | replica_comm_barrier () |
Synchronize replica with others. More... | |
virtual int | replica_comm_recv (char *msg_data, int buf_len, int src_rep) |
Receive data from other replica. More... | |
virtual int | replica_comm_send (char *msg_data, int msg_len, int dest_rep) |
Send data to other replica. More... | |
Methods for multiple-replica communication.
|
virtual |
Indicate if multi-replica support is available and active.
Reimplemented in colvarproxy_namd.
|
virtual |
Total number of replicas.
Reimplemented in colvarproxy_namd.
|
virtual |
Synchronize replica with others.
Reimplemented in colvarproxy_namd.
|
virtual |
Receive data from other replica.
Reimplemented in colvarproxy_namd.
|
virtual |
Send data to other replica.
Reimplemented in colvarproxy_namd.
|
virtual |
Index of this replica.
Reimplemented in colvarproxy_namd.