SubmitReduction Class Reference

#include <ReductionMgr.h>

List of all members.

Public Member Functions

BigRealitem (int i)
void max (int i, BigReal v)
void add (int nitems, const BigReal *arr)
void submit (void)
 ~SubmitReduction (void)

Friends

class ReductionMgr


Detailed Description

Definition at line 304 of file ReductionMgr.h.


Constructor & Destructor Documentation

SubmitReduction::~SubmitReduction ( void   )  [inline]

Definition at line 326 of file ReductionMgr.h.

References ReductionMgr::remove().

00326 { master->remove(this); }


Member Function Documentation

void SubmitReduction::add ( int  nitems,
const BigReal arr 
) [inline]

Definition at line 320 of file ReductionMgr.h.

Referenced by ComputeNonbondedUtil::submitPressureProfileData().

00320                                            {
00321     for (int i=0; i<nitems; i++) data[i] += arr[i];
00322   }

BigReal& SubmitReduction::item ( int  i  )  [inline]

Definition at line 312 of file ReductionMgr.h.

Referenced by colvarproxy_namd::add_energy(), ComputeStir::doForce(), ComputeSphericalBC::doForce(), ComputeRestraints::doForce(), ComputeNonbondedSelf::doForce(), ComputeNonbondedPair::doForce(), ComputeGridForce::doForce(), ComputeEField::doForce(), ComputeCylindricalBC::doForce(), ComputeTclBC::doWork(), ComputeNonbondedCUDA::doWork(), ComputeHomeTuples< AnisoElem, aniso, aniso >::doWork(), CudaComputeNonbonded::finishReductions(), Patch::forceBoxClosed(), HomePatch::hardWallDrude(), CudaComputeNonbonded::launchWork(), Sequencer::multigratorPressure(), Sequencer::multigratorTemperature(), ComputeNonbondedSelf::noWork(), ComputeNonbondedPair::noWork(), ComputeLCPO::noWork(), HomePatch::rattle1old(), OptPmeMgr::recvEvir(), ComputeEwald::recvResults(), Controller::rescaleaccelMD(), ComputeMsmSerial::saveResults(), ComputeMsm::saveResults(), ComputeGBISser::saveResults(), ComputeFmmSerial::saveResults(), ComputeExt::saveResults(), OptPmeXPencil::submit_evir(), Sequencer::submitHalfstep(), Sequencer::submitMinimizeReductions(), Sequencer::submitMomentum(), TholeElem::submitReductionData(), ComputeNonbondedUtil::submitReductionData(), ExclElem::submitReductionData(), ImproperElem::submitReductionData(), GromacsPairElem::submitReductionData(), DihedralElem::submitReductionData(), CrosstermElem::submitReductionData(), BondElem::submitReductionData(), AnisoElem::submitReductionData(), AngleElem::submitReductionData(), Sequencer::submitReductions(), PmePencilZ::submitReductions(), PmePencilXYZ::submitReductions(), and OptPmeCompute::ungridForces_finalize().

00312                               {
00313     return data[i];
00314   }

void SubmitReduction::max ( int  i,
BigReal  v 
) [inline]

Definition at line 315 of file ReductionMgr.h.

Referenced by Sequencer::newMinimizeDirection().

00315                                     {
00316     if ( v > data[i] ) {
00317       data[i] = v;
00318     }
00319   }

void SubmitReduction::submit ( void   )  [inline]

Definition at line 323 of file ReductionMgr.h.

References ReductionMgr::submit().

Referenced by GlobalMasterTcl::calculate(), colvarproxy_namd::calculate(), ComputeStir::doForce(), ComputeSphericalBC::doForce(), ComputeRestraints::doForce(), ComputeNonbondedSelf::doForce(), ComputeNonbondedPair::doForce(), ComputeGridForce::doForce(), ComputeEField::doForce(), ComputeCylindricalBC::doForce(), ComputeConsTorque::doForce(), ComputeConsForce::doForce(), OptPmeCompute::doWork(), ComputeTclBC::doWork(), ComputeMsmSerial::doWork(), ComputeMsm::doWork(), ComputeHomeTuples< AnisoElem, aniso, aniso >::doWork(), ComputeGBISser::doWork(), ComputeFmmSerial::doWork(), ComputeExt::doWork(), ComputeEwald::doWork(), CudaComputeNonbonded::finishReductions(), Patch::forceBoxClosed(), Sequencer::multigratorPressure(), Sequencer::multigratorTemperature(), Sequencer::newMinimizeDirection(), ComputePme::noWork(), ComputeNonbondedSelf::noWork(), ComputeNonbondedPair::noWork(), ComputeNonbondedCUDA::noWork(), ComputeLCPO::noWork(), OptPmeMgr::recvEvir(), ComputeGlobal::recvResults(), ComputeEwald::recvResults(), Controller::rescaleaccelMD(), ComputeMsmSerial::saveResults(), ComputeMsm::saveResults(), ComputeGBISser::saveResults(), ComputeFmmSerial::saveResults(), ComputeExt::saveResults(), PmePencilZ::skip(), PmePencilXYZ::skip(), OptPmeXPencil::submit_evir(), PmePencilZ::submitReductions(), PmePencilXYZ::submitReductions(), and OptPmeCompute::ungridForces_finalize().

00323                     {
00324     master->submit(this);
00325   }


Friends And Related Function Documentation

friend class ReductionMgr [friend]

Definition at line 306 of file ReductionMgr.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 23 01:17:21 2017 for NAMD by  doxygen 1.4.7