#include "largefiles.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include "InfoStream.h"
#include "Molecule.h"
#include "strlib.h"
#include "MStream.h"
#include "Communicate.h"
#include "ObjectArena.h"
#include "Parameters.h"
#include "PDB.h"
#include "SimParameters.h"
#include "Hydrogen.h"
#include "UniqueSetIter.h"
#include "parm.h"
#include "ReadAmberParm.h"
#include "ConfigList.h"
#include "charm++.h"
#include "ComputeGridForce.h"
#include "GridForceGrid.h"
#include "MGridforceParams.h"
#include "Debug.h"
#include "CompressPsf.h"
#include "ParallelIOMgr.h"
#include <deque>
#include <algorithm>
#include "NamdEventsProfiling.h"
Go to the source code of this file.
◆ GROMACS_EXCLUSIONS
#define GROMACS_EXCLUSIONS 1 |
◆ GROMACS_PAIR
◆ M_PI
#define M_PI 3.14159265358979323846 |
◆ MIN_DEBUG_LEVEL
#define MIN_DEBUG_LEVEL 3 |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 49 of file Molecule.C.
◆ getLCPOTypeAmber()
int getLCPOTypeAmber |
( |
char |
atomType[11], |
|
|
int |
numBonds |
|
) |
| |
|
inline |
Definition at line 2674 of file Molecule.C.
2677 if (atomType[0] ==
'H' || atomType[0] ==
'h') {
2681 }
else if (atomType[0] ==
'C' || atomType[0] ==
'c') {
2684 strcmp(atomType,
"CT" )==0 )
2692 else if (numBonds == 2)
2694 else if (numBonds == 3)
2696 else if (numBonds == 4)
2704 else if (numBonds == 3)
2711 }
else if (atomType[0] ==
'N' || atomType[0] ==
'n') {
2712 if ( strcmp(atomType,
"N3" ) == 0 ) {
2715 else if (numBonds == 2)
2717 else if (numBonds == 3)
2725 else if (numBonds == 2)
2727 else if (numBonds == 3)
2734 }
else if (atomType[0] ==
'O' || atomType[0] ==
'o') {
2736 if ( strcmp(atomType,
"O" )==0) {
2738 }
else if (strcmp(atomType,
"O2" )==0) {
2743 else if (numBonds == 2)
2750 }
else if (atomType[0] ==
'S' || atomType[0] ==
's') {
2751 if ( strcmp(atomType,
"SH" )==0) {
2758 }
else if (atomType[0] ==
'P' || atomType[0] ==
'p') {
2761 else if (numBonds == 4)
2765 }
else if (atomType[0] ==
'Z') {
2767 }
else if ( strcmp(atomType,
"MG" )==0) {
◆ getLCPOTypeCharmm()
int getLCPOTypeCharmm |
( |
char |
atomType[11], |
|
|
int |
numBonds |
|
) |
| |
|
inline |
Definition at line 2775 of file Molecule.C.
2778 if (atomType[0] ==
'H') {
2782 }
else if (atomType[0] ==
'C') {
2784 atomType[1] ==
'T' ||
2785 strcmp(atomType,
"CP1" )==0 ||
2786 strcmp(atomType,
"CP2" )==0 ||
2787 strcmp(atomType,
"CP3" )==0 ||
2788 strcmp(atomType,
"CS" )==0 ) {
2791 else if (numBonds == 2)
2793 else if (numBonds == 3)
2795 else if (numBonds == 4)
2801 strcmp(atomType,
"C" )==0 ||
2802 strcmp(atomType,
"CA" )==0 ||
2803 strcmp(atomType,
"CC" )==0 ||
2804 strcmp(atomType,
"CD" )==0 ||
2805 strcmp(atomType,
"CN" )==0 ||
2806 strcmp(atomType,
"CY" )==0 ||
2807 strcmp(atomType,
"C3" )==0 ||
2808 strcmp(atomType,
"CE1" )==0 ||
2809 strcmp(atomType,
"CE2" )==0 ||
2810 strcmp(atomType,
"CST" )==0 ||
2811 strcmp(atomType,
"CAP" )==0 ||
2812 strcmp(atomType,
"COA" )==0 ||
2813 strcmp(atomType,
"CPT" )==0 ||
2814 strcmp(atomType,
"CPH1")==0 ||
2815 strcmp(atomType,
"CPH2")==0
2819 else if (numBonds == 3)
2828 }
else if (atomType[0] ==
'N') {
2833 strcmp(atomType,
"NH3" )==0 ||
2836 strcmp(atomType,
"NP" )==0
2840 else if (numBonds == 2)
2842 else if (numBonds == 3)
2848 strcmp(atomType,
"NY" )==0 ||
2849 strcmp(atomType,
"NC2" )==0 ||
2850 strcmp(atomType,
"N" )==0 ||
2851 strcmp(atomType,
"NH1" )==0 ||
2852 strcmp(atomType,
"NH2" )==0 ||
2853 strcmp(atomType,
"NR1" )==0 ||
2854 strcmp(atomType,
"NR2" )==0 ||
2855 strcmp(atomType,
"NR3" )==0 ||
2856 strcmp(atomType,
"NPH" )==0 ||
2857 strcmp(atomType,
"NC" )==0
2861 else if (numBonds == 2)
2863 else if (numBonds == 3)
2872 }
else if (atomType[0] ==
'O') {
2874 strcmp(atomType,
"OH1" )==0 ||
2875 strcmp(atomType,
"OS" )==0 ||
2876 strcmp(atomType,
"OC" )==0 ||
2877 strcmp(atomType,
"OT" )==0
2881 else if (numBonds == 2)
2886 strcmp(atomType,
"O" )==0 ||
2887 strcmp(atomType,
"OB" )==0 ||
2888 strcmp(atomType,
"OST" )==0 ||
2889 strcmp(atomType,
"OCA" )==0 ||
2890 strcmp(atomType,
"OM" )==0
2894 strcmp(atomType,
"OC" )==0
2902 }
else if (atomType[0] ==
'S') {
2909 }
else if (atomType[0] ==
'P') {
2912 else if (numBonds == 4)
◆ sizeColumn()
int sizeColumn |
( |
const vector< int > & |
v1, |
|
|
const vector< int > & |
v2 |
|
) |
| |