
#include <Output.h>
Inheritance diagram for ProtoMol::Output:

Public Member Functions | |
| Output () | |
| Output (int freq) | |
| void | initialize (const Configuration *config, const Integrator *integrator, const GenericTopology *topo, const Vector3DBlock *pos, const Vector3DBlock *vel, const ScalarStructure *energies) |
| void | run (int step) |
| void | finalize (int step) |
| Output * | make (std::string &errMsg, const std::vector< Value > &values) const |
| virtual bool | isIdDefined (const Configuration *config) const |
| virtual bool | addDoKeyword () const |
| void | setCache (const OutputCache *cache) |
| int | getFirstStep () const |
| int | getLastStep () const |
| int | getOutputFreq () const |
| int | getNext () const |
| bool | first () const |
| virtual std::string | getScope () const |
Static Public Attributes | |
| const std::string | scope |
Protected Attributes | |
| int | myOutputFreq |
| const Configuration * | myConfig |
| const GenericTopology * | myTopology |
| const Integrator * | myIntegrator |
| const ScalarStructure * | myEnergies |
| const Vector3DBlock * | myPositions |
| const Vector3DBlock * | myVelocities |
| const OutputCache * | myCache |
Private Member Functions | |
| virtual void | doInitialize ()=0 |
| virtual void | doRun (int step)=0 |
| virtual void | doFinalize (int step)=0 |
| virtual Output * | doMake (std::string &errMsg, const std::vector< Value > &values) const=0 |
Private Attributes | |
| int | myFirstStep |
| int | myLastStep |
| int | myNextStep |
| bool | myFirst |
|
|
|
|
|
|
|
|
Defines if the output object supports do<getId()> to enable or disable the output. Reimplemented in ProtoMol::OutputScreen. |
|
|
Hook method of finalize, implemented in the concrete class.
Implemented in ProtoMol::OutputDCDTrajectory, ProtoMol::OutputDihedrals, ProtoMol::OutputFile, ProtoMol::OutputFinalPDBPos, ProtoMol::OutputFinalXYZBinPos, ProtoMol::OutputFinalXYZBinVel, ProtoMol::OutputFinalXYZPos, ProtoMol::OutputFinalXYZVel, ProtoMol::OutputPDBFramePos, ProtoMol::OutputScreen, ProtoMol::OutputXYZTrajectoryForce, ProtoMol::OutputXYZTrajectoryPos, ProtoMol::OutputXYZTrajectoryVel, ProtoMol::OutputFinalPSF, and ProtoMol::OutputFinalXSC. |
|
|
||||||||||||
|
|
Hook method of run, implemented in the concrete class.
Implemented in ProtoMol::OutputDCDTrajectory, ProtoMol::OutputFile, ProtoMol::OutputFinalPDBPos, ProtoMol::OutputFinalXYZBinPos, ProtoMol::OutputFinalXYZBinVel, ProtoMol::OutputFinalXYZPos, ProtoMol::OutputFinalXYZVel, ProtoMol::OutputPDBFramePos, ProtoMol::OutputScreen, ProtoMol::OutputXYZTrajectoryForce, ProtoMol::OutputXYZTrajectoryPos, ProtoMol::OutputXYZTrajectoryVel, ProtoMol::OutputFinalPSF, and ProtoMol::OutputFinalXSC. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements ProtoMol::Makeable. |
|
||||||||||||||||||||||||||||
|
To initialize the object, before the simulation starts.
|
|
|
Should return true if the concrete object is defined/specified in Configuration by the user. Normally if gedId() has a valid value in Configuration. Reimplemented in ProtoMol::OutputScreen. |
|
||||||||||||
|
Factory method to create a complete output object from its prototype.
|
|
|
|
|
|
Set the cache object, such that not each output object has to re-compute same values of interest. the cache object is shared among all output objects in OutputCollection. |
|
|
Pointer to the shared cache object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Output freqeuncy.
|
|
|
|
|
|
|
|
|
|
|
|
|