POP_AVE: Average CHARMM Data
POP_AVE computes the time and time-X-Y averages of electrostatic
energy of point charges as computed by CHARMM. The program is invoked
with the simple command:
pop_ave pop.dat
where "pop.dat" is the CHARMM file name.
The input CHARMM file has the form:
# TIME X Y Z ELECTR
2260.05 -12 -12 0 1.66338
2260.05 -12 -12 10 0.305138
2260.05 -12 -12 20 -2.39717
2260.05 -12 -12 30 -29.8926
2260.05 -12 0 0 1.77285
2260.05 -12 0 10 -3.14916
...
Call these columns T, X, Y, Z and V. Consider the data to be tabulated
values of V(T,X,Y,Z). The program computes the quantities
-
VT(X,Y,Z), the data averaged over T, and
-
VTXY(Z), the data averaged over T, and then X and Y.
Files you may copy include:
The list of routines includes:
-
POP_AVE computes the time and time-X-Y averages of certain CHARMM data.
-
C_CAP capitalizes a single character.
-
C_EQI is a case insensitive comparison of two characters for equality.
-
C_TO_DIGIT returns the integer value of a base 10 digit.
-
GET_UNIT returns a free FORTRAN unit number.
-
S_TO_I reads an integer value from a string.
-
S_TO_R reads a real number from a string.
-
V_READ reads the CHARMM data file.
-
V_WRITE writes the V(T,X,Y,Z) data to a file.
-
VT_SET computes VT(X,Y,Z), the time-averaged values of V(T,X,Y,Z).
-
VT_WRITE writes the VT(X,Y,Z) data to a file.
-
VTXY_SET computes VTXY(Z), the X,Y averaged values of VT(X,Y,Z).
-
VTXY_WRITE writes the VTXY(Z) data to a file.
-
WORD_NEXT_READ "reads" words from a string, one at a time.
Return to the biomedical software page.
Last revised on 13 March 2001.