OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::CenterOfMass Class Reference
+ Inheritance diagram for OpenMD::CenterOfMass:

Public Member Functions

 CenterOfMass (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
 
virtual void doFrame (int frame)
 
virtual void writeSequence ()
 
- Public Member Functions inherited from OpenMD::SequentialAnalyzer
 SequentialAnalyzer (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
 
virtual void doSequence ()
 
void setOutputName (const std::string &filename)
 
const std::string & getOutputFileName () const
 
void setStep (int step)
 
int getStep ()
 
const std::string & getSequenceType () const
 
void setSequenceType (const std::string &type)
 
void setParameterString (const std::string &params)
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::SequentialAnalyzer
virtual void preSequence ()
 
virtual void postSequence ()
 
- Protected Attributes inherited from OpenMD::SequentialAnalyzer
SimInfoinfo_ {nullptr}
 
SnapshotcurrentSnapshot_
 
std::string dumpFilename_
 
SelectionManager seleMan1_
 
std::string selectionScript1_
 
SelectionEvaluator evaluator1_
 
SelectionManager seleMan2_
 
std::string selectionScript2_
 
SelectionEvaluator evaluator2_
 
int step_
 
std::string outputFilename_
 
int frame_
 
std::vector< RealType > times_
 
std::vector< RealType > values_
 
std::string sequenceType_
 
std::string paramString_
 

Detailed Description

Definition at line 53 of file CenterOfMass.hpp.

Constructor & Destructor Documentation

◆ CenterOfMass()

OpenMD::CenterOfMass::CenterOfMass ( SimInfo * info,
const std::string & filename,
const std::string & sele1,
const std::string & sele2 )

Definition at line 57 of file CenterOfMass.cpp.

Member Function Documentation

◆ doFrame()

void OpenMD::CenterOfMass::doFrame ( int frame)
virtual

Implements OpenMD::SequentialAnalyzer.

Definition at line 64 of file CenterOfMass.cpp.

◆ writeSequence()

void OpenMD::CenterOfMass::writeSequence ( )
virtual

Reimplemented from OpenMD::SequentialAnalyzer.

Definition at line 88 of file CenterOfMass.cpp.


The documentation for this class was generated from the following files: