diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-26 12:50:44 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-26 12:50:44 (GMT) |
commit | c85ff9e8d3374ee6e11b5a49ce9f098a9856b7ef (patch) | |
tree | b1235b3173da7e85e1e52a375c16a22c745bf312 /include | |
parent | 062242b7c5360baa426e396b2be4c3cc1d58cd21 (diff) |
Modified tng_molecule_existing_add()
Diffstat (limited to 'include')
-rw-r--r-- | include/tng_io.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tng_io.h b/include/tng_io.h index 660ddfc..3c20240 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -1442,7 +1442,8 @@ tng_function_status DECLSPECDLLEXPORT tng_molecule_w_id_add /** * @brief Add an existing molecule (from a molecule container) to the trajectory. * @param tng_data is the trajectory data container containing the block.. - * @param molecule is the molecule to add to the trajectory. + * @param molecule is a pointer to the molecule to add to the trajectory and will + * afterwards point to the molecule in the trajectory. * @pre \code tng_data != 0 \endcode The trajectory container (tng_data) * must be initialised before using it. * @return TNG_SUCCESS (0) if successful or TNG_CRITICAL (2) if a major error @@ -1450,7 +1451,7 @@ tng_function_status DECLSPECDLLEXPORT tng_molecule_w_id_add */ tng_function_status DECLSPECDLLEXPORT tng_molecule_existing_add (tng_trajectory_t tng_data, - tng_molecule_t molecule); + tng_molecule_t *molecule); /** * @brief Set the name of a molecule. |