Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Communicate.C File Reference

#include <string.h>
#include <stdlib.h>
#include "Communicate.h"
#include "MStream.h"
#include "charm++.h"

Go to the source code of this file.

Functions

 CkpvStaticDeclare (CmmTable, CsmMessages)
void CsmHandler (void *msg)


Function Documentation

CkpvStaticDeclare CmmTable  ,
CsmMessages 
 

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

void CsmHandler void *  msg  )  [static]
 

Definition at line 15 of file Communicate.C.

Referenced by Communicate::Communicate().

00016 {
00017   if ( CmiMyRank() ) { CmiFree(msg); return; }
00018   // get start of user message
00019   int *m = (int *) ((char *)msg+CmiMsgHeaderSizeBytes);
00020   // sending node  & tag act as tags
00021   CmmPut(CkpvAccess(CsmMessages), 2, m, msg);
00022 }


Generated on Tue Nov 24 04:07:46 2009 for NAMD by  doxygen 1.3.9.1