OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::SelectionEvaluator Class Reference

"selection/SelectionEvaluator" More...

#include <SelectionEvaluator.hpp>

Public Member Functions

 SelectionEvaluator (SimInfo *info)
bool loadScriptString (const std::string &script)
bool loadScriptFile (const std::string &filename)
SelectionSet evaluate ()
SelectionSet evaluate (int frame)
bool isDynamic ()
 Tests if the result from evaluation of script is dynamic.
bool hadRuntimeError () const
std::string getErrorMessage () const
int getLinenumber ()
std::string getLine ()
bool hasSurfaceArea ()
RealType getSurfaceArea ()
bool hasVolume ()
RealType getVolume ()

Detailed Description

"selection/SelectionEvaluator"

Evalute the tokens compiled by SelectionCompiler and return a OpenMDBitSet

Definition at line 76 of file SelectionEvaluator.hpp.

Constructor & Destructor Documentation

◆ SelectionEvaluator()

OpenMD::SelectionEvaluator::SelectionEvaluator ( SimInfo * info)

Definition at line 66 of file SelectionEvaluator.cpp.

Member Function Documentation

◆ evaluate() [1/2]

SelectionSet OpenMD::SelectionEvaluator::evaluate ( )

Definition at line 879 of file SelectionEvaluator.cpp.

◆ evaluate() [2/2]

SelectionSet OpenMD::SelectionEvaluator::evaluate ( int frame)

Definition at line 888 of file SelectionEvaluator.cpp.

◆ getErrorMessage()

std::string OpenMD::SelectionEvaluator::getErrorMessage ( ) const
inline

Definition at line 93 of file SelectionEvaluator.hpp.

◆ getLine()

std::string OpenMD::SelectionEvaluator::getLine ( )
inline

Definition at line 97 of file SelectionEvaluator.hpp.

◆ getLinenumber()

int OpenMD::SelectionEvaluator::getLinenumber ( )
inline

Definition at line 95 of file SelectionEvaluator.hpp.

◆ getSurfaceArea()

RealType OpenMD::SelectionEvaluator::getSurfaceArea ( )
inline

Definition at line 107 of file SelectionEvaluator.hpp.

◆ getVolume()

RealType OpenMD::SelectionEvaluator::getVolume ( )
inline

Definition at line 120 of file SelectionEvaluator.hpp.

◆ hadRuntimeError()

bool OpenMD::SelectionEvaluator::hadRuntimeError ( ) const
inline

Definition at line 91 of file SelectionEvaluator.hpp.

◆ hasSurfaceArea()

bool OpenMD::SelectionEvaluator::hasSurfaceArea ( )
inline

Definition at line 106 of file SelectionEvaluator.hpp.

◆ hasVolume()

bool OpenMD::SelectionEvaluator::hasVolume ( )
inline

Definition at line 119 of file SelectionEvaluator.hpp.

◆ isDynamic()

bool OpenMD::SelectionEvaluator::isDynamic ( )
inline

Tests if the result from evaluation of script is dynamic.

Definition at line 89 of file SelectionEvaluator.hpp.

◆ loadScriptFile()

bool OpenMD::SelectionEvaluator::loadScriptFile ( const std::string & filename)

Definition at line 124 of file SelectionEvaluator.cpp.

◆ loadScriptString()

bool OpenMD::SelectionEvaluator::loadScriptString ( const std::string & script)

Definition at line 119 of file SelectionEvaluator.cpp.


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