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

Force* TuplePatchElem::af

Definition at line 50 of file ComputeHomeTuples.h.

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

Box<Patch,CompAtom>* TuplePatchElem::avgPositionBox

Definition at line 43 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Force* TuplePatchElem::f

Definition at line 49 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 44 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Patch* TuplePatchElem::p

Definition at line 41 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 40 of file ComputeHomeTuples.h.

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

Box<Patch,CompAtom>* TuplePatchElem::positionBox

Definition at line 42 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

Results* TuplePatchElem::r

Definition at line 48 of file ComputeHomeTuples.h.

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

CompAtom* TuplePatchElem::x

Definition at line 45 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 47 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().

CompAtomExt* TuplePatchElem::xExt

Definition at line 46 of file ComputeHomeTuples.h.

Referenced by TuplePatchElem().


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