Gromacs
2024.4
|
Provides function to open output files automatically (with some X11 programs).
Functions | |
void | do_view (const gmx_output_env_t *oenv, const char *fn, const char *opts) |
Executes an external (X11) command to view a file. More... | |
void | view_all (const gmx_output_env_t *oenv, int nf, t_filenm fnm[]) |
Calls do_view() for all viewable output files. | |
void do_view | ( | const gmx_output_env_t * | oenv, |
const char * | fn, | ||
const char * | opts | ||
) |
Executes an external (X11) command to view a file.
Currently eps, xpm, xvg and pdb are supported. Default programs are provided, can be overriden with environment vars (but note that if the caller provides program-specific opts
, setting the environment variable most likely breaks things).