TuplePatchElem Class Reference

#include <ComputeHomeTuples.h>

List of all members.

Public Member Functions

int hash () const
 TuplePatchElem (PatchID pid=-1)
 TuplePatchElem (Patch *p_param, Compute *cid)
 ~TuplePatchElem ()
int operator== (const TuplePatchElem &elem) const
int operator< (const TuplePatchElem &elem) const

Public Attributes

PatchID patchID
Patchp
Box< Patch, CompAtom > * positionBox
Box< Patch, CompAtom > * avgPositionBox
Box< Patch, Results > * forceBox
CompAtomx
CompAtomExtxExt
CompAtomx_avg
Resultsr
Forcef
Forceaf


Detailed Description

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

Definition at line 39 of file ComputeHomeTuples.h.


Constructor & Destructor Documentation

TuplePatchElem::TuplePatchElem ( PatchID  pid = -1  )  [inline]

Definition at line 55 of file ComputeHomeTuples.h.

References af, avgPositionBox, f, forceBox, p, patchID, positionBox, r, x, x_avg, and xExt.

00055                                    {
00056     patchID = pid;
00057     p = NULL;
00058     positionBox = NULL;
00059     avgPositionBox = NULL;
00060     forceBox = NULL;
00061     x = NULL;
00062     xExt = NULL;
00063     x_avg = NULL;
00064     r = NULL;
00065     f = NULL;
00066     af = NULL;
00067   }

TuplePatchElem::TuplePatchElem ( Patch p_param,
Compute cid 
) [inline]

Definition at line 69 of file ComputeHomeTuples.h.

References af, avgPositionBox, f, forceBox, Patch::getPatchID(), p, patchID, positionBox, r, Patch::registerAvgPositionPickup(), Patch::registerForceDeposit(), Patch::registerPositionPickup(), x, x_avg, and xExt.

00069                                                {
00070     patchID = p_param->getPatchID();
00071     p = p_param;
00072     positionBox = p_param->registerPositionPickup(cid);
00073     avgPositionBox = p_param->registerAvgPositionPickup(cid);
00074     forceBox = p_param->registerForceDeposit(cid);
00075     x = NULL;
00076     xExt = NULL;
00077     x_avg = NULL;
00078     r = NULL;
00079     f = NULL;
00080     af = NULL;
00081   }

TuplePatchElem::~TuplePatchElem (  )  [inline]

Definition at line 83 of file ComputeHomeTuples.h.

00083 {};


Member Function Documentation

int TuplePatchElem::hash ( void   )  const [inline]

Definition at line 53 of file ComputeHomeTuples.h.

References patchID.

00053 { return patchID; }

int TuplePatchElem::operator< ( const TuplePatchElem elem  )  const [inline]

Definition at line 89 of file ComputeHomeTuples.h.

References patchID.

00089                                                   {
00090     return (patchID < elem.patchID);
00091   }

int TuplePatchElem::operator== ( const TuplePatchElem elem  )  const [inline]

Definition at line 85 of file ComputeHomeTuples.h.

References patchID.

00085                                                    {
00086     return (elem.patchID == patchID);
00087   }


Member Data Documentation

Force* TuplePatchElem::af

Definition at line 51 of file ComputeHomeTuples.h.

Referenced by DihedralElem::computeForce(), CrosstermElem::computeForce(), and TuplePatchElem().

Box<Patch,CompAtom>* TuplePatchElem::avgPositionBox

Definition at line 44 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Force* TuplePatchElem::f

Definition at line 50 of file ComputeHomeTuples.h.

Referenced by TholeElem::computeForce(), ImproperElem::computeForce(), GromacsPairElem::computeForce(), DihedralElem::computeForce(), CrosstermElem::computeForce(), BondElem::computeForce(), AnisoElem::computeForce(), AngleElem::computeForce(), and TuplePatchElem().

Box<Patch,Results>* TuplePatchElem::forceBox

Definition at line 45 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Patch* TuplePatchElem::p

Definition at line 42 of file ComputeHomeTuples.h.

Referenced by TholeElem::computeForce(), ExclElem::computeForce(), ImproperElem::computeForce(), GromacsPairElem::computeForce(), DihedralElem::computeForce(), CrosstermElem::computeForce(), BondElem::computeForce(), AnisoElem::computeForce(), AngleElem::computeForce(), ComputeHomeTuples< AnisoElem, aniso, aniso >::loadTuples(), and TuplePatchElem().

PatchID TuplePatchElem::patchID

Definition at line 41 of file ComputeHomeTuples.h.

Referenced by hash(), operator<(), operator==(), and TuplePatchElem().

Box<Patch,CompAtom>* TuplePatchElem::positionBox

Definition at line 43 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Results* TuplePatchElem::r

Definition at line 49 of file ComputeHomeTuples.h.

Referenced by ExclElem::computeForce(), and TuplePatchElem().

CompAtom* TuplePatchElem::x

Definition at line 46 of file ComputeHomeTuples.h.

Referenced by TholeElem::computeForce(), ExclElem::computeForce(), ImproperElem::computeForce(), GromacsPairElem::computeForce(), DihedralElem::computeForce(), CrosstermElem::computeForce(), BondElem::computeForce(), AnisoElem::computeForce(), AngleElem::computeForce(), and TuplePatchElem().

CompAtom* TuplePatchElem::x_avg

Definition at line 48 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

CompAtomExt* TuplePatchElem::xExt

Definition at line 47 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().


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