NAMD
|
Go to the source code of this file.
Classes | |
class | DataMessage |
class | ReplicaDcdInitMsg |
class | ReplicaDcdDataMsg |
class | ReplicaDcdAckMsg |
class | DataExchanger |
Macros | |
#define | CPROXY_DE(x) ((CProxy_DataExchanger)(x)) |
Functions | |
CpvExtern (int, breakScheduler) | |
CpvExtern (int, inEval) | |
void | packSend (int dest, int partition, const char *data, int size, int handler, int code=0) |
void | sendReplicaDcdInit (int dstPart, ReplicaDcdInitMsg *msg, int msgsize) |
void | sendReplicaDcdData (int dstPart, ReplicaDcdDataMsg *msg, int msgsize) |
void | sendReplicaDcdAck (int dstPart, ReplicaDcdAckMsg *msg) |
void | recvReplicaDcdInit (ReplicaDcdInitMsg *msg) |
void | recvReplicaDcdData (ReplicaDcdDataMsg *msg) |
void | recvReplicaDcdAck (ReplicaDcdAckMsg *msg) |
void | recvData (DataMessage *dmsg) |
void | recvAck (DataMessage *dmsg) |
void | replica_send (const char *sndbuf, int sendcount, int destPart, int destPE) |
void | replica_sendRecv (const char *sndbuf, int sendcount, int destPart, int destPE, DataMessage **precvMsg, int srcPart, int srcPE) |
void | replica_recv (DataMessage **precvMsg, int srcPart, int srcPE) |
void | replica_barrier () |
void | replica_bcast (char *buf, int count, int root=0) |
void | replica_min_double (double *dat, int count) |
void | replica_eval (const char *cmdbuf, int targPart, int targPE, DataMessage **precvMsg) |
#define CPROXY_DE | ( | x | ) | ((CProxy_DataExchanger)(x)) |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 14 of file DataExchanger.h.
Referenced by recvAck(), recvBcast(), recvData(), recvEvalCommand(), recvEvalResult(), recvRed(), replica_barrier(), replica_eval(), replica_recv(), replica_send(), and replica_sendRecv().
CpvExtern | ( | int | , |
breakScheduler | |||
) |
CpvExtern | ( | int | , |
inEval | |||
) |
void packSend | ( | int | dest, |
int | partition, | ||
const char * | data, | ||
int | size, | ||
int | handler, | ||
int | code = 0 |
||
) |
Definition at line 34 of file DataExchanger.C.
References DataMessage::setMessage().
Referenced by replica_send().
void recvAck | ( | DataMessage * | dmsg | ) |
Definition at line 99 of file DataExchanger.C.
References CPROXY_DE, and NAMD_bug().
Referenced by initializeReplicaConverseHandlers().
void recvData | ( | DataMessage * | dmsg | ) |
Definition at line 93 of file DataExchanger.C.
References CPROXY_DE, and NAMD_bug().
Referenced by initializeReplicaConverseHandlers().
void recvReplicaDcdAck | ( | ReplicaDcdAckMsg * | msg | ) |
Definition at line 87 of file DataExchanger.C.
References CollectionMaster::Object(), and CollectionMaster::unblockPositions().
Referenced by initializeReplicaConverseHandlers().
void recvReplicaDcdData | ( | ReplicaDcdDataMsg * | msg | ) |
Definition at line 82 of file DataExchanger.C.
References Node::Object(), Node::output, and Output::recvReplicaDcdData().
Referenced by initializeReplicaConverseHandlers().
void recvReplicaDcdInit | ( | ReplicaDcdInitMsg * | msg | ) |
Definition at line 77 of file DataExchanger.C.
References Node::Object(), Node::output, and Output::recvReplicaDcdInit().
Referenced by initializeReplicaConverseHandlers().
void replica_barrier | ( | ) |
Definition at line 168 of file DataExchanger.C.
References CPROXY_DE, and recvRedCalledEarly.
Referenced by colvarproxy_namd::replica_comm_barrier(), and ScriptTcl::run().
void replica_bcast | ( | char * | buf, |
int | count, | ||
int | root = 0 |
||
) |
Definition at line 175 of file DataExchanger.C.
References DataMessage::data, NAMD_bug(), replica_recv(), replica_send(), and DataMessage::size.
Referenced by replica_min_double().
void replica_eval | ( | const char * | cmdbuf, |
int | targPart, | ||
int | targPE, | ||
DataMessage ** | precvMsg | ||
) |
Definition at line 159 of file DataExchanger.C.
References CPROXY_DE.
void replica_min_double | ( | double * | dat, |
int | count | ||
) |
Definition at line 202 of file DataExchanger.C.
References DataMessage::data, NAMD_bug(), replica_bcast(), replica_recv(), replica_send(), and DataMessage::size.
Referenced by PatchMap::makePatches().
void replica_recv | ( | DataMessage ** | precvMsg, |
int | srcPart, | ||
int | srcPE | ||
) |
Definition at line 144 of file DataExchanger.C.
References CPROXY_DE.
Referenced by replica_bcast(), colvarproxy_namd::replica_comm_recv(), and replica_min_double().
void replica_send | ( | const char * | sndbuf, |
int | sendcount, | ||
int | destPart, | ||
int | destPE | ||
) |
Definition at line 133 of file DataExchanger.C.
References CPROXY_DE, and packSend().
Referenced by replica_bcast(), colvarproxy_namd::replica_comm_send(), and replica_min_double().
void replica_sendRecv | ( | const char * | sndbuf, |
int | sendcount, | ||
int | destPart, | ||
int | destPE, | ||
DataMessage ** | precvMsg, | ||
int | srcPart, | ||
int | srcPE | ||
) |
Definition at line 151 of file DataExchanger.C.
References CPROXY_DE.
void sendReplicaDcdAck | ( | int | dstPart, |
ReplicaDcdAckMsg * | msg | ||
) |
Definition at line 67 of file DataExchanger.C.
References ReplicaDcdAckMsg::core.
Referenced by Output::recvReplicaDcdData(), and Output::recvReplicaDcdInit().
void sendReplicaDcdData | ( | int | dstPart, |
ReplicaDcdDataMsg * | msg, | ||
int | msgsize | ||
) |
Definition at line 56 of file DataExchanger.C.
References CollectionMaster::blockPositions(), ReplicaDcdDataMsg::core, and CollectionMaster::Object().
void sendReplicaDcdInit | ( | int | dstPart, |
ReplicaDcdInitMsg * | msg, | ||
int | msgsize | ||
) |
Definition at line 45 of file DataExchanger.C.
References CollectionMaster::blockPositions(), ReplicaDcdInitMsg::core, and CollectionMaster::Object().
Referenced by Output::replicaDcdInit(), and Output::replicaDcdSelectInit().