NAMD
|
#include <ReductionMgr.h>
Public Member Functions | |
ReductionMgr () | |
~ReductionMgr () | |
void | buildSpanTree (const int pe, const int max_intranode_children, const int max_internode_children, int *parent, int *num_children, int **children) |
SubmitReduction * | willSubmit (int setID, int size=-1) |
RequireReduction * | willRequire (int setID, int size=-1) |
void | remoteRegister (ReductionRegisterMsg *msg) |
void | remoteUnregister (ReductionRegisterMsg *msg) |
void | remoteSubmit (ReductionSubmitMsg *msg) |
Static Public Member Functions | |
static ReductionMgr * | Object (void) |
Friends | |
class | SubmitReduction |
class | RequireReduction |
Definition at line 233 of file ReductionMgr.h.
ReductionMgr::ReductionMgr | ( | ) |
Definition at line 279 of file ReductionMgr.C.
References buildSpanTree(), DebugM, REDUCTION_MAX_CHILDREN, and REDUCTION_MAX_SET_ID.
ReductionMgr::~ReductionMgr | ( | ) |
Definition at line 319 of file ReductionMgr.C.
References REDUCTION_MAX_SET_ID.
void ReductionMgr::buildSpanTree | ( | const int | pe, |
const int | max_intranode_children, | ||
const int | max_internode_children, | ||
int * | parent, | ||
int * | num_children, | ||
int ** | children | ||
) |
Definition at line 119 of file ReductionMgr.C.
References NAMD_bug(), NAMD_die(), and split().
Referenced by ReductionMgr().
|
inlinestatic |
Definition at line 278 of file ReductionMgr.h.
Referenced by ComputeNonbondedCUDA::assignPatches(), colvarproxy_namd::colvarproxy_namd(), ComputeConsForce::ComputeConsForce(), ComputeConsTorque::ComputeConsTorque(), ComputeCylindricalBC::ComputeCylindricalBC(), ComputeEField::ComputeEField(), ComputeEwald::ComputeEwald(), ComputeExt::ComputeExt(), ComputeFmmSerial::ComputeFmmSerial(), ComputeFullDirect::ComputeFullDirect(), ComputeGBISser::ComputeGBISser(), ComputeGlobal::ComputeGlobal(), ComputeGridForce::ComputeGridForce(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::ComputeHomeTuples(), ComputeLCPO::ComputeLCPO(), ComputeMsm::ComputeMsm(), ComputeMsmSerial::ComputeMsmSerial(), ComputeNonbondedPair::ComputeNonbondedPair(), ComputeNonbondedSelf::ComputeNonbondedSelf(), ComputeQM::ComputeQM(), ComputeRestraints::ComputeRestraints(), ComputeSphericalBC::ComputeSphericalBC(), ComputeStir::ComputeStir(), ComputeTclBC::ComputeTclBC(), Controller::Controller(), GlobalMasterEasy::GlobalMasterEasy(), GlobalMasterTcl::GlobalMasterTcl(), ComputePmeCUDA::initialize(), CudaComputeNonbonded::initialize(), ComputePmeMgr::initialize_computes(), Patch::Patch(), PmePencilXYZ::PmePencilXYZ(), PmePencilZ::PmePencilZ(), PressureProfileReduction::PressureProfileReduction(), and Sequencer::Sequencer().
void ReductionMgr::remoteRegister | ( | ReductionRegisterMsg * | msg | ) |
Definition at line 413 of file ReductionMgr.C.
References ReductionSet::addToRemoteSequenceNumber, ReductionRegisterMsg::dataSize, ReductionSet::getData(), NAMD_die(), ReductionSet::nextSequenceNumber, ReductionRegisterMsg::reductionSetID, ReductionRegisterMsg::sourceNode, ReductionSetData::submitsRecorded, and ReductionSet::submitsRegistered.
void ReductionMgr::remoteSubmit | ( | ReductionSubmitMsg * | msg | ) |
Definition at line 447 of file ReductionMgr.C.
References ReductionSet::addToRemoteSequenceNumber, ReductionSubmitMsg::data, ReductionSetData::data, ReductionSubmitMsg::dataSize, ReductionSet::dataSize, ReductionSet::getData(), NAMD_bug(), REDUCTIONS_MINIMIZER, ReductionSubmitMsg::reductionSetID, ReductionSubmitMsg::sequenceNumber, ReductionSubmitMsg::sourceNode, ReductionSetData::submitsRecorded, and ReductionSet::submitsRegistered.
void ReductionMgr::remoteUnregister | ( | ReductionRegisterMsg * | msg | ) |
Definition at line 432 of file ReductionMgr.C.
References ReductionSet::getData(), NAMD_die(), ReductionSet::nextSequenceNumber, ReductionRegisterMsg::reductionSetID, ReductionSetData::submitsRecorded, and ReductionSet::submitsRegistered.
RequireReduction * ReductionMgr::willRequire | ( | int | setID, |
int | size = -1 |
||
) |
Definition at line 526 of file ReductionMgr.C.
References ReductionSet::getData(), NAMD_die(), ReductionSet::nextSequenceNumber, RequireReduction, ReductionSet::requireRegistered, and ReductionSetData::submitsRecorded.
Referenced by Controller::Controller(), and PressureProfileReduction::PressureProfileReduction().
SubmitReduction * ReductionMgr::willSubmit | ( | int | setID, |
int | size = -1 |
||
) |
Definition at line 365 of file ReductionMgr.C.
References ReductionSetData::data, ReductionSet::getData(), NAMD_die(), ReductionSet::nextSequenceNumber, SubmitReduction, ReductionSetData::submitsRecorded, and ReductionSet::submitsRegistered.
Referenced by ComputeNonbondedCUDA::assignPatches(), colvarproxy_namd::colvarproxy_namd(), ComputeConsForce::ComputeConsForce(), ComputeConsTorque::ComputeConsTorque(), ComputeCylindricalBC::ComputeCylindricalBC(), ComputeEField::ComputeEField(), ComputeEwald::ComputeEwald(), ComputeExt::ComputeExt(), ComputeFmmSerial::ComputeFmmSerial(), ComputeFullDirect::ComputeFullDirect(), ComputeGBISser::ComputeGBISser(), ComputeGlobal::ComputeGlobal(), ComputeGridForce::ComputeGridForce(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::ComputeHomeTuples(), ComputeLCPO::ComputeLCPO(), ComputeMsm::ComputeMsm(), ComputeMsmSerial::ComputeMsmSerial(), ComputeNonbondedPair::ComputeNonbondedPair(), ComputeNonbondedSelf::ComputeNonbondedSelf(), ComputeQM::ComputeQM(), ComputeRestraints::ComputeRestraints(), ComputeSphericalBC::ComputeSphericalBC(), ComputeStir::ComputeStir(), ComputeTclBC::ComputeTclBC(), Controller::Controller(), GlobalMasterEasy::GlobalMasterEasy(), GlobalMasterTcl::GlobalMasterTcl(), ComputePmeCUDA::initialize(), CudaComputeNonbonded::initialize(), ComputePmeMgr::initialize_computes(), Patch::Patch(), PmePencilXYZ::PmePencilXYZ(), PmePencilZ::PmePencilZ(), and Sequencer::Sequencer().
|
friend |
Definition at line 237 of file ReductionMgr.h.
Referenced by willRequire().
|
friend |
Definition at line 236 of file ReductionMgr.h.
Referenced by willSubmit().