PatchMap.C File Reference

#include <stddef.h>
#include <unistd.h>
#include <stdio.h>
#include "InfoStream.h"
#include "ObjectArena.h"
#include "PatchMgr.h"
#include "PatchMap.inl"
#include "Patch.h"
#include "Lattice.h"
#include "HomePatchList.h"
#include "AtomMap.h"
#include "DataExchanger.h"
#include "memusage.h"
#include "Debug.h"

Go to the source code of this file.

Defines

#define MIN_DEBUG_LEVEL   5
#define PACK(type, data)   { memcpy(b, &data,sizeof(type)); b += sizeof(type); }
#define PACKN(type, data, cnt)   { memcpy(b, data,(cnt)*sizeof(type)); b += (cnt)*sizeof(type); }
#define UNPACK(type, data)   { memcpy(&data, b, sizeof(type)); b += sizeof(type); }
#define UNPACKN(type, data, cnt)   { memcpy(data, b, (cnt)*sizeof(type)); b += (cnt)*sizeof(type); }
#define SKIPN(type, cnt)   { b += (cnt)*sizeof(type); }


Define Documentation

#define MIN_DEBUG_LEVEL   5

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

Definition at line 24 of file PatchMap.C.

#define PACK ( type,
data   )     { memcpy(b, &data,sizeof(type)); b += sizeof(type); }

Definition at line 311 of file PatchMap.C.

#define PACKN ( type,
data,
cnt   )     { memcpy(b, data,(cnt)*sizeof(type)); b += (cnt)*sizeof(type); }

Definition at line 312 of file PatchMap.C.

Referenced by PatchMap::pack().

#define SKIPN ( type,
cnt   )     { b += (cnt)*sizeof(type); }

Definition at line 363 of file PatchMap.C.

#define UNPACK ( type,
data   )     { memcpy(&data, b, sizeof(type)); b += sizeof(type); }

Definition at line 361 of file PatchMap.C.

Referenced by PatchMap::unpack().

#define UNPACKN ( type,
data,
cnt   )     { memcpy(data, b, (cnt)*sizeof(type)); b += (cnt)*sizeof(type); }

Definition at line 362 of file PatchMap.C.

Referenced by PatchMap::unpack().


Generated on Fri Sep 22 01:17:16 2017 for NAMD by  doxygen 1.4.7