changed reading hint
[gromacs/adressmacs.git] / include / txtdump.h
blob156a6573e708bfe63176b2b67b4ea8d313bf6384
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 2.0
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * Please refer to:
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
23 * or e-mail to:
24 * gromacs@chem.rug.nl
26 * And Hey:
27 * Green Red Orange Magenta Azure Cyan Skyblue
30 #ifndef _txtdump_h
31 #define _txtdump_h
33 static char *SRCID_txtdump_h = "$Id$";
35 #ifdef HAVE_IDENT
36 #ident "@(#) txtdump.h 1.20 12/16/92"
37 #endif /* HAVE_IDENT */
39 #include <stdio.h>
40 #include "typedefs.h"
41 #include "tpxio.h"
43 #define LINE_WIDTH 80
44 #define RMARGIN 10
45 #define USE_WIDTH ((LINE_WIDTH)-(RMARGIN))
46 #define INDENT 3
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
72 * header text.
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 */