svn+ssh://bugman@.../svn/relax/trunk
........
r25971 | bugman | 2014-09-23 18:02:05 +0200 (Tue, 23 Sep 2014) | 8 lines
Created a special internal structural object selection object.
This will be used for massively speeding up the internal structural object. The use of the
lib.selection module by the internal structural object is currently very slow as a huge number of
calls to re.search() are required. The idea is to avoid this by using lib.selection once to
populate this new selection object, and then reusing this object to loop over molecules and atoms.
........
r25972 | bugman | 2014-09-23 18:05:23 +0200 (Tue, 23 Sep 2014) | 8 lines
Added the selection() method to the internal structural object.
This parses the atom ID string using the lib.selection module, loops over the molecules and atoms,
performs matches using re.search() via lib.selection, and populates and returns the new
Internal_selection object. This can be used to pre-process the atom ID string to save huge amounts
of time.
........
r25973 | bugman | 2014-09-23 18:12:45 +0200 (Tue, 23 Sep 2014) | 5 lines
The internal structural object validate_models() method now accepts the verbosity argument.
This is used to silence printouts.
........
r25974 | bugman | 2014-09-23 18:13:12 +0200 (Tue, 23 Sep 2014) | 3 lines
Missing import of the Internal_selection class.
........
r25975 | bugman | 2014-09-23 18:14:12 +0200 (Tue, 23 Sep 2014) | 3 lines
Indentation fix for the internal structural object validate_model() method.
........
r25976 | bugman | 2014-09-23 18:21:42 +0200 (Tue, 23 Sep 2014) | 5 lines
Fixes for the new structural object Internal_selection object.
The atom indices are not stored via the molecule index.
........
r25977 | bugman | 2014-09-23 18:43:56 +0200 (Tue, 23 Sep 2014) | 6 lines
Converted the rotate() and translate() structural object methods to use the new selection object.
The atom_id arguments have been replaced with selection arguments. Therefore all parts of relax
which call these methods must first call selection() to obtain the Internal_selection instance.
........
r25978 | bugman | 2014-09-23 18:55:47 +0200 (Tue, 23 Sep 2014) | 5 lines
Created the structural object Internal_selection.mol_loop() method.
This is to simply quickly loop over all molecule indices of the selection object.
........
r25979 | bugman | 2014-09-23 19:50:46 +0200 (Tue, 23 Sep 2014) | 8 lines
Converted all structural object methods to use the selection object rather that atom ID strings.
This should have a significant impact on the speed of certain operations within relax. The most
obvious effect will be a huge speed up of the interatom.define user function. There should be speed
ups with a number of other user functions relating to structural information. All parts of relax
have been updated for the change.
........