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


Constructor & Destructor Documentation

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

Definition at line 54 of file ComputeHomeTuples.h.

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

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

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

Definition at line 68 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.

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

TuplePatchElem::~TuplePatchElem (  )  [inline]

Definition at line 82 of file ComputeHomeTuples.h.

00082 {};


Member Function Documentation

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

Definition at line 52 of file ComputeHomeTuples.h.

References patchID.

00052 { return patchID; }

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

Definition at line 88 of file ComputeHomeTuples.h.

References patchID.

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

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

Definition at line 84 of file ComputeHomeTuples.h.

References patchID.

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


Member Data Documentation

Definition at line 43 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Definition at line 44 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Definition at line 40 of file ComputeHomeTuples.h.

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

Definition at line 42 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Definition at line 48 of file ComputeHomeTuples.h.

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

Definition at line 47 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Definition at line 46 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().


The documentation for this class was generated from the following file:

Generated on 22 Apr 2019 for NAMD by  doxygen 1.6.1