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 126 of file ComputeQM.C.

Constructor & Destructor Documentation

◆ ComputeQMPntChrg() [1/3]

ComputeQMPntChrg::ComputeQMPntChrg ( )
inline

Definition at line 135 of file ComputeQM.C.

135  : position(0), charge(0), id(-1), qmGrpID(-1),
136  homeIndx(-1), dist(0), mass(0), vdwType(0) {}
Position position
Definition: ComputeQM.C:127

◆ ComputeQMPntChrg() [2/3]

ComputeQMPntChrg::ComputeQMPntChrg ( Position  posInit,
float  chrgInit,
int  idInit,
Real  qmInit,
int  hiInit,
Real  newDist,
Mass  newM,
int  newvdwType 
)
inline

Definition at line 137 of file ComputeQM.C.

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

139  {
140  position = posInit;
141  charge = chrgInit;
142  id = idInit;
143  qmGrpID = qmInit;
144  homeIndx = hiInit;
145  dist = newDist;
146  mass = newM;
147  vdwType = newvdwType;
148  }
Position position
Definition: ComputeQM.C:127

◆ ComputeQMPntChrg() [3/3]

ComputeQMPntChrg::ComputeQMPntChrg ( const ComputeQMPntChrg ref)
inline

Definition at line 149 of file ComputeQM.C.

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

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

Member Function Documentation

◆ operator<()

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

Definition at line 160 of file ComputeQM.C.

References id.

160  {
161  return (id < ref.id);
162  }

◆ operator==()

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

Definition at line 163 of file ComputeQM.C.

References id.

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

Member Data Documentation

◆ charge

float ComputeQMPntChrg::charge

Definition at line 128 of file ComputeQM.C.

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

◆ dist

Real ComputeQMPntChrg::dist

Definition at line 132 of file ComputeQM.C.

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

◆ homeIndx

int ComputeQMPntChrg::homeIndx

Definition at line 131 of file ComputeQM.C.

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

◆ id

int ComputeQMPntChrg::id

◆ mass

Mass ComputeQMPntChrg::mass

Definition at line 133 of file ComputeQM.C.

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

◆ position

Position ComputeQMPntChrg::position

Definition at line 127 of file ComputeQM.C.

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

◆ qmGrpID

Real ComputeQMPntChrg::qmGrpID

Definition at line 130 of file ComputeQM.C.

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

◆ vdwType

int ComputeQMPntChrg::vdwType

Definition at line 134 of file ComputeQM.C.

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


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