Analysis lib. can now analyze just a topology.
commit3c0347e0ec15071a658b227fa433fffce3b3e53d
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Mon, 26 Oct 2009 17:26:43 +0000 (26 18:26 +0100)
committerTeemu Murtola <teemu.murtola@cbr.su.se>
Mon, 26 Oct 2009 17:26:43 +0000 (26 18:26 +0100)
treef59a48fc1d9cff92e71309381a514aeeffcc9f10
parent05365cc3853aa87e08e9c061fa03de9c6561c5c0
Analysis lib. can now analyze just a topology.

The trajectory analysis library now handles the case when no trajectory
is given by preparing a frame from the coordinates in the topology and
calling the analysis callback once for this frame. The possibility to
analyze just the topology is useful at least for g_select for analyzing
static selections, and might be useful in other contexts.
src/gmxlib/trajana/trajana.c