structures.h File Reference

#include "common.h"
#include <vector>

Go to the source code of this file.

Classes

struct  atom_name_info
struct  atom_constants
struct  bond
struct  angle
struct  dihedral
struct  improper
struct  crossterm
struct  gromacsPair
struct  drude_constants
struct  lphost
struct  aniso
struct  thole
class  Exclusion
class  TupleSignature
class  AtomSignature
struct  AtomNameIdx
struct  AtomCstInfo
struct  ExclusionSignature

Defines

#define UnknownAtom   0x00
#define HydrogenAtom   0x01
#define OxygenAtom   0x02
#define HBDonorAtom   0x04
#define HBAcceptorAtom   0x08
#define HBAntecedentAtom   0x10
#define HBHydrogenAtom   0x20
#define LonepairAtom   0x40
#define DrudeAtom   0x80
#define CMPSIGS(TUPLE)

Typedefs

typedef int Index
typedef atom_name_info AtomNameInfo
typedef atom_constants Atom
typedef bond Bond
typedef angle Angle
typedef dihedral Dihedral
typedef improper Improper
typedef crossterm Crossterm
typedef gromacsPair GromacsPair
typedef drude_constants DrudeConst
typedef lphost Lphost
typedef aniso Aniso
typedef thole Thole

Enumerations

enum  TupleSigType {
  BOND = 0, ANGLE, DIHEDRAL, IMPROPER,
  DONOR, ACCEPTOR, CROSSTERM, EXCLUSION
}

Functions

unsigned int circShift (unsigned int h, unsigned int by)


Define Documentation

#define CMPSIGS ( TUPLE   ) 

Value:

for(int i=0; i<sig.TUPLE##Cnt; i++){ \
            if(!(TUPLE##Sigs[i]==sig.TUPLE##Sigs[i])) return 0; \
        } \

Referenced by AtomSignature::operator==().

#define DrudeAtom   0x80

Definition at line 23 of file structures.h.

#define HBAcceptorAtom   0x08

Definition at line 19 of file structures.h.

#define HBAntecedentAtom   0x10

Definition at line 20 of file structures.h.

#define HBDonorAtom   0x04

Definition at line 18 of file structures.h.

#define HBHydrogenAtom   0x20

Definition at line 21 of file structures.h.

#define HydrogenAtom   0x01

Definition at line 16 of file structures.h.

#define LonepairAtom   0x40

Definition at line 22 of file structures.h.

#define OxygenAtom   0x02

Definition at line 17 of file structures.h.

#define UnknownAtom   0x00

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 15 of file structures.h.


Typedef Documentation

typedef struct angle Angle

typedef struct aniso Aniso

typedef struct atom_constants Atom

typedef struct atom_name_info AtomNameInfo

typedef struct bond Bond

typedef struct crossterm Crossterm

typedef struct dihedral Dihedral

typedef struct drude_constants DrudeConst

typedef struct gromacsPair GromacsPair

typedef struct improper Improper

typedef int Index

Definition at line 26 of file structures.h.

typedef struct lphost Lphost

typedef struct thole Thole


Enumeration Type Documentation

enum TupleSigType

Enumerator:
BOND 
ANGLE 
DIHEDRAL 
IMPROPER 
DONOR 
ACCEPTOR 
CROSSTERM 
EXCLUSION 

Definition at line 174 of file structures.h.


Function Documentation

unsigned int circShift ( unsigned int  h,
unsigned int  by 
) [inline]

Definition at line 176 of file structures.h.

Referenced by ExclusionSignature::hash(), TupleSignature::hash(), and ExclSigInfo::hash().

00176                                                                {
00177   const unsigned int intBits=8*sizeof(unsigned int);
00178   by%=intBits;
00179   return (h<<by)|(h>>(intBits-by));
00180 }


Generated on Thu Sep 21 01:17:16 2017 for NAMD by  doxygen 1.4.7