/** Pointer to the last data structure. */
gmx_ana_poscalc_t *last;
/** Whether the collection has been initialized for evaluation. */
- bool bInit;
+ gmx_bool bInit;
};
/*! \internal \brief
gmx_ana_pos_t *p;
/** TRUE if the positions have been evaluated for the current frame. */
- bool bEval;
+ gmx_bool bEval;
/*! \brief
* Base position data for this calculation.
*
* be used with Gromacs command-line parsing.
*/
const char **
-gmx_ana_poscalc_create_type_enum(bool bAtom)
+gmx_ana_poscalc_create_type_enum(gmx_bool bAtom)
{
const char **pcenum;
size_t i;
* \p bBase affects on how the \p pc->gmax field is initialized.
*/
static void
-set_poscalc_maxindex(gmx_ana_poscalc_t *pc, gmx_ana_index_t *g, bool bBase)
+set_poscalc_maxindex(gmx_ana_poscalc_t *pc, gmx_ana_index_t *g, gmx_bool bBase)
{
gmx_ana_index_make_block(&pc->b, pc->coll->top, g, pc->itype, pc->flags & POS_COMPLWHOLE);
/* Set the type to POS_ATOM if the calculation in fact is such. */
* \returns TRUE if \p pc can use a base and gets some benefit out of it,
* FALSE otherwise.
*/
-static bool
+static gmx_bool
can_use_base(gmx_ana_poscalc_t *pc)
{
/* For atoms, it should be faster to do a simple copy, so don't use a
* \returns TRUE if the two calculations should be merged to use a common
* base, FALSE otherwise.
*/
-static bool
+static gmx_bool
should_merge(gmx_ana_poscalc_t *pc1, gmx_ana_poscalc_t *pc2,
gmx_ana_index_t *g1, gmx_ana_index_t *g)
{
* \returns TRUE if \p pc requires topology for initialization and/or
* evaluation, FALSE otherwise.
*/
-bool
+gmx_bool
gmx_ana_poscalc_requires_top(gmx_ana_poscalc_t *pc)
{
if ((pc->flags & POS_MASS) || pc->type == POS_RES || pc->type == POS_MOL)