|
__init__(self,
cst,
trjfile,
orig_cfgfile,
groups,
volume=False,
pressure_tensor=False,
specific_heat=False)
Initialize |
|
|
|
getVolumeTimeSeries(self)
Return volume series |
|
|
|
getPressureTensorTimeSeries(self)
Return pressure tensor series |
|
|
|
|
float
|
|
float
|
|
|
getSpecificHeatType(self) |
|
|
|
getResultsForLastNPercent(self,
energy,
function)
Function that calculates the specific heat for the last N percent of
the trajectory. |
|
|
|
|
|
_processFrameEne(self)
In order to reduce the amount of memory holding all the energy groups
for every frame, we will process energies for each frame as we parse
the .ene file. |
|
|
(float, float )
|
_processFramePressureTensor(self,
line)
process lines that look like this: Pressure_Tensor(4.800000)
-1138.7 39.734 300.07 116.98 -1124.3 -120.67
259.95 -65.07 -963.18 |
|
|
|
|
(float, float)
|
_processFrameVolume(self,
line)
processes line that looks like this, extracts V, volume time=19.2
en=3.641e+04 E_p=-1.937e+02 E_k=7.039e+03 E_x=1.071e+02 P=5.999e+02
V=9.654+04 |
|
|
(float, float, float)
|
_processFrameSpecificHeat(self,
line)
parses the header of every timestep in the energy group file
time=19.2 en=3.641e+04 E_p=-1.937e+02 E_k=7.039e+03 E_x=1.071e+02
P=5.999e+02 V=9.654+04 we just want the timestep, potential and
kinetic energies |
|
|
|
_processFramePressure(self,
line) |
|
|
|
_parseOutput(self,
filename)
Parse output from vrun to retrieve energy. |
|
|
|
|
Inherited from EnergyGroupAnalysis :
getGroups
|