forked from peteboyd/tobascco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaults.ini
112 lines (108 loc) · 5.69 KB
/
defaults.ini
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Defaults
# flag for detecting symmetrically equivalent hydrogens in the MOFs
find_symmetric_h = False
# directory containing the symmetry finding algorithm
symmetry_dir = $SPGLIB_DIR/python/ase/build/lib.linux-x86_64-2.7
# symmetry precision in angstroms
symmetry_precision = 1.e-5
#sbu files to build the database with
# also doubles as the .mol files used to generate input files, if set to blank, then the pwd is used
sbu_files = $HOME/.sbus/all_non_pillared_met.dat $HOME/.sbus/all_organic.dat
# database files containing labelled quotient graphs
topology_files = $TOPCRYST_DIR/rcsr_0.6.0.arc
# set to True, and the program will create SBU input files and then exit, no structures will be tried
create_sbu_input_files = False
# file extension for the sbu input files
file_extension = mol
# request only specific topologies to be built (blank builds all in the db)
# doubles as the topology set for SBU input files
topologies =
# topologies to ignore. These will be removed from the topology queue, even if you
# specifically requested them in the 'topologies' directive
ignore_topologies =
# number of metal SBUs tried per structure (NB: set to 1, might break otherwise)
metal_sbu_per_structure = 1
# number of organic SBUs tried per structure
organic_sbu_per_structure = 1
# Request only the organic SBUs with indices be built. Comma or space delimited
organic_sbus =
# Request only the metal SBUs with indices be built. Comma or space delimited
metal_sbus =
# Request only the following combinations be tried, overrides organic_sbus and metal_sbus
# NOTE: currently only one metal is read as the first index, the rest organic.
# tuples must be in the order: (metal index, organic index, organic..)
# lists of tuples can be included. (1,2,3),(4,5,6) etc.
sbu_combinations =
# overlap tolerance is a scaling factor multiplied by the pairwise addition of
# Van der Waals radii of each atom. This value is used to test bonded atom
# distances as well. Currently set to 1 Angstrom * tol.
overlap_tolerance = 0.4
# set the maximum number of structures to build for a given combination of SBUs
max_structures = 1
# surface area calculation will compute the surface areas of all SBUs and report
# to a .csv file. This will be conducted before any structure generation.
calc_sbu_surface_area = False
# calc the max distance between each SBU's connect points and report to a .csv file.
calc_max_sbu_span = False
# assign the bond length between SBUs when fitting the net
sbu_bond_length = 1.5
# verbosity options, can be set here or on the command line. Command line will override these
# options
# the volume of the resulting unit cell must not be lower than x * the cell lengths
cell_vol_tolerance = 0.1
# request a visualisation of the barycentric embedding of the nets, then exit.
# this will ignore all SBU combinations and embedding attempts.
show_barycentric_net_only = False
# visualize the underlying embedded net of the constructed MOF. NB: this includes nodes
# assigned to SBU connect points, so it may look messy
show_embedded_net = False
# print out a .csv file with all the run information in it
get_run_info = False
# max edge length of net to use to build MOFs. There is a polynomial time cost related to
# building MOFs with N edges
max_edge_count = 1000
# min edge length of net to use to build MOFs. This can be kept at zero, but if more
# expensive nets are calculated, this can be used to ignore the smaller nets.
min_edge_count = 0
# store a reduced representation of the net, keeping only the vertices of the SBUs
# and not the connect points. Edges are between the SBU centre of masses
store_net = False
# global optimisation, which is run before the local. If left blank, no global optimisation
# will occur. NOTE: I have never experienced success with any of these global optimisers!
# options are: {direct, direct-l, crs2, mlsl, mlsl-lds, stogo, stogo-rand, isres, esch}
# note, the mlsl, and mlsl-lds options require a local optimiser, the one specified by
# local_optim_code will be used for this purpose.
global_optimiser =
# local optimisation function
# options are: {cobyla, bobyqa, praxis, nelder-mead, sbplx, mma, ccsa, slsqp, lbfgs, newton,
# newton-precond, netwon-precond-restart, newton-restart, var2, var1}
# NOTE: I have had the most success with lbfgs. However the algorithm requires a gradient based
# calculation to determine the proceeding steps. This is currently done with a finite difference
# method which is subject to round-off errors, and can sometimes produce poor net optimisations.
local_optimiser = lbfgs
# factor for function minimisation tolerance. This value will determine when the
# optimisation routine is converged based on the relative change of the input
# variables (namely the cell parameter and the cocycle lattice)
opt_parameter_tol = 1e-5
# factor for function minimisation tolerance. This is a relative change value,
# so the optimisation of the topology will be considered converged when the
# objective function change is below this value
opt_function_tol = 1e-10
# use builds of a net if they exist, i.e. it's embedded structure, and the SBU assignments.
# this makes it easy to just snap new SBUs with the same geometry to the appropriate
# nodes with the same bonding informtaion.
# WARNING: Will only work for SBUs with the same geometry and connectivity!!!!
use_builds = False
# save builds writes the builds as a pickle file after job termination.
# this can be opened when running topcryst again
save_builds = False
# file search for builds to load
build_files =
# third dimension only applies to 2D nets, this is the length of the c vector
# when the cif file is made
third_dimension = 10
# count the number of edges along each lattice direction
count_edges_along_lattice_dirs = False
verbose = False
quiet = False
silent = True