Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions

Description

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.
 

Function Documentation

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).