File: defs.h

package info (click to toggle)
xmakemol 5.15-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,592 kB
  • ctags: 1,305
  • sloc: ansic: 18,178; sh: 2,794; makefile: 114; perl: 98
file content (38 lines) | stat: -rw-r--r-- 1,250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*

Copyright (C) 1998, 1999, 2001 Matthew P. Hodges
This file is part of XMakemol.

XMakemol is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

XMakemol is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with XMakemol; see the file COPYING.  If not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*/

#ifndef __DEFS_H__
#define __DEFS_H__

#define DEPTH (50)
#define BOND (1.12) /* 1.12 Bond fudge factor */
#define BOND2 (BOND*BOND)
#define HBOND (2.5)
#define MAX_ELEMENTS 150
#define PI (3.1415926536)
#define DEG2RAD (PI / 180.0)
#define Z_TOL (0.5)
/* The sum of the covalent radii is approximately the length of the
bond. This factor determines what proportion of the bond is initially
visible. A value of 0.5 is reasonable */
#define DEFAULT_AT_SCALE (0.5)

#endif /* __DEFS_H__ */