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$";
36 #ident "@(#) txtdump.h 1.20 12/16/92"
37 #endif /* HAVE_IDENT */
45 #define USE_WIDTH ((LINE_WIDTH)-(RMARGIN))
48 extern char *atomname(t_atoms
*a
,int i
);
49 /* Return pointer to a buffer which holds the atomname in the
50 * form resname resnr atomname. Pointer can be freed afterwards.
52 extern void pr_shownumbers(bool bShow
);
53 extern int available(FILE *fp
,void *p
,char *title
);
54 extern int pr_indent(FILE *fp
,int n
);
55 extern int pr_title(FILE *fp
,int indent
,char *title
);
56 extern int pr_title_n(FILE *fp
,int indent
,char *title
,int n
);
57 extern int pr_title_nxn(FILE *fp
,int indent
,char *title
,int n1
,int n2
);
58 extern void pr_ivec(FILE *fp
,int indent
,char *title
,int vec
[],int n
);
59 extern void pr_ivecs(FILE *fp
,int indent
,char *title
,ivec vec
[],int n
);
60 extern void pr_rvec(FILE *fp
,int indent
,char *title
,real vec
[],int n
);
61 extern void pr_rvecs(FILE *fp
,int indent
,char *title
,rvec vec
[],int n
);
62 extern void pr_rvecs_len(FILE *fp
,int indent
,char *title
,rvec vec
[],int n
);
63 extern void pr_block(FILE *fp
,int indent
,char *title
,t_block
*block
);
64 extern void pr_iparams(FILE *fp
,t_functype ftype
,t_iparams
*iparams
);
65 extern void pr_idef(FILE *fp
,int indent
,char *title
,t_idef
*idef
);
66 extern void pr_inputrec(FILE *fp
,int indent
,char *title
,t_inputrec
*ir
);
67 extern void pr_top(FILE *fp
,int indent
,char *title
,t_topology
*top
);
69 * This routine prints out a (human) readable representation of
70 * the topology to the file fp. Ident specifies the number of
71 * spaces the text should be indented. Title is used to print a
74 extern void pr_header(FILE *fp
,int indent
,char *title
,t_tpxheader
*sh
);
76 * This routine prints out a (human) readable representation of
77 * a header to the file fp. Ident specifies the number of spaces
78 * the text should be indented. Title is used to print a header text.
83 #endif /* _txtdump_h */