Gromacs
5.1
|
Functions | |
void | computeMassesAndCharges (const t_topology *top, const gmx_ana_pos_t &pos, std::vector< real > *masses, std::vector< real > *charges) |
Helper function to compute total masses and charges for positions. More... | |
void gmx::internal::anonymous_namespace{selection.cpp}::computeMassesAndCharges | ( | const t_topology * | top, |
const gmx_ana_pos_t & | pos, | ||
std::vector< real > * | masses, | ||
std::vector< real > * | charges | ||
) |
Helper function to compute total masses and charges for positions.
[in] | top | Topology to take atom masses from. |
[in] | pos | Positions to compute masses and charges for. |
[out] | masses | Output masses. |
[out] | charges | Output charges. |
Does not throw if enough space has been reserved for the output vectors.