Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

MolInst Class Reference

#include <GromacsTopFile.h>

List of all members.

Public Member Functions

 MolInst (const GenericMol *theMol, int theNum)
int getNum () const
int getNumAtoms () const
int getNumRes () const
int getNumBonds () const
int getNumAngles () const
int getNumDihedrals () const
const GenericMolgetMol () const


Constructor & Destructor Documentation

MolInst::MolInst const GenericMol theMol,
int  theNum
 

Definition at line 782 of file GromacsTopFile.C.

00782                                                      {
00783   mol = theMol;
00784   num = theNum;
00785 }


Member Function Documentation

const GenericMol* MolInst::getMol  )  const [inline]
 

Definition at line 193 of file GromacsTopFile.h.

Referenced by getNumAngles(), getNumAtoms(), getNumBonds(), getNumDihedrals(), and getNumRes().

00193 { return mol; }

int MolInst::getNum  )  const [inline]
 

Definition at line 183 of file GromacsTopFile.h.

Referenced by getNumAngles(), getNumAtoms(), getNumBonds(), getNumDihedrals(), and getNumRes().

00183 { return num; }

int MolInst::getNumAngles  )  const
 

Definition at line 794 of file GromacsTopFile.C.

References getMol(), getNum(), and GenericMol::getNumAngles().

00794                                 {
00795   return getMol()->getNumAngles() * getNum();
00796 }

int MolInst::getNumAtoms  )  const
 

Definition at line 788 of file GromacsTopFile.C.

References getMol(), getNum(), and GenericMol::getNumAtoms().

00788                                {
00789   return getMol()->getNumAtoms() * getNum();
00790 }

int MolInst::getNumBonds  )  const
 

Definition at line 791 of file GromacsTopFile.C.

References getMol(), getNum(), and GenericMol::getNumBonds().

00791                                {
00792   return getMol()->getNumBonds() * getNum();
00793 }

int MolInst::getNumDihedrals  )  const
 

Definition at line 797 of file GromacsTopFile.C.

References getMol(), getNum(), and GenericMol::getNumDihedrals().

00797                                    {
00798   return getMol()->getNumDihedrals() * getNum();
00799 }

int MolInst::getNumRes  )  const
 

Definition at line 800 of file GromacsTopFile.C.

References getMol(), getNum(), and GenericMol::getNumRes().

00800                              {
00801   return getMol()->getNumRes()
00802     * getNum();
00803 }


The documentation for this class was generated from the following files:
Generated on Tue Nov 24 04:07:50 2009 for NAMD by  doxygen 1.3.9.1