MsmC1HermiteBlockProxyMsg Class Reference

List of all members.

Public Types

 maxlevels = 32
enum  { maxlevels = 32 }

Public Member Functions

void put (const msm::Array< CProxy_MsmC1HermiteBlock > &a)
void get (msm::Array< CProxy_MsmC1HermiteBlock > &a)

Public Attributes

char msmBlockProxyData [maxlevels *sizeof(CProxy_MsmC1HermiteBlock)]
int nlevels

Detailed Description

Definition at line 175 of file ComputeMsm.C.


Member Enumeration Documentation

anonymous enum

Enumerator:
maxlevels 

Definition at line 177 of file ComputeMsm.C.

00177 { maxlevels = 32 };


Member Function Documentation

void MsmC1HermiteBlockProxyMsg::get ( msm::Array< CProxy_MsmC1HermiteBlock > &  a  )  [inline]

Definition at line 192 of file ComputeMsm.C.

References msm::Array< T >::buffer(), msmBlockProxyData, nlevels, and msm::Array< T >::resize().

Referenced by ComputeMsmMgr::recvMsmC1HermiteBlockProxy().

00192                                                     {
00193       a.resize(nlevels);
00194       memcpy(a.buffer(), msmBlockProxyData,
00195           nlevels*sizeof(CProxy_MsmC1HermiteBlock));
00196     }

void MsmC1HermiteBlockProxyMsg::put ( const msm::Array< CProxy_MsmC1HermiteBlock > &  a  )  [inline]

Definition at line 182 of file ComputeMsm.C.

References msm::Array< T >::buffer(), msm::Array< T >::len(), maxlevels, msmBlockProxyData, NAMD_die(), and nlevels.

Referenced by ComputeMsmMgr::initialize_create().

00182                                                           {
00183       nlevels = a.len();
00184       if (nlevels > maxlevels) {
00185         NAMD_die("Exceeded maximum number of MSM levels\n");
00186       }
00187       memcpy(msmBlockProxyData, a.buffer(),
00188           nlevels*sizeof(CProxy_MsmC1HermiteBlock));
00189     }


Member Data Documentation

char MsmC1HermiteBlockProxyMsg::msmBlockProxyData[maxlevels *sizeof(CProxy_MsmC1HermiteBlock)]

Definition at line 178 of file ComputeMsm.C.

Referenced by get(), and put().

int MsmC1HermiteBlockProxyMsg::nlevels

Definition at line 179 of file ComputeMsm.C.

Referenced by get(), and put().


The documentation for this class was generated from the following file:
Generated on Thu Nov 23 01:17:19 2017 for NAMD by  doxygen 1.4.7