File: global.C

package info (click to toggle)
ball 1.5.0%2Bgit20180813.37fc53c-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 239,888 kB
  • sloc: cpp: 326,149; ansic: 4,208; python: 2,303; yacc: 1,778; lex: 1,099; xml: 958; sh: 322; makefile: 95
file content (57 lines) | stat: -rw-r--r-- 1,382 bytes parent folder | download | duplicates (9)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: global.C,v 1.10 2002/02/27 12:20:31 sturm Exp $
#include "global.h"

FragmentDB*           frag_db = 0;
FDPB                  fdpb;
AssignChargeProcessor charges("charges/PARSE.crg");
AssignRadiusProcessor radii("radii/PARSE.siz");
ClearChargeProcessor	clear_charge_proc;

ChargeRuleProcessor   charge_rules;
RadiusRuleProcessor   radius_rules;

Options								options;
System								S;

String dump_file;

// default radius is 1.4 Angstrom (water)
float probe_radius = 1.4;

// flags:

// the main options
// true, if the solvent excluded surface is to be calculated
bool ses_calculation = false;

// true, if the solvent accessible surface is to be calculated
bool sas_calculation = false;

// true, if a FDPB calculation is to ber performed
bool fdpb_calculation = false;

// the results of the SES and SAS area calculations
float total_SAS_area = 0.0;
float total_SAS_volume = 0.0;
float total_SES_area = 0.0;
float total_SES_volume = 0.0;

// a hash map containing the atom surfaces of the SAS (if calculated)
HashMap<const Atom*, float> surface_map;


// further options

bool verbose = false;
bool clear_charges = false;
bool normalize_names = false;
bool build_bonds = false;
bool use_charge_rules = false;
bool use_radius_rules = false;
bool calculate_solvation_energy = false;
bool calculate_SES = false;