#include <gromacs/coordinateio/outputadapters/setstarttime.h>
SetStartTime class allows changing trajectory time information.
This class allows the user to set custom start time information for the current frame in a trajectory.
gmx::SetStartTime::SetStartTime |
( |
real |
startTime | ) |
|
|
inlineexplicit |
Construct object with choice for how to change initial time.
- Parameters
-
[in] | startTime | User defined value for the initial time. |
void gmx::SetStartTime::checkAbilityDependencies |
( |
unsigned |
abilities | ) |
const |
|
inlineoverridevirtual |
Checks that the abilities of the output writer are sufficient for this adapter.
It can happen that a method to write coordinate files does not match with a requested operation on the input data (e.g. the user requires velocities or forces to be written to a PDB file). To check those dependencies, derived classes need to implement a version of this function to make sure that only matching methods can be used.
- Parameters
-
[in] | abilities | The abilities of an output method that need to be checked against the dependencies created by using the derived method. |
- Exceptions
-
Implements gmx::IOutputAdapter.
void gmx::SetStartTime::processFrame |
( |
int |
framenumber, |
|
|
t_trxframe * |
input |
|
) |
| |
|
overridevirtual |
Change t_trxframe according to user input.
- Parameters
-
[in] | framenumber | Frame number as reported from the trajectoryanalysis framework or set by user. |
[in,out] | input | Pointer to trajectory analysis frame that will be worked on. |
Implements gmx::IOutputAdapter.
The documentation for this class was generated from the following files: