NAMD
Public Member Functions | Public Attributes | List of all members
ComputeQMPntChrg Struct Reference

Public Member Functions

 ComputeQMPntChrg ()
 
 ComputeQMPntChrg (Position posInit, float chrgInit, int idInit, Real qmInit, int hiInit, Real newDist, Mass newM, int newvdwType)
 
 ComputeQMPntChrg (const ComputeQMPntChrg &ref)
 
bool operator< (const ComputeQMPntChrg &ref)
 
bool operator== (const ComputeQMPntChrg &ref)
 

Public Attributes

Position position
 
float charge
 
int id
 
Real qmGrpID
 
int homeIndx
 
Real dist
 
Mass mass
 
int vdwType
 

Detailed Description

Definition at line 125 of file ComputeQM.C.

Constructor & Destructor Documentation

ComputeQMPntChrg::ComputeQMPntChrg ( )
inline

Definition at line 134 of file ComputeQM.C.

134  : position(0), charge(0), id(-1), qmGrpID(-1),
135  homeIndx(-1), dist(0), mass(0), vdwType(0) {}
Position position
Definition: ComputeQM.C:126
ComputeQMPntChrg::ComputeQMPntChrg ( Position  posInit,
float  chrgInit,
int  idInit,
Real  qmInit,
int  hiInit,
Real  newDist,
Mass  newM,
int  newvdwType 
)
inline

Definition at line 136 of file ComputeQM.C.

References charge, dist, homeIndx, mass, position, qmGrpID, and vdwType.

138  {
139  position = posInit;
140  charge = chrgInit;
141  id = idInit;
142  qmGrpID = qmInit;
143  homeIndx = hiInit;
144  dist = newDist;
145  mass = newM;
146  vdwType = newvdwType;
147  }
Position position
Definition: ComputeQM.C:126
ComputeQMPntChrg::ComputeQMPntChrg ( const ComputeQMPntChrg ref)
inline

Definition at line 148 of file ComputeQM.C.

References charge, dist, homeIndx, id, mass, position, qmGrpID, and vdwType.

148  {
149  position = ref.position;
150  charge = ref.charge;
151  id = ref.id;
152  qmGrpID = ref.qmGrpID;
153  homeIndx = ref.homeIndx;
154  dist = ref.dist;
155  mass = ref.mass;
156  vdwType = ref.vdwType;
157  }
Position position
Definition: ComputeQM.C:126

Member Function Documentation

bool ComputeQMPntChrg::operator< ( const ComputeQMPntChrg ref)
inline

Definition at line 159 of file ComputeQM.C.

References id.

159  {
160  return (id < ref.id);
161  }
bool ComputeQMPntChrg::operator== ( const ComputeQMPntChrg ref)
inline

Definition at line 162 of file ComputeQM.C.

References id.

162  {
163  return (id == ref.id) ;
164  }

Member Data Documentation

float ComputeQMPntChrg::charge

Definition at line 127 of file ComputeQM.C.

Referenced by ComputeQMPntChrg(), and ComputeQMMgr::recvPartQM().

Real ComputeQMPntChrg::dist

Definition at line 131 of file ComputeQM.C.

Referenced by ComputeQMPntChrg(), and ComputeQMMgr::recvPartQM().

int ComputeQMPntChrg::homeIndx

Definition at line 130 of file ComputeQM.C.

Referenced by ComputeQMPntChrg(), and ComputeQMMgr::recvPartQM().

int ComputeQMPntChrg::id
Mass ComputeQMPntChrg::mass

Definition at line 132 of file ComputeQM.C.

Referenced by ComputeQMPntChrg(), and ComputeQMMgr::recvPartQM().

Position ComputeQMPntChrg::position

Definition at line 126 of file ComputeQM.C.

Referenced by ComputeQMPntChrg(), and ComputeQMMgr::recvPartQM().

Real ComputeQMPntChrg::qmGrpID

Definition at line 129 of file ComputeQM.C.

Referenced by ComputeQMPntChrg(), and ComputeQMMgr::recvPartQM().

int ComputeQMPntChrg::vdwType

Definition at line 133 of file ComputeQM.C.

Referenced by ComputeQMPntChrg(), and ComputeQMMgr::recvPartQM().


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