/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
/** Parameters for position keyword evaluation. */
static gmx_ana_selparam_t smparams_keyword_pos[] = {
- {NULL, {GROUP_VALUE, 1, {NULL}}, NULL, SPAR_DYNAMIC},
+ {nullptr, {GROUP_VALUE, 1, {nullptr}}, nullptr, SPAR_DYNAMIC},
};
/** Parameters for the \p cog and \p com selection methods. */
static gmx_ana_selparam_t smparams_com[] = {
- {"of", {GROUP_VALUE, 1, {NULL}}, NULL, SPAR_DYNAMIC},
- {"pbc", {NO_VALUE, 0, {NULL}}, NULL, 0},
+ {"of", {GROUP_VALUE, 1, {nullptr}}, nullptr, SPAR_DYNAMIC},
+ {"pbc", {NO_VALUE, 0, {nullptr}}, nullptr, 0},
};
/** Selection method data for position keyword evaluation. */
&init_kwpos,
&init_output_pos,
&free_data_pos,
- NULL,
+ nullptr,
&evaluate_pos,
- NULL,
- {NULL, NULL, 0, NULL},
+ nullptr,
+ {nullptr, nullptr, 0, nullptr},
};
/** Selection method data for the \p cog method. */
&init_cog,
&init_output_pos,
&free_data_pos,
- NULL,
+ nullptr,
&evaluate_pos,
- NULL,
- {"cog of ATOM_EXPR [pbc]", NULL, 0, NULL},
+ nullptr,
+ {"cog of ATOM_EXPR [pbc]", nullptr, 0, nullptr},
};
/** Selection method data for the \p com method. */
&init_com,
&init_output_pos,
&free_data_pos,
- NULL,
+ nullptr,
&evaluate_pos,
- NULL,
- {"com of ATOM_EXPR [pbc]", NULL, 0, NULL},
+ nullptr,
+ {"com of ATOM_EXPR [pbc]", nullptr, 0, nullptr},
};
/*!
{
param[1].val.u.b = &data->bPBC;
}
- data->pc = NULL;
+ data->pc = nullptr;
data->bPBC = false;
- data->type = NULL;
+ data->type = nullptr;
data->flags = -1;
return data;
}
}
t_methoddata_pos *d = static_cast<t_methoddata_pos *>(sel.u.expr.mdata);
- return d->type == NULL;
+ return d->type == nullptr;
}
/*! \brief