diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-29 10:50:55 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-29 10:50:55 (GMT) |
commit | bb465175362766009433696506dab621c854bc78 (patch) | |
tree | 6cf6cbd1d58dde512671e8da87743b2bce450959 /src/lib/tng_io_fortran.c | |
parent | 04b40aa7c3cf21bad6dada99b2f8911efbfd1695 (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.c | 8 |
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, |