summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-11-26 12:50:44 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-11-26 12:50:44 (GMT)
commitc85ff9e8d3374ee6e11b5a49ce9f098a9856b7ef (patch)
treeb1235b3173da7e85e1e52a375c16a22c745bf312 /include
parent062242b7c5360baa426e396b2be4c3cc1d58cd21 (diff)
Modified tng_molecule_existing_add()
Diffstat (limited to 'include')
-rw-r--r--include/tng_io.h5
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.
contact: Jan Huwald // Impressum