#include <stdio.h>
#include <charm++.h>
#include <LBDatabase.h>
#include "NamdTypes.h"
#include "BOCgroup.h"
#include "LdbCoordinator.decl.h"
Go to the source code of this file.
In the new 64-bit id case defining LdbId as CmiUInt8, the first 32 bits store the object's index and the second 32 bits store the type.
In the old int[4] id case defining LdbId as LDObjid, element 0 stores the object's index, element 1 stores the type, and elements 2 and 3 are unused.
Definition at line 43 of file LdbCoordinator.h.
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 26 of file LdbCoordinator.h.
Define the types encoded into the load balancing id. Use negative numbers because the nonbonded/self types are represented with the leading patch ID for that compute, when available.
Enumerator |
---|
NONBONDED_OR_SELF_TYPE |
represents nonbonded or self compute
|
PATCH_TYPE |
represents a patch
|
BONDED_TYPE |
represents bonded compute
|
Definition at line 66 of file LdbCoordinator.h.
represents bonded compute
represents nonbonded or self compute
void LdbCoordinator_initproc |
( |
| ) |
|
const int& LdbIdField |
( |
const LdbId & |
id, |
|
|
const int |
index |
|
) |
| |
|
inline |
int& LdbIdField |
( |
LdbId & |
id, |
|
|
const int |
index |
|
) |
| |
|
inline |