NamdHybridLB.h File Reference

#include <HybridBaseLB.h>
#include "NamdHybridLB.decl.h"
#include "Node.h"
#include "PatchMap.h"
#include "SimParameters.h"
#include "RefineOnly.h"
#include "Alg7.h"
#include "AlgRecBisection.h"
#include "InfoStream.h"
#include "NamdCentLB.h"
#include "NamdDummyLB.h"
#include "TorusLB.h"
#include "RefineTorusLB.h"

Go to the source code of this file.

Classes

class  LocalLBInfoMsg
class  NamdHybridLB

Functions

void CreateNamdHybridLB ()


Function Documentation

void CreateNamdHybridLB (  ) 

Creates the chare array for the hybrid load balancer.

Definition at line 49 of file NamdHybridLB.C.

References cpuloads.

Referenced by LdbCoordinator::createLoadBalancer().

00049                           {
00050         CProxy_NamdHybridLB::ckNew();
00051 
00052         // creating an array to store the loads of all processors
00053         // to be used with proxy spanning tree
00054         if (CkMyPe() == 0 && cpuloads == NULL) {
00055                 cpuloads = new double[CkNumPes()];
00056                 CmiAssert(cpuloads != NULL);
00057                 for (int i=0; i<CkNumPes(); i++) cpuloads[i] = 0.0;
00058         }
00059 }


Generated on Sat Nov 18 01:17:17 2017 for NAMD by  doxygen 1.4.7