Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

TuplePatchElem Class Reference

#include <ComputeHomeTuples.h>

List of all members.

Public Member Functions

int hash () const
 TuplePatchElem (PatchID pid=-1)
 TuplePatchElem (Patch *p_param, ComputeID 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


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 34 of file ComputeHomeTuples.h.


Constructor & Destructor Documentation

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

Definition at line 49 of file ComputeHomeTuples.h.

00049                                    {
00050     patchID = pid;
00051     p = NULL;
00052     positionBox = NULL;
00053     avgPositionBox = NULL;
00054     forceBox = NULL;
00055     x = NULL;
00056     xExt = NULL;
00057     x_avg = NULL;
00058     r = NULL;
00059     f = NULL;
00060   }

TuplePatchElem::TuplePatchElem Patch p_param,
ComputeID  cid
[inline]
 

Definition at line 62 of file ComputeHomeTuples.h.

References Patch::getPatchID(), Patch::registerAvgPositionPickup(), Patch::registerForceDeposit(), and Patch::registerPositionPickup().

00062                                                 {
00063     patchID = p_param->getPatchID();
00064     p = p_param;
00065     positionBox = p_param->registerPositionPickup(cid);
00066     avgPositionBox = p_param->registerAvgPositionPickup(cid);
00067     forceBox = p_param->registerForceDeposit(cid);
00068     x = NULL;
00069     xExt = NULL;
00070     x_avg = NULL;
00071     r = NULL;
00072     f = NULL;
00073   }

TuplePatchElem::~TuplePatchElem  )  [inline]
 

Definition at line 75 of file ComputeHomeTuples.h.

00075 {};


Member Function Documentation

int TuplePatchElem::hash void   )  const [inline]
 

Definition at line 47 of file ComputeHomeTuples.h.

00047 { return patchID; }

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

Definition at line 81 of file ComputeHomeTuples.h.

References patchID.

00081                                                   {
00082     return (patchID < elem.patchID);
00083   }

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

Definition at line 77 of file ComputeHomeTuples.h.

References patchID.

00077                                                    {
00078     return (elem.patchID == patchID);
00079   }


Member Data Documentation

Box<Patch,CompAtom>* TuplePatchElem::avgPositionBox
 

Definition at line 39 of file ComputeHomeTuples.h.

Force* TuplePatchElem::f
 

Definition at line 45 of file ComputeHomeTuples.h.

Referenced by ImproperElem::computeForce(), DihedralElem::computeForce(), CrosstermElem::computeForce(), BondElem::computeForce(), and AngleElem::computeForce().

Box<Patch,Results>* TuplePatchElem::forceBox
 

Definition at line 40 of file ComputeHomeTuples.h.

Patch* TuplePatchElem::p
 

Definition at line 37 of file ComputeHomeTuples.h.

Referenced by ExclElem::computeForce(), ImproperElem::computeForce(), DihedralElem::computeForce(), CrosstermElem::computeForce(), BondElem::computeForce(), and AngleElem::computeForce().

PatchID TuplePatchElem::patchID
 

Definition at line 36 of file ComputeHomeTuples.h.

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

Box<Patch,CompAtom>* TuplePatchElem::positionBox
 

Definition at line 38 of file ComputeHomeTuples.h.

Results* TuplePatchElem::r
 

Definition at line 44 of file ComputeHomeTuples.h.

Referenced by ExclElem::computeForce().

CompAtom* TuplePatchElem::x
 

Definition at line 41 of file ComputeHomeTuples.h.

Referenced by ExclElem::computeForce(), ImproperElem::computeForce(), DihedralElem::computeForce(), CrosstermElem::computeForce(), BondElem::computeForce(), and AngleElem::computeForce().

CompAtom* TuplePatchElem::x_avg
 

Definition at line 43 of file ComputeHomeTuples.h.

CompAtomExt* TuplePatchElem::xExt
 

Definition at line 42 of file ComputeHomeTuples.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 23 05:00:12 2009 for NAMD by  doxygen 1.3.9.1