*/
int
gmx_calc_comg(t_topology *top, rvec x[], int nrefat, atom_id index[],
- bool bMass, rvec xout)
+ gmx_bool bMass, rvec xout)
{
if (bMass)
{
*/
int
gmx_calc_comg_f(t_topology *top, rvec f[], int nrefat, atom_id index[],
- bool bMass, rvec fout)
+ gmx_bool bMass, rvec fout)
{
if (bMass)
{
int nrefat, atom_id index[], rvec xout)
{
const real tol = 1e-4;
- bool bChanged;
+ gmx_bool bChanged;
int m, j, ai, iter;
rvec dx, xtest;
int nrefat, atom_id index[], rvec xout)
{
const real tol = 1e-4;
- bool bChanged;
+ gmx_bool bChanged;
int m, j, ai, iter;
real mass, mtot;
rvec dx, xtest;
*/
int
gmx_calc_comg_pbc(t_topology *top, rvec x[], t_pbc *pbc,
- int nrefat, atom_id index[], bool bMass, rvec xout)
+ int nrefat, atom_id index[], gmx_bool bMass, rvec xout)
{
if (bMass)
{
*/
int
gmx_calc_comg_block(t_topology *top, rvec x[], t_block *block, atom_id index[],
- bool bMass, rvec xout[])
+ gmx_bool bMass, rvec xout[])
{
if (bMass)
{
*/
int
gmx_calc_comg_f_block(t_topology *top, rvec f[], t_block *block, atom_id index[],
- bool bMass, rvec fout[])
+ gmx_bool bMass, rvec fout[])
{
if (bMass)
{
*/
int
gmx_calc_comg_blocka(t_topology *top, rvec x[], t_blocka *block,
- bool bMass, rvec xout[])
+ gmx_bool bMass, rvec xout[])
{
/* TODO: It would probably be better to do this without the type cast */
return gmx_calc_comg_block(top, x, (t_block *)block, block->a, bMass, xout);
*/
int
gmx_calc_comg_f_blocka(t_topology *top, rvec f[], t_blocka *block,
- bool bMass, rvec fout[])
+ gmx_bool bMass, rvec fout[])
{
/* TODO: It would probably be better to do this without the type cast */
return gmx_calc_comg_f_block(top, f, (t_block *)block, block->a, bMass, fout);