Gromacs
2018.1
|
#include <gromacs/selection/compiler.h>
Implements selection compilation.
This class is used to implement SelectionCollection::compile(). It prepares the selections in a selection collection for evaluation and performs some optimizations.
Public Member Functions | |
SelectionCompiler () | |
Creates a selection compiler. | |
void | compile (SelectionCollection *coll) |
Compiles the given selection collection. More... | |
void gmx::SelectionCompiler::compile | ( | SelectionCollection * | coll | ) |
Compiles the given selection collection.
[in,out] | coll | Selection collection to be compiled. |
Before compilation, the selection collection should have been initialized with gmx_ana_selcollection_parse_*(). The compiled selection collection can be passed to gmx_ana_selcollection_evaluate() to evaluate the selection for a frame. If an error occurs, sc
is cleared.
The covered fraction information in sc
is initialized to CFRAC_NONE.