ProtoMol - an object-oriented component based framework for Molecular Dynamics simulations.

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

ProtoMol::BankLennardJonesParameterTable Struct Reference

#include <BankLennardJonesParameterTable.h>

List of all members.

Public Member Functions

 BankLennardJonesParameterTable ()
void createTables (unsigned int numComp, unsigned int tableSize)
const LennardJonesParametersoperator() (int i, int j, int type1, int type2) const
void set (int i, int j, int type1, int type2, const LennardJonesParameters &paramsij)

Private Attributes

std::vector< LennardJonesParameterTablelennardJonesBank
unsigned int numTables
unsigned int numComps


Detailed Description

Keeps a bank of different LennardJonesParameterTable's, iSG


Constructor & Destructor Documentation

ProtoMol::BankLennardJonesParameterTable::BankLennardJonesParameterTable  )  [inline]
 


Member Function Documentation

void ProtoMol::BankLennardJonesParameterTable::createTables unsigned int  numComp,
unsigned int  tableSize
[inline]
 

function which creates the correct # of parameter tables

const LennardJonesParameters& ProtoMol::BankLennardJonesParameterTable::operator() int  i,
int  j,
int  type1,
int  type2
const [inline]
 

determine the proper index # into to the bank

void ProtoMol::BankLennardJonesParameterTable::set int  i,
int  j,
int  type1,
int  type2,
const LennardJonesParameters paramsij
[inline]
 

function that stores a set of LJ parameters for one pair of atoms


Member Data Documentation

std::vector<LennardJonesParameterTable> ProtoMol::BankLennardJonesParameterTable::lennardJonesBank [private]
 

The bank of necessary LJ parameter tables.

unsigned int ProtoMol::BankLennardJonesParameterTable::numComps [private]
 

unsigned int ProtoMol::BankLennardJonesParameterTable::numTables [private]
 


The documentation for this struct was generated from the following file: Last update: . GNU GENERAL PUBLIC LICENSE, copyrighted by the University of Notre Dame and the University of Bergen, Norway.