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

Public Member Functions

 QMAtomData ()
 
 QMAtomData (Position posInit, float chrgInit, int idInit, int bountToIndxInit, int newType, char *elementInit, Real newDist)
 

Public Attributes

Position position
 
float charge
 
int id
 
int bountToIndx
 
int type
 
char element [3]
 
Real dist
 

Detailed Description

Definition at line 295 of file ComputeQM.C.

Constructor & Destructor Documentation

QMAtomData::QMAtomData ( )
inline

Definition at line 303 of file ComputeQM.C.

303  : position(0), charge(0), id(-1), bountToIndx(-1),
304  type(-1), dist(0) {}
int bountToIndx
Definition: ComputeQM.C:299
float charge
Definition: ComputeQM.C:297
Real dist
Definition: ComputeQM.C:302
Position position
Definition: ComputeQM.C:296
QMAtomData::QMAtomData ( Position  posInit,
float  chrgInit,
int  idInit,
int  bountToIndxInit,
int  newType,
char *  elementInit,
Real  newDist 
)
inline

Definition at line 305 of file ComputeQM.C.

References bountToIndx, charge, dist, element, position, and type.

307  {
308  position = posInit;
309  charge = chrgInit;
310  id = idInit;
311  bountToIndx = bountToIndxInit;
312  type = newType;
313  strncpy(element,elementInit,3);
314  dist = newDist;
315  }
int bountToIndx
Definition: ComputeQM.C:299
float charge
Definition: ComputeQM.C:297
Real dist
Definition: ComputeQM.C:302
Position position
Definition: ComputeQM.C:296
char element[3]
Definition: ComputeQM.C:301

Member Data Documentation

int QMAtomData::bountToIndx
float QMAtomData::charge
Real QMAtomData::dist
char QMAtomData::element[3]

Definition at line 301 of file ComputeQM.C.

Referenced by ComputeQMMgr::calcMOPAC(), QMAtomData(), and ComputeQMMgr::recvPntChrg().

int QMAtomData::id
Position QMAtomData::position
int QMAtomData::type

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