4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
27 * Green Red Orange Magenta Azure Cyan Skyblue
33 static char *SRCID_txtdump_h = "$Id$";
40 #ident "@(#) txtdump.h 1.20 12/16/92"
41 #endif /* HAVE_IDENT */
49 #define USE_WIDTH ((LINE_WIDTH)-(RMARGIN))
52 extern char *atomname(t_atoms *a,int i);
53 /* Return pointer to a buffer which holds the atomname in the
54 * form resname resnr atomname. Pointer can be freed afterwards.
56 extern void pr_shownumbers(bool bShow);
57 extern int available(FILE *fp,void *p,char *title);
58 extern int pr_indent(FILE *fp,int n);
59 extern int pr_title(FILE *fp,int indent,char *title);
60 extern int pr_title_n(FILE *fp,int indent,char *title,int n);
61 extern int pr_title_nxn(FILE *fp,int indent,char *title,int n1,int n2);
62 extern void pr_ivec(FILE *fp,int indent,char *title,int vec[],int n);
63 extern void pr_ivecs(FILE *fp,int indent,char *title,ivec vec[],int n);
64 extern void pr_rvec(FILE *fp,int indent,char *title,real vec[],int n);
65 extern void pr_rvecs(FILE *fp,int indent,char *title,rvec vec[],int n);
66 extern void pr_rvecs_len(FILE *fp,int indent,char *title,rvec vec[],int n);
67 extern void pr_block(FILE *fp,int indent,char *title,t_block *block);
68 extern void pr_iparams(FILE *fp,t_functype ftype,t_iparams *iparams);
69 extern void pr_idef(FILE *fp,int indent,char *title,t_idef *idef);
70 extern void pr_inputrec(FILE *fp,int indent,char *title,t_inputrec *ir);
71 extern void pr_top(FILE *fp,int indent,char *title,t_topology *top);
73 * This routine prints out a (human) readable representation of
74 * the topology to the file fp. Ident specifies the number of
75 * spaces the text should be indented. Title is used to print a
78 extern void pr_header(FILE *fp,int indent,char *title,t_tpxheader *sh);
80 * This routine prints out a (human) readable representation of
81 * a header to the file fp. Ident specifies the number of spaces
82 * the text should be indented. Title is used to print a header text.
87 #endif /* _txtdump_h */