#include "largefiles.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <filesystem>
#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 2686 of file Molecule.C.
2689 if (atomType[0] ==
'H' || atomType[0] ==
'h') {
2693 }
else if (atomType[0] ==
'C' || atomType[0] ==
'c') {
2696 strcmp(atomType,
"CT" )==0 )
2704 else if (numBonds == 2)
2706 else if (numBonds == 3)
2708 else if (numBonds == 4)
2716 else if (numBonds == 3)
2723 }
else if (atomType[0] ==
'N' || atomType[0] ==
'n') {
2724 if ( strcmp(atomType,
"N3" ) == 0 ) {
2727 else if (numBonds == 2)
2729 else if (numBonds == 3)
2737 else if (numBonds == 2)
2739 else if (numBonds == 3)
2746 }
else if (atomType[0] ==
'O' || atomType[0] ==
'o') {
2748 if ( strcmp(atomType,
"O" )==0) {
2750 }
else if (strcmp(atomType,
"O2" )==0) {
2755 else if (numBonds == 2)
2762 }
else if (atomType[0] ==
'S' || atomType[0] ==
's') {
2763 if ( strcmp(atomType,
"SH" )==0) {
2770 }
else if (atomType[0] ==
'P' || atomType[0] ==
'p') {
2773 else if (numBonds == 4)
2777 }
else if (atomType[0] ==
'Z') {
2779 }
else if ( strcmp(atomType,
"MG" )==0) {
◆ getLCPOTypeCharmm()
int getLCPOTypeCharmm |
( |
char |
atomType[11], |
|
|
int |
numBonds |
|
) |
| |
|
inline |
Definition at line 2787 of file Molecule.C.
2790 if (atomType[0] ==
'H') {
2794 }
else if (atomType[0] ==
'C') {
2796 atomType[1] ==
'T' ||
2797 strcmp(atomType,
"CP1" )==0 ||
2798 strcmp(atomType,
"CP2" )==0 ||
2799 strcmp(atomType,
"CP3" )==0 ||
2800 strcmp(atomType,
"CS" )==0 ) {
2803 else if (numBonds == 2)
2805 else if (numBonds == 3)
2807 else if (numBonds == 4)
2813 strcmp(atomType,
"C" )==0 ||
2814 strcmp(atomType,
"CA" )==0 ||
2815 strcmp(atomType,
"CC" )==0 ||
2816 strcmp(atomType,
"CD" )==0 ||
2817 strcmp(atomType,
"CN" )==0 ||
2818 strcmp(atomType,
"CY" )==0 ||
2819 strcmp(atomType,
"C3" )==0 ||
2820 strcmp(atomType,
"CE1" )==0 ||
2821 strcmp(atomType,
"CE2" )==0 ||
2822 strcmp(atomType,
"CST" )==0 ||
2823 strcmp(atomType,
"CAP" )==0 ||
2824 strcmp(atomType,
"COA" )==0 ||
2825 strcmp(atomType,
"CPT" )==0 ||
2826 strcmp(atomType,
"CPH1")==0 ||
2827 strcmp(atomType,
"CPH2")==0
2831 else if (numBonds == 3)
2840 }
else if (atomType[0] ==
'N') {
2845 strcmp(atomType,
"NH3" )==0 ||
2848 strcmp(atomType,
"NP" )==0
2852 else if (numBonds == 2)
2854 else if (numBonds == 3)
2860 strcmp(atomType,
"NY" )==0 ||
2861 strcmp(atomType,
"NC2" )==0 ||
2862 strcmp(atomType,
"N" )==0 ||
2863 strcmp(atomType,
"NH1" )==0 ||
2864 strcmp(atomType,
"NH2" )==0 ||
2865 strcmp(atomType,
"NR1" )==0 ||
2866 strcmp(atomType,
"NR2" )==0 ||
2867 strcmp(atomType,
"NR3" )==0 ||
2868 strcmp(atomType,
"NPH" )==0 ||
2869 strcmp(atomType,
"NC" )==0
2873 else if (numBonds == 2)
2875 else if (numBonds == 3)
2884 }
else if (atomType[0] ==
'O') {
2886 strcmp(atomType,
"OH1" )==0 ||
2887 strcmp(atomType,
"OS" )==0 ||
2888 strcmp(atomType,
"OC" )==0 ||
2889 strcmp(atomType,
"OT" )==0
2893 else if (numBonds == 2)
2898 strcmp(atomType,
"O" )==0 ||
2899 strcmp(atomType,
"OB" )==0 ||
2900 strcmp(atomType,
"OST" )==0 ||
2901 strcmp(atomType,
"OCA" )==0 ||
2902 strcmp(atomType,
"OM" )==0
2906 strcmp(atomType,
"OC" )==0
2914 }
else if (atomType[0] ==
'S') {
2921 }
else if (atomType[0] ==
'P') {
2924 else if (numBonds == 4)
◆ sizeColumn()
int sizeColumn |
( |
const vector< int > & |
v1, |
|
|
const vector< int > & |
v2 |
|
) |
| |