summaryrefslogtreecommitdiff
path: root/src/lib/tng_io_fortran.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-29 10:50:55 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-10-29 10:50:55 (GMT)
commitbb465175362766009433696506dab621c854bc78 (patch)
tree6cf6cbd1d58dde512671e8da87743b2bce450959 /src/lib/tng_io_fortran.c
parent04b40aa7c3cf21bad6dada99b2f8911efbfd1695 (diff)
Added function to get residue ID of an atom.
Diffstat (limited to 'src/lib/tng_io_fortran.c')
-rw-r--r--src/lib/tng_io_fortran.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/tng_io_fortran.c b/src/lib/tng_io_fortran.c
index 22a6d61..5c7bbb7 100644
--- a/src/lib/tng_io_fortran.c
+++ b/src/lib/tng_io_fortran.c
@@ -650,6 +650,14 @@ tng_function_status DECLSPECDLLEXPORT tng_residue_name_of_particle_nr_get_
return(tng_residue_name_of_particle_nr_get(tng_data, nr, name, max_len));
}
+tng_function_status DECLSPECDLLEXPORT tng_residue_id_of_particle_nr_get_
+ (const tng_trajectory_t tng_data,
+ const int64_t nr,
+ int64_t *id)
+{
+ return(tng_residue_id_of_particle_nr_get(tng_data, nr, id));
+}
+
tng_function_status DECLSPECDLLEXPORT tng_atom_name_of_particle_nr_get_
(const tng_trajectory_t tng_data,
const int64_t nr,
contact: Jan Huwald // Impressum