Big rework of selection compilation/evaluation.
commit8d1f4b0a61c8b51d55fddfd64142b5a1b477838b
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Wed, 19 May 2010 11:31:58 +0000 (19 13:31 +0200)
committerTeemu Murtola <teemu.murtola@cbr.su.se>
Wed, 19 May 2010 11:31:58 +0000 (19 13:31 +0200)
tree2701843ac7541ae38035a756aea5bd257f21a276
parentd21675fafdb054e0ae2078a9af850e80d280ca16
Big rework of selection compilation/evaluation.

Overhead from subexpression handling is now much smaller in most cases
and memory management for selection method parameters is done within the
selection engine for better control in cases where reallocation is
necessary or memory pooling might be useful.
Also fixed a bug introduced in commit 217a5f0 for complex
subexpressions.
18 files changed:
include/selmethod.h
src/gmxlib/selection/compiler.c
src/gmxlib/selection/evaluate.c
src/gmxlib/selection/evaluate.h
src/gmxlib/selection/mempool.c
src/gmxlib/selection/mempool.h
src/gmxlib/selection/params.c
src/gmxlib/selection/selelem.c
src/gmxlib/selection/selelem.h
src/gmxlib/selection/selmethod.c
src/gmxlib/selection/sm_compare.c
src/gmxlib/selection/sm_distance.c
src/gmxlib/selection/sm_insolidangle.c
src/gmxlib/selection/sm_keywords.c
src/gmxlib/selection/sm_merge.c
src/gmxlib/selection/sm_permute.c
src/gmxlib/selection/sm_position.c
src/gmxlib/selection/sm_same.c